-
Notifications
You must be signed in to change notification settings - Fork 153
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
[FE/BE] - Mozfest Hero updates #7585
Conversation
Co-authored-by: boggs ⚓ <hello@boggs.xyz>
#7531 - BE Mozfest Hero Updates
This comment has been minimized.
This comment has been minimized.
* Current events slider styles * Install swiper and style event cards * video play on hover styling * Minor spacing * Mozfest homepage banner start * Homepage header, mobile styling and slideshow styling * Homepage banner cleanup and organization * Link mobile and background image sliders * Add loops for test hero content * Rebase on to BE branch * Thumbnail fixes for hosted cms video * carousel js cleanup * Integrate old video functionality back into branch * Make old functionality work * Change flag to featured again * Revert name to homepage banner handler * Remove carousel.scss * Add spacing back to tailwind config * Remove extra space from main.scss * Add animation for sliding progress bar * Make carousel clickable
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
@b-ggs The CMS videos are working for me now on all three browsers and I'm not getting errors! The existing two I uploaded work and I just tested uploading two more and they all work.
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.
just one small nit =P
<button class="btn btn-video-control btn-pause btn-secondary d-none"> | ||
<span>{% trans "PAUSE VIDEO" context "Pause button for video" %}</span> | ||
</button> | ||
<button class="btn btn-video-control btn-play btn-secondary d-none"> | ||
<span>{% trans "PLAY VIDEO" context "Play button for video" %}</span> | ||
</button> |
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.
A nit, but: can we make this a normal-cased phrase and instead force it to be presented as all caps with a CSS text-transform
?
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.
Gotcha, fixed in 32a90db!
…orm to transform them to uppercase
Hi @Pomax! I've made the changes to the button on the hardcoded hero. Would you mind checking this out whenever it's convenient? Thanks! |
I've also added some changes in 9e00969 basing off of your suggestions in #7457, specifically #7457 (comment) and #7457 (comment). |
This PR introduces visual differences. Click here to inspect the diffs. |
2 similar comments
This PR introduces visual differences. Click here to inspect the diffs. |
This PR introduces visual differences. Click here to inspect the diffs. |
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.
looks good to me =)
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.
Looks good to me! Great work, approving 👍
This PR introduces visual differences. Click here to inspect the diffs. |
Related PRs/issues #7432
Implementation Checklist
Of note
wagtailmedia
to0.8.0
to useVideoChooserBlock
Banner Carousel
has been populated with data. If there are noBanner Carousel
items, (e.g. when this is first deployed to production) the previous version of the hero will be displayed. See the relevant screenshot below.Screenshots
MozFest Homepage
Wagtail Admin editor showing the
Banner Carousel
andBanner Video
Banner Video
can use a video uploaded on Wagtail or an embedded external video (e.g. from YouTube or Vimeo)Original hero will still be displayed if
Banner Carousel
is emptyChecklist
Changes in Models: