.hero-unit
  %h1= rubyfriends_app.subtitle
  = link_to "Learn more", about_path, id: 'learn-more'
  -# TODO - add facebook like button
  .bird
    %p
      Share your friendships with the hashtag
      = link_to "#RubyFriends", twitter_url
  %span.shared-smiles-count
    #{rubyfriends_app.tweets_count} friendships so far!

= paginate(paginated_tweets)

%ul#smiles-list
  - paginated_tweets.each do |tweet|
    %li{class: cycle('one', 'two', 'three', 'four')}
      %a.ajax_overlay{href: tweet_path(tweet)}
        = image_tag(tweet.image_url(:thumb).to_s)
      .text
        %p= tweet.tweet_text
        %small
          = link_to "@#{tweet.username}", twitter_url(tweet.username)
          at #{tweet.published_at.strftime('%b, %d %Y')}
          = link_to "link", twitter_url("#{tweet.username}/status/#{tweet.tweet_id}")

= paginate(paginated_tweets)

= ajax_overlay

.hero-unit
  %h1= rubyfriends_app.subtitle
  = link_to "Learn more", about_path, id: 'learn-more'
  -# TODO - add facebook like button
  .bird
    %p
      Share your friendships with the hashtag
      = link_to "#RubyFriends", twitter_url
  %span.shared-smiles-count
    #{rubyfriends_app.tweets_count} friendships so far!

%ul#smiles-list
  - paginated_tweets.each do |tweet|
    %li{class: cycle('one', 'two', 'three', 'four')}
      %a.ajax_overlay{href: tweet_path(tweet)}
        = image_tag(tweet.image_url(:thumb).to_s)
      .text
        %p= tweet.tweet_text
        %small
          = link_to "@#{tweet.username}", twitter_url(tweet.username)
          at #{tweet.published_at.strftime('%b, %d %Y')}
          = link_to "link", twitter_url("#{tweet.username}/status/#{tweet.tweet_id}")

= paginate(paginated_tweets)

= ajax_overlay

Remove pagination from top of page
Remove pagination from top of page
