-
Notifications
You must be signed in to change notification settings - Fork 952
WT-334 - Build CMS Components For Advertising Pages - Part 1 #16813
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
base: main
Are you sure you want to change the base?
Conversation
…dark-section css files
…ol, and m24 sizing.
…o mozorg/advertising/landing.html
…zilla/bedrock into WT-334-cms-components-for-advertising
stevejalim
left a comment
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.
Light review. r+wc
Biggest concern is the /contact/ view which I think should be removed - see comments
bedrock/mozorg/blocks/advertising.py
Outdated
| ("linkedin", "LinkedIn"), | ||
| ("tiktok", "TikTok"), | ||
| ("spotify", "Spotify"), | ||
| ("twitter", "Twitter"), |
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 thought we weren't using Twitter for comms anymore - eg it's no longer in the Mozilla.org footer.
But if we are supporting linkss to it, it should be phrased as X not Twitter
If this changeset needs to go into the FXC codebase, please add the
WMO and FXClabel.This pull request includes the work from on #16810, which should be reviewed first
One-line summary
This pull request makes the advertising index/landing page editable through Wagtail.
Significant changes and points to review
This pull request turns the advertising page into a Wagtail-managed
AdvertisingIndexPagepage with the following components, defined inbedrock/mozorg/blocks/advertising.py:advertising_hero_blocksection_header_blockfigure_with_statistic_blockfeature_list_blockAlso, a new snippet (
ContactBannerSnippet) is available, and added to theAdvertisingIndexPage.Issue / Bugzilla link
WT-334
Testing
To test locally, go to Wagtail and create an "Advertising index page" page in the page tree. Try to make the content identical to http://localhost:8000/en-US/advertising/.