-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Refresh: Add springboard component (Fix #15305) - add springboard component - use springboard component for links to media about AI - update launchpad component to use same technique for the partial top/bottom borders - add and use variables for transition easing and speed
- Loading branch information
1 parent
696d846
commit e775d32
Showing
24 changed files
with
406 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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 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 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
135 changes: 135 additions & 0 deletions
135
bedrock/mozorg/templates/mozorg/home/includes/m24/media-springboard.html
This file contains 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,135 @@ | ||
{# | ||
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/. | ||
#} | ||
|
||
{% from "macros-m24.html" import grid_tile, springboard_item with context %} | ||
|
||
<section class="m24-c-content m24-t-transition-01 m24-t-transition-next" id="media"> | ||
<h3 class="m24-c-intro-title m24-t-lg">You, AI and the internet — what’s really going on?</h3> | ||
<ul class="m24-c-springboard" id="ai-media"> | ||
<li class="m24-c-springboard-item m24-c-springboard-headings"> | ||
<div class="m24-c-springboard-link"> | ||
<div class="m24-c-springboard-thumb"> | ||
</div> | ||
<div class="m24-c-springboard-type">Type</div> | ||
<div class="m24-c-springboard-author">Author</div> | ||
<div class="m24-c-springboard-topic">Topic</div> | ||
<div class="m24-c-springboard-preview">Intro</div> | ||
</a> | ||
</li> | ||
{{ springboard_item( | ||
link_url='https://blog.mozilla.org/en/mozilla/mozilla-anonym-raising-the-bar-for-privacy-preserving-digital-advertising/', | ||
type='Article', | ||
type_icon='article', | ||
topic='Artificial Intelligence', | ||
author='Laura Chambers', | ||
preview='Introducing Anonym: Raising the bar for privacy-preserving digital advertising.', | ||
image=resp_img( | ||
url="img/home/2024/media/chambers.jpg", | ||
optional_attributes={ | ||
"loading": "lazy", | ||
"alt": "", | ||
"height": "32", | ||
"width": "32" | ||
}) | ||
) }} | ||
{{ springboard_item( | ||
link_url='https://blog.mozilla.org/en/mozilla/keeping-genai-technologies-secure-is-a-shared-responsibility/', | ||
type='Article', | ||
type_icon='article', | ||
topic='Privacy & Security', | ||
author='Saoud Khalifah', | ||
preview='Keeping GenAI technologies secure is a shared responsibility.', | ||
image=resp_img( | ||
url="img/home/2024/media/khalifah.jpg", | ||
optional_attributes={ | ||
"loading": "lazy", | ||
"alt": "", | ||
"height": "32", | ||
"width": "32" | ||
}) | ||
) }} | ||
{{ springboard_item( | ||
link_url="https://irlpodcast.org/season7/episode5/", | ||
type='Podcast', | ||
type_icon='podcast', | ||
topic='Artificial Intelligence', | ||
author='IRL Podcast', | ||
preview='From Hollywood to Hip Hop, artists are negotiating consent for use of AI in the creative industries. Bridget Todd speaks to artists who are pushing the boundaries.', | ||
image=resp_img( | ||
url="img/home/2024/media/irl-green.png", | ||
optional_attributes={ | ||
"loading": "lazy", | ||
"alt": "", | ||
"height": "32", | ||
"width": "32" | ||
}) | ||
) }} | ||
{{ springboard_item( | ||
link_url="https://blog.mozilla.org/en/products/firefox/new-mozilla-docuseries-firefox-presents-launch/", | ||
type='Video', | ||
type_icon='video', | ||
topic='News', | ||
author='Rebecca Smith', | ||
preview='Mozilla celebrates groundbreaking creators in new docuseries ‘Firefox Presents’.', | ||
image=resp_img( | ||
url="img/home/2024/media/smith.jpg", | ||
optional_attributes={ | ||
"loading": "lazy", | ||
"alt": "", | ||
"height": "32", | ||
"width": "32" | ||
}) | ||
) }} | ||
{{ springboard_item( | ||
link_url="https://irlpodcast.org/season7/episode4/", | ||
type='Podcast', | ||
type_icon='podcast', | ||
topic='Artificial Intelligence', | ||
author='IRL Podcast', | ||
preview='Big tech’s power over language, means power over people. Bridget Todd talks to language community leaders paving the way for voice AI in their own languages and dialects.', | ||
image=resp_img( | ||
url="img/home/2024/media/irl-pink.png", | ||
optional_attributes={ | ||
"loading": "lazy", | ||
"alt": "", | ||
"height": "32", | ||
"width": "32" | ||
}) | ||
) }} | ||
{{ springboard_item( | ||
link_url="https://irlpodcast.org/season7/episode3/", | ||
type='Podcast', | ||
type_icon='podcast', | ||
topic='Artificial Intelligence', | ||
author='IRL Podcast', | ||
preview='Why does it so often feel like we’re part of a mass AI experiment? What is the responsible way to test new technologies? Bridget Todd explores what it means to live with unproven AI systems that impact millions of people as they roll out across public life.', | ||
image=resp_img( | ||
url="img/home/2024/media/irl-orange.png", | ||
optional_attributes={ | ||
"loading": "lazy", | ||
"alt": "", | ||
"height": "32", | ||
"width": "32" | ||
}) | ||
) }} | ||
{{ springboard_item( | ||
link_url="https://blog.mozilla.org/en/internet-culture/kids-mental-health-screen-time-technology/", | ||
type='Article', | ||
type_icon='article', | ||
topic='Privacy & Security', | ||
author='Kristina Bravo', | ||
preview='Kids are growing up in a very online world. What’s a concerned parent to do?', | ||
image=resp_img( | ||
url="img/home/2024/media/bravo.jpg", | ||
optional_attributes={ | ||
"loading": "lazy", | ||
"alt": "", | ||
"height": "32", | ||
"width": "32" | ||
}) | ||
) }} | ||
</ul> | ||
</section> |
This file contains 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 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.