Skip to content

Commit

Permalink
added moments page for addon-geddan
Browse files Browse the repository at this point in the history
  • Loading branch information
reemhamz committed Sep 24, 2024
1 parent 2daa613 commit f9b8247
Show file tree
Hide file tree
Showing 17 changed files with 427 additions and 12 deletions.
5 changes: 5 additions & 0 deletions bedrock/firefox/templates/firefox/welcome/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
{% block shoulder_logo %}
<img src="{{ static('protocol/img/logos/firefox/browser/logo-word-hor.svg') }}" alt="Firefox" width="216" height="40" class="c-header-logo">
{% endblock %}
{% if warning_notification_bar %}
{% block warning_notification %}
{{ notification_text }}
{% endblock %}
{% endif %}
{% block shoulder_cta %}
<p class="c-shoulder-cta">
<a class="mzp-c-button mzp-t-secondary mzp-t-md mzp-t-product" href="{{ url('mozorg.account') }}">
Expand Down
12 changes: 0 additions & 12 deletions bedrock/firefox/templates/firefox/welcome/page18.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,3 @@ <h1 class="c-main-title">Shop summer sales with confidence</h1>
</div>
</section>
{% endblock %}

{% block content_body %}{% endblock %}

{% block content_utility %}
<p>
<strong>
<a href="https://support.mozilla.org/kb/firefox-browser-welcome-pages/?{{ utm_params }}">
Why am I seeing this?
</a>
</strong>
</p>
{% endblock %}
311 changes: 311 additions & 0 deletions bedrock/firefox/templates/firefox/welcome/page19.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions bedrock/firefox/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
page("firefox/welcome/17b/", "firefox/welcome/page17/page17-b.html", ftl_files=["firefox/welcome/page14"], active_locales=["en-US", "fr", "de"]),
page("firefox/welcome/17c/", "firefox/welcome/page17/page17-c.html", ftl_files=["firefox/welcome/page14"], active_locales=["en-US", "fr", "de"]),
page("firefox/welcome/18/", "firefox/welcome/page18.html"),
page("firefox/welcome/19/", "firefox/welcome/page19.html", active_locales=["en-US", "fr", "de", "es-ES", "it", "el", "pl", "cs", "zh-CN", "pt-BR", "ar", "ru", "ja", "id", "hu", ]),
page("firefox/switch/", "firefox/switch.html", ftl_files=["firefox/switch"]),
page("firefox/pocket/", "firefox/pocket.html"),
page("firefox/share/", "firefox/share.html", active_locales=["de", "fr"]),
Expand Down
39 changes: 39 additions & 0 deletions media/css/firefox/welcome19.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// 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/includes/lib';
@import '~@mozilla-protocol/core/protocol/css/components/notification-bar';

.c-page-header {
.mzp-l-content {
padding-top: $spacing-md;
padding-bottom: $spacing-md;
}
}

.c-main-tagline {
@include text-body-lg;
text-wrap: balance;
}


.mzp-l-columns {
padding-top: 0;
}

.mzp-c-picto {
@include text-body-lg;
text-align: center;

img {
width: 100%;
}
}

.page-footer {
display: none;
}
Binary file added media/img/firefox/welcome/page19/fast-resize.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/img/firefox/welcome/page19/fast-resize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/img/firefox/welcome/page19/fast-test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions media/img/firefox/welcome/page19/fast-test.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions media/img/firefox/welcome/page19/fast.svg
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.
25 changes: 25 additions & 0 deletions media/img/firefox/welcome/page19/private-resize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f9b8247

Please sign in to comment.