Skip to content

Commit

Permalink
Templates: New linkedin logo and footer changes
Browse files Browse the repository at this point in the history
Had a go at resolving #1104 by doing simple find-and-replace, and
introducing a new LinkedIn logo. Used the "reversed white" variant to
match the other white logos we're using. Downloaded the logo from
fontawesome and manipulated it in inkscape to match the rough dimensions
of the other logos.

* https://brand.linkedin.com/content/brand/global/en_us/index/visual-identity/logo
* https://fontawesome.com/icons/linkedin?f=brands&s=solid

Unsure as to whether this will look ok as not sure what the CSS is doing
wrt to line height. Very happy for someone to come in and fix this if
it's borked.
  • Loading branch information
Matt Marshall authored and michaelwood committed Sep 18, 2024
1 parent 4f34fe2 commit 6a845cc
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/_static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ body.modal--shown {
margin-left: 24px; }
.footer__social .github-icon {
line-height: 3px; }
.footer__social .twitter-icon {
.footer__social .linkedin-icon {
line-height: 8px; }
.footer__small-print {
font-size: 0.75rem;
Expand Down Expand Up @@ -2606,4 +2606,4 @@ body.modal--shown {
margin-bottom: 0; }
.base-card--new .button:hover {
color: #153634;
border-color: #A7531D; }
border-color: #A7531D; }
40 changes: 40 additions & 0 deletions docs/_static/images/linkedin-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/_templates/_parts/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<p class="footer__tagline">{{ settings360.footer_tagline }}</p>
</div>
<div class="footer__column-1 footer__social">
<a href="https://www.linkedin.com/company/360giving/" class="linkedin-icon"><img src="{{ pathto('_static/images/linkedin-logo.svg', 1) }}" alt="Find us on LinkedIn"></a>
<a href="https://github.com/threesixtygiving/grantnav" class="github-icon"><img src="{{ pathto('_static/images/github-logo.svg', 1) }}" alt="Check our Github"></a>
<a href="https://twitter.com/360Giving/" class="twitter-icon"><img src="{{ pathto('_static/images/twitter-logo.svg', 1) }}" alt="Follow us on Twitter"></a>
</div>
</div>

Expand Down Expand Up @@ -62,4 +62,4 @@ <h3 class="footer__heading">360 Resources</h3>
</p>
</div>
</div>
</footer>
</footer>
2 changes: 1 addition & 1 deletion grantnav/frontend/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3434,7 +3434,7 @@ a.base-card:hover:before {
margin-left: 24px; }
.footer__social .github-icon {
line-height: 3px; }
.footer__social .twitter-icon {
.footer__social .linkedin-icon {
line-height: 8px; }
.footer__small-print {
font-size: 0.75rem;
Expand Down
40 changes: 40 additions & 0 deletions grantnav/frontend/static/images/linkedin-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion grantnav/frontend/templates/components/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<p class="footer__tagline">Open data for more effective grantmaking</p>
</div>
<div class="footer__column-1 footer__social">
<a href="https://www.linkedin.com/company/360giving/" class="linkedin-icon"><img src={% static "/images/linkedin-logo.svg" %} alt="Find us on LinkedIn"></a>
<a href="https://github.com/threesixtygiving/grantnav" class="github-icon"><img src={% static "/images/github-logo.svg" %} alt="Check our Github"></a>
<a href="https://twitter.com/360Giving/" class="twitter-icon"><img src={% static "/images/twitter-logo.svg" %} alt="Follow us on Twitter"></a>
</div>
</div>

Expand Down

0 comments on commit 6a845cc

Please sign in to comment.