Skip to content

Commit

Permalink
Add Github Logo to Footer Resolves (usgo#252).
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhiiva committed Jun 29, 2021
1 parent 015f396 commit ca5d6c9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions app/assets/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,13 @@ fieldset.wordy-questions .aligned-with-input {
basis: auto;
}
}

.github {
display: flex;
padding: 0 ($spacing-unit / 2);
align-items: center;
justify-content: center;
}
}

input[type="submit"],
Expand Down
2 changes: 2 additions & 0 deletions app/views/layouts/_footer.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
All times are #{Time.zone}
%br
Content © #{@year.year} U.S. Go Congress
.github
%a{:href => "https://github.com/usgo/gocongress/"}= image_tag "logo/social/GitHub-Mark-32px.png"
.sponsors
- @year.sponsors.each do |name,url|
%a{:href => url}= image_tag "sponsors/#{name}.jpg"

0 comments on commit ca5d6c9

Please sign in to comment.