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

Update footer newsletter text and signups (fixes #15585) #15703

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

maureenlholland
Copy link
Collaborator

@maureenlholland maureenlholland commented Dec 10, 2024

One-line summary

Update footer newsletter signup to include foundation newsletter as well

mozilla-and-you and mozilla-foundation

  • I used an AI to write some of this code.

Significant changes and points to review

Footer newsletter now has two newsletter sign up options

Couple of styling challenges that should be fixed now (and have hopefully not created new issues)

general spacing
Screenshot 2024-12-10 at 1 04 38 PM

large font
Screenshot 2024-12-10 at 1 09 21 PM

  • removed explicit grid rows in favour of auto row placement (more resilient with large font
  • updated p spacing

Issue / Bugzilla link

#15585

Testing

Go to http://localhost:8000/en-US/ and confirm the newsletter expands with 2 newletters checked: firefox & mozilla foundations
Screenshot 2024-12-10 at 1 32 38 PM

Uncheck both newsletters and confirm you cannot sign up without selecting at least one
Screenshot 2024-12-10 at 2 22 02 PM

Check newsletters and confirm you get thanks message and network tab shows request with expected newsletters
Screenshot 2024-12-10 at 1 32 22 PM

Screenshot 2024-12-10 at 2 12 38 PM

@maureenlholland maureenlholland force-pushed the update-footer-newsletters branch 4 times, most recently from c266e08 to 62f29b6 Compare December 10, 2024 18:56
Removes initial newsletter string, it cannot be used as a fallback
because the new newsletter sign-up includes more than just Firefox
content.
@maureenlholland maureenlholland force-pushed the update-footer-newsletters branch from 62f29b6 to 3a5da15 Compare December 10, 2024 19:06
@maureenlholland maureenlholland added Needs Review Awaiting code review Review: XS Code review time: up to 30min Frontend HTML, CSS, JS... client side stuff Refresh 🦖 Work related to the 2024 site refresh labels Dec 10, 2024
@maureenlholland maureenlholland marked this pull request as ready for review December 10, 2024 19:23
@maureenlholland maureenlholland requested a review from a team as a code owner December 10, 2024 19:23
@wen-2018 wen-2018 self-assigned this Dec 11, 2024
@wen-2018 wen-2018 removed the Needs Review Awaiting code review label Dec 11, 2024
@wen-2018
Copy link
Collaborator

wen-2018 commented Dec 11, 2024

r+ 🎉

@wen-2018 wen-2018 merged commit f47a17d into mozilla:main Dec 11, 2024
6 checks passed
@maureenlholland maureenlholland deleted the update-footer-newsletters branch December 11, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend HTML, CSS, JS... client side stuff Refresh 🦖 Work related to the 2024 site refresh Review: XS Code review time: up to 30min
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refresh: newsletter for new footer should sign users up for two newsletters.
2 participants