Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix bug 1267561] Roll out winning version of redesigned download page
- Loading branch information
1 parent
f1d5176
commit faaa4f8
Showing
29 changed files
with
489 additions
and
786 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{# 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 http://mozilla.org/MPL/2.0/. -#} | ||
|
||
{% add_lang_files "firefox/new" %} | ||
|
||
{% extends "firefox/base-resp.html" %} | ||
|
||
{% block page_title_prefix %}{{_('Download Firefox')}} — {% endblock %} | ||
{% block page_title %}{{_('Free Web Browser')}}{% endblock %} | ||
{% block page_desc %}{{_('Download Mozilla Firefox, a free Web browser. Firefox is created by a global non-profit dedicated to putting individuals in control online. Get Firefox today!')}}{% endblock %} | ||
|
||
{#- This will appear as <meta property="og:title"> which can be used for social share -#} | ||
{% block page_og_title %} | ||
{{ _('Go beyond the others. <br>Choose Firefox.') }} | ||
{% endblock %} | ||
|
||
{#- This will appear as <meta property="og:description"> which can be used for social share -#} | ||
{% block page_og_desc %} | ||
{{_('Firefox is non-profit, non-corporate, non-compromised. Choosing Firefox isn’t just choosing a browser. It’s a vote for personal freedom.')}} | ||
{% endblock %} | ||
|
||
{#- This will appear as <meta property="og:image"> which can be used for social share -#} | ||
{% block page_image %} | ||
{{ static('img/firefox/firefox-independent-1200.jpg') }} | ||
{% endblock %} | ||
|
||
{% block body_id %}{% endblock %} | ||
{% block body_class %}{% endblock %} | ||
|
||
{% block site_header %}{% endblock %} | ||
|
||
{% block site_css %}{% endblock %} | ||
{% block extrahead %}{% endblock %} | ||
|
||
{% block content %}{% endblock %} | ||
|
||
{% block email_form %}{% endblock %} | ||
|
||
{% block site_footer %} | ||
{% include 'firefox/includes/simple_footer.html' %} | ||
{% endblock %} | ||
|
||
{% block js %}{% 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
75 changes: 75 additions & 0 deletions
75
bedrock/firefox/templates/firefox/new/redesign/scene2.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,75 @@ | ||
{# 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 http://mozilla.org/MPL/2.0/. -#} | ||
|
||
{% add_lang_files "firefox/new" %} | ||
|
||
{% extends "firefox/new/redesign/base.html" %} | ||
|
||
{% block extrahead %} | ||
{% stylesheet 'firefox_new_redesign_common' %} | ||
{% stylesheet 'firefox_new_redesign_scene2' %} | ||
{% endblock %} | ||
|
||
{% block body_id %}firefox-new-scene2{% endblock %} | ||
|
||
{% block content %} | ||
<main role="main" id="stage"> | ||
<div class="event-horizon"> | ||
<div class="stars"> | ||
<div class="inner-container"> | ||
<header id="masthead"> | ||
<div id="tabzilla"> | ||
<a href="{{ url('mozorg.home') }}" data-link-type="nav" data-link-name="tabzilla">Mozilla</a> | ||
</div> | ||
<h2>{{ high_res_img('firefox/template/header-logo-inverse.png', {'alt': 'Firefox', 'width': '185', 'height': '70'}) }}</h2> | ||
</header> | ||
<div class="main-content"> | ||
<h1>{{ _('Thanks for joining the mission.') }}</h1> | ||
|
||
<div class="download-button-wrapper desktop" id="download-button-wrapper-desktop"> | ||
{{ download_firefox(force_direct=true, simple=true, dom_id='primary-download-button') }} | ||
</div> | ||
|
||
<p class="help"> | ||
{{_('Your Firefox should begin downloading automatically. If not, <a id="%s" href="">click here</a>.')|format('direct-download-link')}} | ||
</p> | ||
|
||
<aside id="mobile-download"> | ||
<h2>{{ _('Get Firefox everywhere. Add it now to your Android and iOS devices.') }}</h3> | ||
<ul> | ||
<li class="android"> | ||
<a rel="external" href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}" data-link-type="download" data-download-os="Android"> | ||
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }} | ||
</a> | ||
</li> | ||
<li class="ios"> | ||
<a href="{{ firefox_ios_url('mozorg-scene_2-appstore-button') }}" data-link-type="download" data-download-os="iOS"> | ||
<img src="{{ l10n_img('firefox/ios/btn-app-store.svg') }}" alt="{{ _('Download on the App Store') }}" width="152" height="45"> | ||
</a> | ||
</li> | ||
</ul> | ||
</aside> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="mission-control"> | ||
<div class="sky-line"> | ||
<div class="mountains"></div> | ||
</div> | ||
<div class="launch-area"> | ||
<div class="foxes"></div> | ||
</div> | ||
<div class="crater"></div> | ||
<div class="ground"></div> | ||
</div> | ||
</main> | ||
|
||
{% include 'firefox/includes/schemaorg-app.html' %} | ||
|
||
{% endblock %} | ||
|
||
{% block js %} | ||
{% javascript 'firefox_new_scene2' %} | ||
{% endblock %} |
29 changes: 0 additions & 29 deletions
29
bedrock/firefox/templates/firefox/new/variants/scene1/variant-1a.html
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
bedrock/firefox/templates/firefox/new/variants/scene1/variant-1b.html
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
bedrock/firefox/templates/firefox/new/variants/scene1/variant-2a.html
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
bedrock/firefox/templates/firefox/new/variants/scene1/variant-2b.html
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
bedrock/firefox/templates/firefox/new/variants/scene1/variant-3a.html
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
bedrock/firefox/templates/firefox/new/variants/scene1/variant-3b.html
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
bedrock/firefox/templates/firefox/new/variants/scene1/variant-4a.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.