-
Notifications
You must be signed in to change notification settings - Fork 973
Homepage updates #16861
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
Merged
Merged
Homepage updates #16861
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
908cf04
data collective section
wen-2018 33778ae
footer change
wen-2018 11ee38f
issues section
wen-2018 5616673
fox section
wen-2018 7d2ee08
AI gallery
wen-2018 7d4c1a3
AI gallery images
wen-2018 5b5318a
spring board section
wen-2018 8017abf
ftl string clean up
wen-2018 be4b5e9
update image dimension
wen-2018 a83e408
icon updates
wen-2018 3f2ab10
update CTA links
wen-2018 0fc0184
springboard ftl string clean up
wen-2018 1f346c9
add fallbacks for AI gallery
wen-2018 fb4e103
display gallery tile when content available
wen-2018 8ddcf91
address review feedback
wen-2018 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
300 changes: 174 additions & 126 deletions
300
bedrock/mozorg/templates/mozorg/home/includes/m24/ai-gallery.html
Large diffs are not rendered by default.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
bedrock/mozorg/templates/mozorg/home/includes/m24/data-collective.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| {# | ||
| This Source Code Form is subject to the terms of the Mozilla Public | ||
| License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
| #} | ||
|
|
||
| <div class="m24-t-gray" id="data-collective"> | ||
| <div class="m24-c-donate"> | ||
| <h2 class="m24-c-donate-title">{{ ftl('m24-home-mozilla-data-collective') }}</h2> | ||
| <div class="m24-c-donate-info"> | ||
| <p>{{ ftl('m24-home-mozilla-create-curate-control') }}</p> | ||
| <p>{{ ftl('m24-home-mozilla-data-collective-is') }}</p> | ||
| <p><a href="https://datacollective.mozillafoundation.org/{{ utm_params }}" class="m24-c-cta" data-cta-text="Join Mozilla Data Collective">{{ ftl('m24-home-join-mozilla-data') }}</a></p> | ||
| </div> | ||
| <div class="m24-c-donate-media"> | ||
| {{ resp_img( | ||
| url='img/home/2024/collective-1450.png', | ||
| srcset={ | ||
| "img/home/2024/collective-375.png": "375w", | ||
| "img/home/2024/collective-573.png": "573w", | ||
| "img/home/2024/collective-720.png": "720w", | ||
| "img/home/2024/collective-976.png": "976w", | ||
| "img/home/2024/collective-1128.png": "1128w", | ||
| "img/home/2024/collective-1232.png": "1232w", | ||
| "img/home/2024/collective-1450.png": "1450w", | ||
| }, | ||
| sizes={ | ||
| "(min-width: 768px)": "calc((100vw - 32px) / 2)", | ||
| "(min-width: 1311px)": "calc((100vw - 64px) / 2)", | ||
| "(min-width: 1440px)": "680px", | ||
| "default": "calc(100vw - 32px)", | ||
| }, | ||
| optional_attributes={ | ||
| 'width': '1450', | ||
| 'height': '725', | ||
| } | ||
| ) }} | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| <div class="m24-c-transition m24-t-top-gray m24-t-bottom-pink"><hr></div> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.