Skip to content

Commit

Permalink
pull twitter stuff out of layout and into welcom
Browse files Browse the repository at this point in the history
  • Loading branch information
bostonaholic committed Apr 6, 2012
1 parent b26e97d commit 873309f
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 95 deletions.
21 changes: 1 addition & 20 deletions views/layout.haml
Expand Up @@ -19,23 +19,4 @@
%script{:rel => "javascript", :src => "/javascripts/site.js", :type => "text/javascript"}
%body
#image-bar
%img(src='http://upload.wikimedia.org/wikipedia/commons/f/fc/Columbus-ohio-skyline-panorama.jpg'
alt='Photo courtesy of http://en.wikipedia.org/wiki/File:Columbus-ohio-skyline-panorama.jpg')
#main
.container
= yield
#twitter
%img(src='/images/twitter-newbird-white.png')
.container
%h2
Latest Tweets from
%a(href="https://twitter.com/columbusclojure" target="_blank") @ColumbusClojure
#tweets
%script#tweetTemplate(type="text/template")
%span.time <%= time %> &mdash;
%br
<%= tweet %>
= yield
169 changes: 94 additions & 75 deletions views/welcome.haml
@@ -1,86 +1,105 @@
%h1
%a(href="/")
%img(src='/images/clojure-icon.gif')
Columbus Clojure User Group
#image-bar
%img(src='http://upload.wikimedia.org/wikipedia/commons/f/fc/Columbus-ohio-skyline-panorama.jpg'
alt='Photo courtesy of http://en.wikipedia.org/wiki/File:Columbus-ohio-skyline-panorama.jpg')

#banner
%a(href="#{@mailing_list}" target="_blank") Join the Mailing List
%a(href="https://twitter.com/columbusclojure" target="_blank") Follow us on Twitter
#main
.container
%h1
%a(href="/")
%img(src='/images/clojure-icon.gif')
Columbus Clojure User Group

.thirds
#where.third
%h2
%img(src='/images/stylistica-icons-set/24x24/map_pin.png')
Location
#banner
%a(href="#{@mailing_list}" target="_blank") Join the Mailing List
%a(href="https://twitter.com/columbusclojure" target="_blank") Follow us on Twitter

%section
%a(href="http://maps.google.com/maps?q=1266+Manning+Pkwy+Suite+B,+Powell,+OH+43065&hl=en&sll=40.140172,-83.041019&sspn=0.00803,0.008937&hnear=1266+Manning+Pkwy,+Powell,+Ohio+43065&t=m&z=17" target="_blank")
<p>EdgeCase Columbus<br/>
1266 Manning Pkwy, Suite B<br/>
Powell, OH 43065</p>
.thirds
#where.third
%h2
%img(src='/images/stylistica-icons-set/24x24/map_pin.png')
Location

#when.third
%h2
%img(src='/images/stylistica-icons-set/24x24/calendar.png')
Next Meeting
%section
%a(href="http://maps.google.com/maps?q=1266+Manning+Pkwy+Suite+B,+Powell,+OH+43065&hl=en&sll=40.140172,-83.041019&sspn=0.00803,0.008937&hnear=1266+Manning+Pkwy,+Powell,+Ohio+43065&t=m&z=17" target="_blank")
<p>EdgeCase Columbus<br/>
1266 Manning Pkwy, Suite B<br/>
Powell, OH 43065</p>

%section
%p= formatted_date(@next_meeting)
#when.third
%h2
%img(src='/images/stylistica-icons-set/24x24/calendar.png')
Next Meeting

#speakers.third
%h2
%img(src='/images/stylistica-icons-set/24x24/comments.png')
Speakers

%section
%ul
- @speakers.each do |sp|
%li
%strong
%a(href="#{sp['link']}")= sp["name"]
%br
= sp["talk"]
- @fotm.each do |sp|
%li
%strong
%a(href="#{sp['link']}")= sp["name"]
%br
%strong
Function of the Month

.thirds
#who.third
%h2
%img(src='/images/stylistica-icons-set/24x24/help.png')
Who We Are
%section
%p= formatted_date(@next_meeting)

%section
%p
We are an open group composed of both professionals <em>and</em> students enthusiastic about Clojure. Whether you're new Clojure or you've been hacking for years, we'd love to have you
<a href="#join" class="join-link">join us</a>.
#speakers.third
%h2
%img(src='/images/stylistica-icons-set/24x24/comments.png')
Speakers

#what.third
%h2
%img(src='/images/stylistica-icons-set/24x24/info.png')
What We Do
%section
%ul
- @speakers.each do |sp|
%li
%strong
%a(href="#{sp['link']}")= sp["name"]
%br
= sp["talk"]
- @fotm.each do |sp|
%li
%strong
%a(href="#{sp['link']}")= sp["name"]
%br
%strong
Function of the Month

.thirds
#who.third
%h2
%img(src='/images/stylistica-icons-set/24x24/help.png')
Who We Are

%section
%p
The purpose of this group is to provide a community of like-minded individuals where <em>anyone</em> can come and learn something. The format is usually several small lightning talks given by our members, followed by some hacking.
%p
Oh, and there's free food and drinks!
%section
%p
We are an open group composed of both professionals <em>and</em> students enthusiastic about Clojure. Whether you're new Clojure or you've been hacking for years, we'd love to have you
<a href="#join" class="join-link">join us</a>.

#join.third
#what.third
%h2
%img(src='/images/stylistica-icons-set/24x24/info.png')
What We Do

%section
%p
The purpose of this group is to provide a community of like-minded individuals where <em>anyone</em> can come and learn something. The format is usually several small lightning talks given by our members, followed by some hacking.
%p
Oh, and there's free food and drinks!

#join.third
%h2
%img(src='/images/stylistica-icons-set/24x24/link.png')
Join Us

%section
%p
Join our
%a(href="#{@mailing_list}" target="_blank") mailing list
and join in on all the fun.
%strong OR
just show up at our
<a href="#when" class="when-link">next meeting</a>.
Meetings are held the first Wednesday of every month.

#twitter
%img(src='/images/twitter-newbird-white.png')
.container
%h2
%img(src='/images/stylistica-icons-set/24x24/link.png')
Join Us

%section
%p
Join our
%a(href="#{@mailing_list}" target="_blank") mailing list
and join in on all the fun.
%strong OR
just show up at our
<a href="#when" class="when-link">next meeting</a>.
Meetings are held the first Wednesday of every month.
Latest Tweets from
%a(href="https://twitter.com/columbusclojure" target="_blank") @ColumbusClojure
#tweets

%script#tweetTemplate(type="text/template")
%span.time <%= time %> &mdash;
%br
<%= tweet %>

0 comments on commit 873309f

Please sign in to comment.