Created
November 2, 2012 17:37
-
-
Save joshsmith/4002987 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - @artworks.each do |artwork| | |
| %li.to-masonify | |
| .burst | |
| = link_to artwork do | |
| .image | |
| = image_tag(artwork.image.url(:medium), :size => artwork.image.image_size(:medium)) | |
| .burst-actions | |
| .burst-like | |
| %a.btn.btn-small(href="#") | |
| %i.icon-heart | |
| Like | |
| .burst-comment | |
| %a.btn.btn-small(href="#") | |
| %i.icon-comment | |
| Comment | |
| %ul.icons | |
| %li | |
| %a(href="#") | |
| %i.icon-heart | |
| 43 | |
| %li | |
| %a(href="#") | |
| %i.icon-comment | |
| 12 | |
| %h2 | |
| = link_to artwork.user.username do | |
| = image_tag(artwork.user.avatar.url(:tiny), :size => artwork.user.avatar.image_size(:tiny)) | |
| = artwork.user.fullname | |
| %a.mini-follow.btn.btn-mini(href="#") Follow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - unless signed_in? | |
| .row | |
| .span12 | |
| #intro | |
| %p | |
| %strong Discover and share great art. | |
| Get early access to Artburst. | |
| %a#click-signup-artist.btn.btn-danger.btn-large(href="/signup?type=artist") | |
| %i.icon-white.icon-user | |
| I'm an artist | |
| %a#click-signup-lover.btn.btn-danger.btn-large(href="/signup") | |
| %i.icon-white.icon-heart | |
| I love art | |
| #bursts.artworks-index-bursts | |
| %ul.bursts | |
| = render "artworks", :artworks => @artworks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment