Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
Add dev to link in header
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyja committed Oct 27, 2018
1 parent 1d2a5b5 commit f8e6ce3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions source/shared/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<% link_to 'https://www.github.com/coreyja', class: 'Header-socialIcon', target: '_blank', rel: 'noopener' do %>
<%= image_tag 'github-mark.png' %>
<% end %>
<% link_to 'https://dev.to/coreyja', class: 'Header-socialIcon', target: '_blank', rel: 'noopener' do %>
<%= image_tag 'https://d2fltix0v2e0sb.cloudfront.net/dev-badge.svg' %>
<% end %>
</div>
</div>

Expand Down
13 changes: 10 additions & 3 deletions source/stylesheets/components/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,20 @@

&-socialIcons {
@include bigger-than-600 {
margin-left: auto;
margin-left: auto;
}
}

&-socialIcon {
display: inline-block;
max-width: 32px;
display: inline-block;
height: 32px;
margin: 0 3px;
width: 32px;

img {
max-height: 100%;
max-width: 100%;
}
}

&-coloredBars {
Expand Down

0 comments on commit f8e6ce3

Please sign in to comment.