Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 Footer rework #4512

Merged
merged 9 commits into from
Feb 5, 2025
Merged

🎉 Footer rework #4512

merged 9 commits into from
Feb 5, 2025

Conversation

ikesau
Copy link
Member

@ikesau ikesau commented Jan 31, 2025

Resolves #4430

Changes

  • Updates affiliate logos (Oxford Martin School, Oxford University, GCDL, Y Combinator) to SVG
  • Separates OMS from Oxford University in site nav (approved by Este)
  • Rewrites site footer to conform to new Figma design
  • Deletes .owid-layout CSS utils that were only being used in the old footer
site.footer.rework.mp4

@ikesau ikesau requested a review from rakyi January 31, 2025 20:45
@ikesau ikesau self-assigned this Jan 31, 2025
@@ -33,14 +33,9 @@
opacity: initial;
}
}
.oxford-logo img {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The viewboxes in the SVGs are set such that the borders in each graphic will all be flush when the SVG elements are the same height.

@@ -1,131 +1,183 @@
.site-footer {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rewrote this from scratch so if you want to check this out I would just look at the new file without the diff.

@owidbot
Copy link
Contributor

owidbot commented Jan 31, 2025

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-footer-rework

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2025-02-05 18:02:46 UTC
Execution time: 1.29 seconds

Copy link
Contributor

@rakyi rakyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! The code is more readable, and we got rid of unnecessary styles!

Not really a blocker, and I know this is more of a question for Marwa, but maybe you have talked about it already. We have three kinds of links in the footer:

  1. Bright white, no hover effect (in the leftmost paragraph)
  2. Bright white, gray on hover
  3. Grey, bright white on hover

This makes it a bit confusing to see what is a link and what is not. Could we make it a bit more consistent? Maybe remove the special case with 1. and make it behave as 2.? And/or add underline on hover to all bright white links instead of making them gray?

Even better, I'd like to see only a single style for links in the footer, but I'm afraid that's not Marwa's vision.

@ikesau
Copy link
Member Author

ikesau commented Feb 3, 2025

Oops, 1. was a mistake. Fixed now.

Will send the staging link to Marwa for design sign off and then merge 👍

Copy link

socket-security bot commented Feb 5, 2025

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@owid owid deleted a comment from socket-security bot Feb 5, 2025
Copy link

socket-security bot commented Feb 5, 2025

@ikesau ikesau merged commit 4ac3177 into master Feb 5, 2025
25 checks passed
@ikesau ikesau deleted the footer-rework branch February 5, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cycle 2025.1: footer updates
4 participants