diff --git a/bedrock/firefox/templates/firefox/home-a.html b/bedrock/firefox/templates/firefox/home-a.html new file mode 100644 index 00000000000..27ff05476f0 --- /dev/null +++ b/bedrock/firefox/templates/firefox/home-a.html @@ -0,0 +1,14 @@ +{# 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/hub/home-quantum" "firefox/shared" %} + +{% extends "firefox/home.html" %} + +{% block experiments %}{% endblock %} + +{% block js %} + {{ super() }} + {{ js_bundle('firefox-home-pre-download-a-ga') }} +{% endblock %} diff --git a/bedrock/firefox/templates/firefox/home-b.html b/bedrock/firefox/templates/firefox/home-b.html new file mode 100644 index 00000000000..0d747aea8c6 --- /dev/null +++ b/bedrock/firefox/templates/firefox/home-b.html @@ -0,0 +1,49 @@ +{# 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/hub/home-quantum" "firefox/shared" %} + +{% extends "firefox/home.html" %} + +{% block experiments %}{% endblock %} + +{% block page_css %} + {{ super() }} + {{ css_bundle('firefox-home-pre-download') }} +{% endblock %} + +{% block button_primary %} +
+{% endblock %} + +{% block additional_content %} + +{% endblock %} + +{% block js %} + {{ super() }} + {{ js_bundle('firefox-home-pre-download-newsletter') }} +{% endblock %} diff --git a/bedrock/firefox/templates/firefox/home-c.html b/bedrock/firefox/templates/firefox/home-c.html new file mode 100644 index 00000000000..c3e1d7c6e9b --- /dev/null +++ b/bedrock/firefox/templates/firefox/home-c.html @@ -0,0 +1,13 @@ +{# 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/hub/home-quantum" "firefox/shared" %} + +{% extends "firefox/home-b.html" %} + +{% block experiments %}{% endblock %} + +{% block variant_name %}data-variant-name="v-2-headline-b"{% endblock %}> + +{% block newsletter_title %}{{ _('Learn how to make the most of the browser made for people, not profit.') }}{% endblock %} diff --git a/bedrock/firefox/templates/firefox/home.html b/bedrock/firefox/templates/firefox/home.html index f8eef3fb450..5193d520feb 100644 --- a/bedrock/firefox/templates/firefox/home.html +++ b/bedrock/firefox/templates/firefox/home.html @@ -17,6 +17,12 @@ {% block page_title %}{{ _('The new, fast browser for Mac, PC and Linux') }} | {{ title_suffix }}{% endblock %} {% block page_desc %}{{ _('Responsive engine, less memory usage and packed with features. Download for desktop now.') }}{% endblock %} +{% block experiments %} + {% if switch('experiment-firefox-home-pre-download', ['en']) %} + {{ js_bundle('experiment-firefox-home-pre-download') }} + {% endif %} +{% endblock %} + {% block page_css %} {{ css_bundle('firefox-home') }} {% if switch('firefox_home_fbvideochat_funnelcake', ['en-US']) %} @@ -68,7 +74,9 @@