-
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.
- Loading branch information
Showing
10 changed files
with
783 additions
and
35 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
bedrock/base/templates/includes/protocol/navigation/menus-refresh/about-us.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,60 @@ | ||
{# | ||
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/. | ||
#} | ||
|
||
<li class="c-menu-category mzp-has-drop-down mzp-js-expandable"> | ||
<a class="c-menu-title" href="{{ url('mozorg.about.index') }}" aria-haspopup="true" aria-controls="c-menu-panel-about" data-testid="navigation-link-about-us">{{ ftl('navigation-refresh-about-us') }}</a> | ||
<div class="c-menu-panel" id="c-menu-panel-about" data-testid="navigation-menu-about-us"> | ||
<div class="c-menu-panel-container"> | ||
<button class="c-menu-button-close" type="button" aria-controls="c-menu-panel-about">{{ ftl('navigation-refresh-close-about-us-menu') }}</button> | ||
<div class="c-menu-panel-content"> | ||
<ul class="mzp-l-content"> | ||
<li> | ||
<section class="c-menu-item"> | ||
<a class="c-menu-item-link" href="{{ url('mozorg.about.index') }}" data-link-text="About us" data-link-type="nav" data-link-position="topnav" data-link-group="about-us"> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-about-us') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item"> | ||
<a class="c-menu-item-link" href="{{ url('mozorg.about.manifesto') }}" data-link-text="Mozilla manifesto" data-link-type="nav" data-link-position="topnav" data-link-group="about-us"> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-mozilla-manifesto') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item"> | ||
<a class="c-menu-item-link" href="https://foundation.mozilla.org/?{{ utm_params }}" data-link-text="Mozilla Foundation" data-link-type="nav" data-link-position="topnav" data-link-group="about-us"> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-mozilla-foundation') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item"> | ||
<a class="c-menu-item-link" href="{{ url('mozorg.contribute') }}" data-link-text="Get Involved" data-link-type="nav" data-link-position="topnav" data-link-group="about-us"> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-get-involved') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item"> | ||
<a class="c-menu-item-link" href="https://future.mozilla.org/?{{ utm_params }}" data-link-text="Mozilla Innovation Projects" data-link-type="nav" data-link-position="topnav" data-link-group="about-us"> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-innovation-projects') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item"> | ||
<a class="c-menu-item-link" href="https://blog.mozilla.org/?{{ utm_params }}" data-link-text="Blog" data-link-type="nav" data-link-position="topnav" data-link-group="about-us"> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-blog') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
</ul> | ||
</div> | ||
</div><!-- close .c-menu-panel-container --> | ||
</div><!-- close .c-menu-panel --> | ||
</li><!-- close about us --> |
63 changes: 63 additions & 0 deletions
63
bedrock/base/templates/includes/protocol/navigation/menus-refresh/firefox.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/. | ||
#} | ||
|
||
{% set utm_params = 'utm_source=www.mozilla.org&utm_medium=referral&utm_campaign=nav&utm_content=firefox' %} | ||
|
||
<li class="c-menu-category mzp-has-drop-down mzp-js-expandable c-menu-category-has-icon"> | ||
<a class="c-menu-title" href="{{ url('firefox') }}" aria-haspopup="true" aria-controls="c-menu-panel-firefox" data-testid="navigation-link-firefox"> | ||
<img class="c-menu-title-icon" loading="lazy" src="{{ static('protocol/img/logos/firefox/browser/logo.svg') }}" class="c-menu-item-icon" width="16" height="16" alt=""> | ||
{{ ftl('navigation-refresh-firefox-browsers') }} | ||
</a> | ||
<div class="c-menu-panel" id="c-menu-panel-firefox"> | ||
<div class="c-menu-panel-container" data-testid="navigation-menu-firefox"> | ||
<button class="c-menu-button-close" type="button" aria-controls="c-menu-panel-firefox">{{ ftl('navigation-refresh-close-firefox-browsers-menu') }}</button> | ||
<div class="c-menu-panel-content"> | ||
<ul class="mzp-l-content"> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="{{ url('firefox.new') }}" data-link-text="Firefox Desktop Browser" data-link-type="nav" data-link-position="topnav" data-link-group="firefox" data-testid="navigation-menu-link-firefox-desktop"> | ||
<img loading="lazy" src="{{ static('protocol/img/logos/firefox/browser/logo.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-firefox-for-desktop') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="{{ url('firefox.browsers.mobile.ios') }}" data-link-text="Firefox for iOS" data-link-type="nav" data-link-position="topnav" data-link-group="firefox"> | ||
<img loading="lazy" src="{{ static('protocol/img/logos/firefox/browser/logo.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-firefox-for-ios') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="{{ url('firefox.browsers.mobile.android') }}" data-link-text="Firefox for Android" data-link-type="nav" data-link-position="topnav" data-link-group="firefox"> | ||
<img loading="lazy" src="{{ static('protocol/img/logos/firefox/browser/logo.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-firefox-for-android') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="{{ url('firefox.browsers.mobile.focus') }}" data-link-text="Firefox Focus" data-link-type="nav" data-link-position="topnav" data-link-group="firefox"> | ||
<img loading="lazy" src="{{ static('protocol/img/logos/firefox/browser/focus/logo.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-firefox-focus') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="https://blog.mozilla.org/firefox/?{{ utm_params }}" data-link-text="Firefox Blog" data-link-type="nav" data-link-position="topnav" data-link-group="firefox"> | ||
<svg class="c-menu-item-icon" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="#42435a" d="M21.1 7.5c-.2-.2-.2-.5 0-.7l.5-.5c.8-.8 2.1-.8 2.9 0l1.2 1.2c.8.8.8 2.1 0 2.9l-.5.5c-.2.2-.5.2-.7 0l-3.4-3.4zm2.3 4.5c.2.2.2.5 0 .7L12.7 23.4c-.2.2-.4.3-.6.4l-5.7 2.4c-.3.1-.6 0-.7-.3-.1-.1-.1-.3 0-.4L8.1 20c.1-.2.3-.5.4-.6L19.2 8.6c.2-.2.5-.2.7 0l3.5 3.4zM11.5 22.7l-3.9 1.7 1.7-3.9c0-.1.1-.2.2-.2l2.3 2.3c-.1 0-.2.1-.3.1z"></path></svg> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-firefox-blog') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
</ul> | ||
</div> | ||
</div><!-- close .c-menu-panel-container --> | ||
</div><!-- close .c-menu-panel --> | ||
</li><!-- close firefox --> |
82 changes: 82 additions & 0 deletions
82
bedrock/base/templates/includes/protocol/navigation/menus-refresh/products.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,82 @@ | ||
{# | ||
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/. | ||
#} | ||
|
||
{% set utm_params = 'utm_source=www.mozilla.org&utm_medium=referral&utm_campaign=nav&utm_content=products' %} | ||
|
||
<li class="c-menu-category mzp-has-drop-down mzp-js-expandable"> | ||
<a class="c-menu-title" href="{{ url('products.landing') }}" aria-haspopup="true" aria-controls="c-menu-panel-products" data-testid="navigation-link-products">{{ ftl('navigation-refresh-products') }}</a> | ||
<div class="c-menu-panel" id="c-menu-panel-products" data-testid="navigation-menu-products"> | ||
<div class="c-menu-panel-container"> | ||
<button class="c-menu-button-close" type="button" aria-controls="c-menu-panel-products">{{ ftl('navigation-refresh-close-products-menu') }}</button> | ||
<div class="c-menu-panel-content"> | ||
<ul class="mzp-l-content"> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="{{ url('products.vpn.landing') }}" data-link-text="Mozilla VPN" data-link-type="nav" data-link-position="topnav" data-link-group="products"> | ||
<img loading="lazy" src="{{ static('protocol/img/logos/mozilla/vpn/logo.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-mozilla-vpn') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="https://monitor.mozilla.org/?{{ utm_params }}" data-link-text="Mozilla Monitor" data-link-type="nav" data-link-position="topnav" data-link-group="products"> | ||
<img loading="lazy" src="{{ static('protocol/img/logos/firefox/monitor/logo.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-mozilla-monitor') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="https://relay.firefox.com/?{{ utm_params }}" data-link-text="Firefox Relay" data-link-type="nav" data-link-position="topnav" data-link-group="products"> | ||
<img loading="lazy" src="{{ static('protocol/img/logos/firefox/relay/logo.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-firefox-relay') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="https://getpocket.com/firefox_learnmore/?{{ utm_params }}" data-link-text="Pocket" data-link-type="nav" data-link-position="topnav" data-link-group="products"> | ||
<img loading="lazy" src="{{ static('protocol/img/logos/pocket/logo.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-pocket') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="https://developer.mozilla.org/plus?{{ utm_params }}" data-link-text="MDN Plus" data-link-type="nav" data-link-position="topnav" data-link-group="products"> | ||
<img loading="lazy" src="{{ static('img/nav/icons/icon-mdn-plus.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-mdn-plus') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="https://fakespot.com/?{{ utm_params }}" data-link-text="Fakespot" data-link-type="nav" data-link-position="topnav" data-link-group="projects"> | ||
<img loading="lazy" src="{{ static('img/logos/fakespot/logo-blue.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-fakespot') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
<li> | ||
<section class="c-menu-item mzp-has-icon"> | ||
<a class="c-menu-item-link" href="https://www.thunderbird.net/{{ referrals }}" data-link-text="Thunderbird" data-link-type="nav" data-link-position="topnav" data-link-group="products"> | ||
<img loading="lazy" src="{{ static('img/logos/thunderbird/logo-thunderbird.svg') }}" class="c-menu-item-icon" width="32" height="32" alt=""> | ||
<h4 class="c-menu-item-title">{{ ftl('navigation-refresh-thunderbird') }}</h4> | ||
</a> | ||
</section> | ||
</li> | ||
</ul> | ||
<p class="c-menu-category-link"> | ||
<a href="{{ url('products.landing') }}" data-link-text="Go to all browsers and products" data-link-type="nav" data-link-position="topnav" data-link-group="firefox"> | ||
{{ ftl('navigation-refresh-all-products') }} | ||
<svg fill="none" height="24" width="24" xmlns="http://www.w3.org/2000/svg"><clipPath id="a"><path d="M0 0h24v24H0z"/></clipPath><g clip-path="url(#a)"><path d="M10.45 10.789v1.806H5V10.79zm8.55.903L10.45 4.5v6.289h1.806v-2.41l3.938 3.313-3.938 3.312v-2.409H10.45v6.289z" fill="#fff"/></g></svg> | ||
</a> | ||
</p> | ||
</div> | ||
</div><!-- close .c-menu-panel-container --> | ||
</div><!-- close .c-menu-panel --> | ||
</li><!-- close products --> |
29 changes: 29 additions & 0 deletions
29
bedrock/base/templates/includes/protocol/navigation/navigation-refresh.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,29 @@ | ||
{# | ||
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-navigation mzp-is-sticky moz24-navigation-refresh"> | ||
<div class="c-navigation-l-content"> | ||
<div class="c-navigation-container"> | ||
<button class="c-navigation-menu-button" type="button" aria-controls="c-navigation-items" data-testid="navigation-refresh-menu-button">{{ ftl('navigation-refresh-menu') }}</button> | ||
<div class="c-navigation-logo"> | ||
<a href="{{ url('mozorg.home') }}" data-link-text="mozilla home icon" data-link-type="nav"> | ||
<img loading="lazy" class="c-navigation-logo-image" src="{{ static('img/logos/m24/lockup-black.svg') }}" alt="{{ ftl('navigation-refresh-mozilla') }}" width="88" height="21"> | ||
</a> | ||
</div> | ||
<div class="c-navigation-items" id="c-navigation-items" data-testid="navigation-menu-items"> | ||
<div class="c-navigation-menu"> | ||
<nav class="c-menu mzp-is-basic"> | ||
<ul class="c-menu-category-list"> | ||
{% include 'includes/protocol/navigation/menus-refresh/firefox.html' %} | ||
{% include 'includes/protocol/navigation/menus-refresh/products.html' %} | ||
{% include 'includes/protocol/navigation/menus-refresh/about-us.html' %} | ||
</ul> | ||
</nav> | ||
</div><!-- close .c-navigation-menu --> | ||
</div><!-- close .c-navigation-items --> | ||
</div> | ||
</div> | ||
</div> |
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.