-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html.erb
62 lines (61 loc) · 2.76 KB
/
index.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<section class="intro u-push__top--lg">
<p>
<strong>We are Cincinnati Ruby Brigade.</strong>
A group of local developers who get together to talk Ruby, share code, and meet new people.
And outcome of the desire for a space to collaborate and grow the Ruby community in Cincinnati,
Cincy.rb has become a thriving community that is as vibrant and creative as the Ruby language itself.
</p>
<p>
We currently meet on the third Thursday of every month to discuss and mob-program on Ruby code.
Less slides, more code!
</p>
<p><%= link_to "Here's", this_month_in_ruby_path %> what's new in Ruby this month.</p>
</section>
<section class="u-push__top">
<div class="u-flex event-header">
<i class="material-icons u-icon">events</i>
<h3>Upcoming Meetups</h3>
</div>
<div class="events">
<%= render 'next_meeting' %>
<%- @upcoming_meetings.each do |meeting| %>
<article class="event">
<div class="event__date">
<%= Time.at(meeting['time']/1000).in_time_zone('America/New_York').strftime('%b %-d') %>
</div>
<div class="event__time">
<%= Time.at(meeting['time']/1000).in_time_zone('America/New_York').strftime('%l:%M %P') %>
</div>
</article>
<%- end %>
<article class="event">
<%= link_to("View Past Events", past_events_path) %>
</article>
</div>
</section>
<section class="offset-col u-pad__top--xl">
<article class="offset-col__left">
<h2>Stay in the loop</h2>
<p>Follow along and join the conversation to get plugged-in and stay connected!</p>
<div class="u-push__bottom">
<%= link_to("Twitter", 'https://twitter.com/cincinnatirb', target: "_blank", class: "button")%>
<%= link_to("Discord", 'https://discord.gg/dBjVX9mNB4', target: "_blank", class: "button") %>
</div>
<a class="twitter-timeline" data-height="600" data-theme="light" href="https://twitter.com/cincinnatirb?ref_src=twsrc%5Etfw">Tweets by cincinnatirb</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</article>
<article class="offset-col__right">
<h2>Contact Us</h2>
<p>Have a topic idea? Want to present at a Cincy.rb meeting? Have a suggestion? Send us a comment here.</p>
<p class='flash flash_notice'></p>
<%= form_for Contact.new, url: "/contact_us", :remote => true do |f| %>
<div class="new_contact">
<%= f.text_field :name, :placeholder => "Name" %>
<%= f.text_field :email, :placeholder => "EmailAddress" %>
<%= f.text_field :subject, :placeholder => "Subject" %>
<%= f.text_area :message, :placeholder => "Message", :rows => 5, :class => "message" %>
<input class="button u-push__top--sm" type="submit" value="Submit">
</div>
<% end %>
</article>
</section>