forked from mozilla/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 0
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
13 changed files
with
138 additions
and
10 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx105-en.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,62 @@ | ||
{# | ||
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/. | ||
#} | ||
|
||
{% extends "firefox/whatsnew/base.html" %} | ||
|
||
{% block page_title %}{{ ftl('whatsnew-page-title') }}{% endblock %} | ||
{% block page_desc %}{{ ftl('whatsnew-page-description') }}{% endblock %} | ||
|
||
{% block page_css %} | ||
{{ css_bundle('protocol-picto') }} | ||
{{ css_bundle('firefox_whatsnew_105_en') }} | ||
{% endblock %} | ||
|
||
{% block site_header %}{% endblock %} | ||
|
||
{% block wnp_content %} | ||
<section class="wnp-content-main mzp-l-content mzp-t-content-lg"> | ||
<h2 class="wnp-main-title">How to talk to your kids about online safety</h2> | ||
|
||
{{ high_res_img('img/firefox/whatsnew/whatsnew105/tech-talk.png', {'alt': 'The Tech Talk', 'width': '720', 'height': '405', 'class': 'wnp-main-image'}) }} | ||
|
||
<p class="wnp-main-tagline">Firefox can help make awkward conversations less awkward. Check out The Tech Talk to get pointers and download the Super-Official Family Tech Agreement.</p> | ||
|
||
<p class="wnp-main-cta"> | ||
<a class="mzp-c-button mzp-t-product mzp-t-lg" href="{{ url('firefox.family.index') }}" data-cta-text="Start the conversation" data-cta-type="button"> | ||
Start the conversation | ||
</a> | ||
</p> | ||
</section> | ||
|
||
<section class="wnp-content-extra"> | ||
<div class="mzp-l-content mzp-t-content-lg"> | ||
|
||
<h3 class="mzp-c-section-heading">Some topics you’ll cover:</h3> | ||
|
||
<div class="mzp-l-columns mzp-t-columns-three mzp-t-picto-center"> | ||
<div class="mzp-c-picto"> | ||
{{ high_res_img('img/firefox/whatsnew/whatsnew105/privacy.png', {'alt': '', 'width': '320', 'height': '216', 'class': 'mzp-c-picto-image'}) }} | ||
<h2 class="mzp-c-picto-heading">Keeping your data<br> to yourself</h2> | ||
</div> | ||
|
||
<div class="mzp-c-picto"> | ||
{{ high_res_img('img/firefox/whatsnew/whatsnew105/trolls.png', {'alt': '', 'width': '320', 'height': '216', 'class': 'mzp-c-picto-image'}) }} | ||
<h2 class="mzp-c-picto-heading">How not to trip<br> over trolls</h2> | ||
</div> | ||
|
||
<div class="mzp-c-picto"> | ||
{{ high_res_img('img/firefox/whatsnew/whatsnew105/passwords.png', {'alt': '', 'width': '320', 'height': '216', 'class': 'mzp-c-picto-image'}) }} | ||
<h2 class="mzp-c-picto-heading">Passwords made<br> fun-ish!</h2> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</section> | ||
{% endblock %} | ||
|
||
{% block js %} | ||
{{ js_bundle('firefox_whatsnew') }} | ||
{% endblock %} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// 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/. | ||
|
||
$font-path: '/media/protocol/fonts'; | ||
$image-path: '/media/protocol/img'; | ||
|
||
@import '~@mozilla-protocol/core/protocol/css/components/notification-bar'; | ||
@import '~@mozilla-protocol/core/protocol/css/components/section-heading'; | ||
@import '~@mozilla-protocol/core/protocol/css/includes/lib'; | ||
@import 'includes/base'; | ||
@import 'includes/dark-mode'; | ||
|
||
// * -------------------------------------------------------------------------- */ | ||
// Main content | ||
.wnp-content-main { | ||
padding-top: $spacing-md; | ||
text-align: center; | ||
} | ||
|
||
.wnp-main-title { | ||
@include text-title-xl; | ||
} | ||
|
||
.wnp-main-img { | ||
max-width: $content-md; | ||
margin: $spacing-xl auto; | ||
|
||
svg { | ||
width: 100%; | ||
height: auto; | ||
} | ||
} | ||
|
||
.wnp-main-tagline { | ||
@include text-body-lg; | ||
max-width: $content-md; | ||
margin: $spacing-xl auto; | ||
} | ||
|
||
.wnp-main-cta { | ||
margin-top: $spacing-xl; | ||
} | ||
|
||
.wnp-content-extra { | ||
.mzp-c-picto-heading { | ||
@include text-title-2xs; | ||
} | ||
} | ||
|
||
// * -------------------------------------------------------------------------- */ | ||
// For dark mode | ||
@media (prefers-color-scheme: dark) { | ||
.wnp-main-title, | ||
.mzp-c-section-heading, | ||
.mzp-c-picto-heading { | ||
color: get-theme('title-text-color-inverse'); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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