Skip to content

Instantly share code, notes, and snippets.

@mariusz
Created January 26, 2014 22:01
Show Gist options
  • Save mariusz/8640021 to your computer and use it in GitHub Desktop.
Save mariusz/8640021 to your computer and use it in GitHub Desktop.
= partial "partials/team_member", :locals => { :avatar_url => "...", :nickname => "...", :name => "...", :twitter_id => "...", :github_id => "...", :description => "..." }
.c-team-member
.c-team-member-photo
= image_tag locals[:avatar_url]
.c-team-member-links
= link_to image_tag("icon-twitter.svg", :class => "l-twitter"), "http://twitter.com/#{locals[:twitter_id]}", :target => "_blank"
= link_to image_tag("icon-github.svg", :class => "l-github"), "http://github.com/#{locals[:github_id]}", :target => "_blank"
.c-team-member-info
.c-team-member-name
%h3= locals[:nickname]
%h4= locals[:name]
.c-team-member-description= locals[:description]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment