-
Notifications
You must be signed in to change notification settings - Fork 154
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
Updated footer on PNI and maintenance page #3023
Conversation
@@ -7375,8 +7375,11 @@ a.text-gray-dark:focus, a.text-gray-dark:hover { | |||
display: inline-block; | |||
width: 20px; | |||
height: 20px; | |||
margin-right: 10px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I replaced code in this file with what's in https://foundation.mozilla.org/_css/main.compiled.css
& updated a few image urls to make sure these images show up on maintenance page.
😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintenance page bits look fine to me!
…m/mozilla/foundation.mozilla.org into issue-3006-footer-PNI-maintenance
@Pomax PR updated again! |
@@ -194,6 +223,31 @@ let main = { | |||
injectDonateModal(donationModal, modalOptions); | |||
} | |||
*/ | |||
|
|||
if (document.querySelectorAll(`.join-us`)) { | |||
var elements = Array.from(document.querySelectorAll(`.join-us`)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It turns out that querySelectorAll
returns a static NodeList, so we don't need the Array.from
anymore. We might want to file a separate issue to clean up Array.from
everywhere, though, and add one here even though it's new code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really wanna get this PR merged so let's tackle ^ as a follow-up: #3109
Closes #3006