-
Notifications
You must be signed in to change notification settings - Fork 509
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
enhance(curriculum): add inline scrim design to custom element #11866
Conversation
Bundle StatsHey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
View detailed bundle breakdownAdded
Removed
Bigger No assets were bigger Smaller
Unchanged
|
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.
LGTM.
Summary
https://mozilla-hub.atlassian.net/browse/MP-1508
Merge before mdn/curriculum#73
On staging, e.g. https://developer.allizom.org/en-US/curriculum/getting-started/soft-skills/#1.5_succeeding_in_job_interviews
Problem
Our inline scrims should have custom cover images
Solution
Create these inline, to save bandwidth (~600kB image per scrim -> ~60kB of assets for all scrims)
Screenshots
After
How did you test this change?
yarn dev