-
Notifications
You must be signed in to change notification settings - Fork 927
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
1 parent
f13a56d
commit fca7ad0
Showing
8 changed files
with
211 additions
and
0 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx135.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,63 @@ | ||
{# | ||
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_css %} | ||
{{ css_bundle('firefox_whatsnew_135') }} | ||
{% endblock %} | ||
|
||
{% set utm_params = 'utm_source=www.mozilla.org&utm_medium=referral&utm_campaign=wnp135-shortcuts' %} | ||
|
||
{% if LANG == 'de' %} | ||
{% set main_title = 'Ein Zoom auf die Funktionen von Firefox' %} | ||
{% set main_tagline = 'Navigiere dich mit Firefox schnell durchs Web und nutze <strong>cmd/Strg +</strong> und <strong>cmd/Strg -</strong>, um unkompliziert Inhalte zu vergrößern oder zu verkleinern.' %} | ||
{% set main_cta = 'Entdecke weitere Tastenkombinationen' %} | ||
{% elif LANG == 'fr' %} | ||
{% set main_title = 'Zoomez sur les fonctionnalités de Firefox' %} | ||
{% set main_tagline = 'Naviguez sur Firefox rapidement avec <strong>cmd/ctrl +</strong> et <strong>cmd/ctrl -</strong> pour facilement redimensionner le contenu d’une page web.' %} | ||
{% set main_cta = 'Découvrir plus de raccourcis' %} | ||
{% elif LANG.startswith('es-') %} | ||
{% set main_title = 'Zoom in to Firefox functions' %} | ||
{% set main_tagline = 'Navigate Firefox quickly and use <strong>cmd/ctrl +</strong> and <strong>cmd/ctrl -</strong> to easily resize content, making it larger or smaller.' %} | ||
{% set main_cta = 'Find more shortcuts' %} | ||
{% endif %} | ||
|
||
{% set main_cta_link = 'https://support.mozilla.org/kb/keyboard-shortcuts-perform-firefox-tasks-quickly?' + utm_params %} | ||
|
||
{% block wnp_content %} | ||
<section class="wnp-content-main"> | ||
<div class="mzp-l-content mzp-t-content-sm"> | ||
<img width="182" height="69" class="wnp-main-image" src="{{ l10n_img('firefox/wnp-135/shortcuts.svg') }}" alt=""> | ||
<h1 class="wnp-main-title"> | ||
{% if main_title %} | ||
{{ main_title }} | ||
{% else %} | ||
{{ ftl('whatsnew-shortcuts-title')}} | ||
{% endif %} | ||
</h1> | ||
<p class="wnp-main-tagline"> | ||
{% if main_tagline %} | ||
{{ main_tagline | safe }} | ||
{% else %} | ||
{{ ftl('whatsnew-shortcuts-tagline')}} | ||
{% endif %} | ||
</p> | ||
<a class="mzp-c-button mzp-t-product" data-cta-text="Find more shortcuts" href="{{ main_cta_link }}"> | ||
{% if main_cta %} | ||
{{ main_cta }} | ||
{% else %} | ||
{{ ftl('whatsnew-shortcuts-cta')}} | ||
{% endif %} | ||
</a> | ||
</div> | ||
</section> | ||
|
||
<section class="wnp-footer"> | ||
<p class="wnp-sign-off">{{ ftl('whatsnew-signoff') }}</p> | ||
{% include "firefox/whatsnew/includes/mofo-donate-cta.html" %} | ||
</section> | ||
{% 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,10 @@ | ||
# 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/. | ||
|
||
### URL: https://www-dev.allizom.org/firefox/135.0/whatsnew/ | ||
|
||
whatsnew-shortcuts-title = Zoom in to { -brand-name-firefox } functions | ||
# "cmd/ctrl +" and "cmd/ctrl -" are keyboard commands to zoom browser view in or out | ||
whatsnew-shortcuts-tagline = Navigate { -brand-name-firefox } quickly and use <strong>cmd/ctrl +</strong> and <strong>cmd/ctrl -</strong> to easily resize content, making it larger or smaller. | ||
whatsnew-shortcuts-cta = Find more shortcuts |
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,25 @@ | ||
// 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/. | ||
|
||
@import 'includes/base'; | ||
@import '~@mozilla-protocol/core/protocol/css/includes/lib'; | ||
@import '~@mozilla-protocol/core/protocol/css/components/notification-bar'; | ||
@import 'includes/dark-mode'; | ||
@import 'includes/mofo-donate-cta'; | ||
|
||
.mzp-l-content.mzp-t-content-sm { | ||
max-width: 450px; // protocol is 432px, we need slightly bigger | ||
} | ||
|
||
.wnp-content-main { | ||
text-align: center; | ||
} | ||
|
||
.wnp-main-title { | ||
line-height: 1.01; | ||
} | ||
|
||
.wnp-main-image { | ||
margin-bottom: $spacing-lg; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.