forked from mozilla/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
947 additions
and
1 deletion.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
bedrock/firefox/templates/firefox/built-for-you/includes/v1-pinocchio-de.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,30 @@ | ||
{# | ||
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="c-hero-video"> | ||
<video preload="auto" playsinline autoplay muted loop poster="{{ static('img/firefox/built-for-you/pinocchio-1000.jpg') }}" width="800" height="600"> | ||
<source src="https://assets.mozilla.net/video/built-for-you/video-pinocchio-de.webm" type="video/webm"> | ||
</video> | ||
|
||
{{ resp_img('img/firefox/built-for-you/pinocchio-800.jpg', | ||
srcset={ | ||
'img/firefox/built-for-you/pinocchio-600.jpg': '600w', | ||
'img/firefox/built-for-you/pinocchio-800.jpg': '800w', | ||
'img/firefox/built-for-you/pinocchio-1000.jpg': '1000w', | ||
'img/firefox/built-for-you/pinocchio-1200.jpg': '1200w', | ||
}, | ||
sizes={ | ||
'(min-width: 768px)': 'calc(50vw - 192px)', | ||
'default': 'calc(100vw - 48px)' | ||
}, | ||
optional_attributes={ | ||
'class': 'mzp-c-split-media-asset fallback', | ||
'alt': '', | ||
'width': '800', | ||
'height': '600', | ||
}, | ||
) }} | ||
</div> |
30 changes: 30 additions & 0 deletions
30
bedrock/firefox/templates/firefox/built-for-you/includes/v1-pinocchio-fr.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,30 @@ | ||
{# | ||
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="c-hero-video"> | ||
<video preload="auto" playsinline autoplay muted loop poster="{{ static('img/firefox/built-for-you/pinocchio-1000.jpg') }}" width="800" height="600"> | ||
<source src="https://assets.mozilla.net/video/built-for-you/video-pinocchio-fr.webm" type="video/webm"> | ||
</video> | ||
|
||
{{ resp_img('img/firefox/built-for-you/pinocchio-800.jpg', | ||
srcset={ | ||
'img/firefox/built-for-you/pinocchio-600.jpg': '600w', | ||
'img/firefox/built-for-you/pinocchio-800.jpg': '800w', | ||
'img/firefox/built-for-you/pinocchio-1000.jpg': '1000w', | ||
'img/firefox/built-for-you/pinocchio-1200.jpg': '1200w', | ||
}, | ||
sizes={ | ||
'(min-width: 768px)': 'calc(50vw - 192px)', | ||
'default': 'calc(100vw - 48px)' | ||
}, | ||
optional_attributes={ | ||
'class': 'mzp-c-split-media-asset fallback', | ||
'alt': '', | ||
'width': '800', | ||
'height': '600', | ||
}, | ||
) }} | ||
</div> |
30 changes: 30 additions & 0 deletions
30
bedrock/firefox/templates/firefox/built-for-you/includes/v2-superhero-de.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,30 @@ | ||
{# | ||
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="c-hero-video"> | ||
<video preload="auto" playsinline autoplay muted loop poster="{{ static('img/firefox/built-for-you/superhero-1000.jpg') }}" width="800" height="600"> | ||
<source src="https://assets.mozilla.net/video/built-for-you/video-superhero-de.webm" type="video/webm"> | ||
</video> | ||
|
||
{{ resp_img('img/firefox/built-for-you/superhero-800.jpg', | ||
srcset={ | ||
'img/firefox/built-for-you/superhero-600.jpg': '600w', | ||
'img/firefox/built-for-you/superhero-800.jpg': '800w', | ||
'img/firefox/built-for-you/superhero-1000.jpg': '1000w', | ||
'img/firefox/built-for-you/superhero-1200.jpg': '1200w', | ||
}, | ||
sizes={ | ||
'(min-width: 768px)': 'calc(50vw - 192px)', | ||
'default': 'calc(100vw - 48px)' | ||
}, | ||
optional_attributes={ | ||
'class': 'mzp-c-split-media-asset fallback', | ||
'alt': '', | ||
'width': '800', | ||
'height': '600', | ||
}, | ||
) }} | ||
</div> |
30 changes: 30 additions & 0 deletions
30
bedrock/firefox/templates/firefox/built-for-you/includes/v2-superhero-fr.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,30 @@ | ||
{# | ||
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="c-hero-video"> | ||
<video preload="auto" playsinline autoplay muted loop poster="{{ static('img/firefox/built-for-you/superhero-1000.jpg') }}" width="800" height="600"> | ||
<source src="https://assets.mozilla.net/video/built-for-you/video-superhero-fr.webm" type="video/webm"> | ||
</video> | ||
|
||
{{ resp_img('img/firefox/built-for-you/superhero-800.jpg', | ||
srcset={ | ||
'img/firefox/built-for-you/superhero-600.jpg': '600w', | ||
'img/firefox/built-for-you/superhero-800.jpg': '800w', | ||
'img/firefox/built-for-you/superhero-1000.jpg': '1000w', | ||
'img/firefox/built-for-you/superhero-1200.jpg': '1200w', | ||
}, | ||
sizes={ | ||
'(min-width: 768px)': 'calc(50vw - 192px)', | ||
'default': 'calc(100vw - 48px)' | ||
}, | ||
optional_attributes={ | ||
'class': 'mzp-c-split-media-asset fallback', | ||
'alt': '', | ||
'width': '800', | ||
'height': '600', | ||
}, | ||
) }} | ||
</div> |
26 changes: 26 additions & 0 deletions
26
bedrock/firefox/templates/firefox/built-for-you/includes/v3-sloth.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,26 @@ | ||
{# | ||
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/. | ||
#} | ||
|
||
{{ | ||
resp_img('img/firefox/built-for-you/sloth-800.jpg', | ||
srcset={ | ||
'img/firefox/built-for-you/sloth-600.jpg': '600w', | ||
'img/firefox/built-for-you/sloth-800.jpg': '800w', | ||
'img/firefox/built-for-you/sloth-1000.jpg': '1000w', | ||
'img/firefox/built-for-you/sloth-1200.jpg': '1200w' | ||
}, | ||
sizes={ | ||
'(min-width: 768px)': 'calc(50vw - 192px)', | ||
'default': 'calc(100vw - 48px)' | ||
}, | ||
optional_attributes={ | ||
'class': 'mzp-c-split-media-asset', | ||
'alt': '', | ||
'width': '800', | ||
'height': '600', | ||
}, | ||
) | ||
}} |
26 changes: 26 additions & 0 deletions
26
bedrock/firefox/templates/firefox/built-for-you/includes/v4-alien.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,26 @@ | ||
{# | ||
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/. | ||
#} | ||
|
||
{{ | ||
resp_img('img/firefox/built-for-you/alien-800.jpg', | ||
srcset={ | ||
'img/firefox/built-for-you/alien-600.jpg': '600w', | ||
'img/firefox/built-for-you/alien-800.jpg': '800w', | ||
'img/firefox/built-for-you/alien-1000.jpg': '1000w', | ||
'img/firefox/built-for-you/alien-1200.jpg': '1200w' | ||
}, | ||
sizes={ | ||
'(min-width: 768px)': 'calc(50vw - 192px)', | ||
'default': 'calc(100vw - 48px)' | ||
}, | ||
optional_attributes={ | ||
'class': 'mzp-c-split-media-asset', | ||
'alt': '', | ||
'width': '800', | ||
'height': '600', | ||
}, | ||
) | ||
}} |
34 changes: 34 additions & 0 deletions
34
bedrock/firefox/templates/firefox/built-for-you/includes/v5-human.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,34 @@ | ||
{# | ||
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/. | ||
#} | ||
|
||
{{ | ||
picture('img/firefox/built-for-you/human-desktop-800.jpg', | ||
sources=[ | ||
{ | ||
'media': '(max-width: 768px)', | ||
'srcset': { | ||
'img/firefox/built-for-you/human-mobile-600.jpg': '600w', | ||
'img/firefox/built-for-you/human-mobile-800.jpg': '800w', | ||
'img/firefox/built-for-you/human-mobile-1000.jpg': '1000w', | ||
}, | ||
}, | ||
{ | ||
'media': '(min-width: 768px)', | ||
'srcset': { | ||
'img/firefox/built-for-you/human-desktop-800.jpg': '800w', | ||
'img/firefox/built-for-you/human-desktop-1000.jpg': '1000w', | ||
'img/firefox/built-for-you/human-desktop-1200.jpg': '1200w', | ||
} | ||
} | ||
], | ||
optional_attributes={ | ||
'class': 'mzp-c-split-media-asset', | ||
'alt': '', | ||
'width': '800', | ||
'height': '600', | ||
}, | ||
) | ||
}} |
Oops, something went wrong.