зеркало из https://github.com/mozilla/bedrock.git
Update Monitor copy [Feb 6th] (#14114)
* Update Monitor copy * PR revisions * fix lang conditional in accounts page --------- Co-authored-by: Reem H <42309026+reemhamz@users.noreply.github.com>
This commit is contained in:
Родитель
7dfe63bcc2
Коммит
a27b682ba8
|
@ -111,7 +111,7 @@
|
|||
</h4>
|
||||
</a>
|
||||
<ul class="mzp-u-list-styled">
|
||||
<li>{{ ftl('firefox-accounts-get-email-alerts') }}</li>
|
||||
<li>{% if LANG == 'en-US' %}Get automated removal of your exposed info from sites that are selling it{% else %}{{ ftl('firefox-accounts-get-email-alerts') }}{% endif %}</li>
|
||||
</ul>
|
||||
|
||||
{% if ftl_has_messages('firefox-accounts-protect-your-identity') %}
|
||||
|
|
|
@ -161,8 +161,8 @@
|
|||
{% endif %}
|
||||
</h3>
|
||||
</div>
|
||||
<h4>{{ ftl('firefox-home-know-when-hackers-strike') }}</h4>
|
||||
<a class="mzp-c-cta-link" href="{{ 'https://monitor.mozilla.org/' + referrals }}" data-link-text="Monitor" data-link-type="link">{{ ftl('firefox-home-start-getting-breach') }}</a>
|
||||
<h4>{% if LANG == 'en-US' %}See if you’ve been in a data breach — and let us automatically retrieve your stolen info{% else %}{{ ftl('firefox-home-know-when-hackers-strike') }}{% endif %}</h4>
|
||||
<a class="mzp-c-cta-link" href="{{ 'https://monitor.mozilla.org/' + referrals }}" data-link-name="Monitor" data-link-type="link">{% if LANG.startswith('en-') %}Check for breaches now{% else %}{{ ftl('firefox-home-start-getting-breach') }}{% endif %}</a>
|
||||
{% endcall %}
|
||||
|
||||
{% if ftl_has_messages('firefox-home-protection-for-your-whole') %}
|
||||
|
|
|
@ -160,14 +160,23 @@
|
|||
</div>
|
||||
<p>
|
||||
{% if mozilla_monitor %}
|
||||
{{ ftl('firefox-privacy-hub-when-you-enter-your-email-v2', fallback='firefox-privacy-hub-when-you-enter-your-email') }}
|
||||
{% if LANG == 'en-US' %}
|
||||
When you enter your email address in Mozilla Monitor, we forget it immediately after we’ve checked to see where your
|
||||
personal details have been exposed — unless you authorize us to continue monitoring your info for future exposures.
|
||||
{% else %}
|
||||
{{ ftl('firefox-privacy-hub-when-you-enter-your-email-v2', fallback='firefox-privacy-hub-when-you-enter-your-email') }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ ftl('firefox-privacy-hub-when-you-enter-your-email') }}
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
<a class="mzp-c-cta-link" href="https://monitor.mozilla.org/?utm_source={{ _entrypoint }}&utm_medium=referral&utm_campaign={{ _utm_campaign }}&entrypoint={{ _entrypoint }}" data-cta-type="fxa-monitor" data-cta-text="Check for breaches" data-cta-position="secondary">
|
||||
{{ ftl('firefox-privacy-hub-check-for-breaches') }}
|
||||
{% if LANG == 'en-US' %}
|
||||
Check for exposures now
|
||||
{% else %}
|
||||
{{ ftl('firefox-privacy-hub-check-for-breaches') }}
|
||||
{% endif %}
|
||||
</a>
|
||||
</p>
|
||||
{% endcall %}
|
||||
|
|
|
@ -71,8 +71,8 @@
|
|||
{% endif %}
|
||||
</a>
|
||||
</h2>
|
||||
<p>{{ ftl('firefox-products-see-if-your-personal-information') }}</p>
|
||||
<p><a class="mzp-c-cta-link" href="https://monitor.mozilla.org/{{ referrals }}" data-cta-type="link" data-cta-text="Check for breaches">{{ ftl('firefox-products-check-for-breaches') }}</a></p>
|
||||
<p>{% if LANG == 'en-US' %}See if you’ve been part of a data breach. If so, let us automatically get your private info back for you and continually monitor your identity for new leaks.{% else %}{{ ftl('firefox-products-see-if-your-personal-information') }}{% endif %}</p>
|
||||
<p><a class="mzp-c-cta-link" href="https://monitor.mozilla.org/{{ referrals }}" data-cta-type="link" data-cta-text="Check for breaches">{% if LANG == 'en-US' %}Check for breaches now{% else %}{{ ftl('firefox-products-check-for-breaches') }}{% endif %}</a></p>
|
||||
<p id="qa-monitor-button-wrapper">
|
||||
{{ monitor_fxa_button(
|
||||
entrypoint='mozilla.org-firefox-products',
|
||||
|
|
|
@ -84,7 +84,9 @@
|
|||
<section class="c-products mzp-l-content mzp-t-content-xl">
|
||||
<h2>{{ ftl('home-mozilla-makes-privacy') }}</h2>
|
||||
|
||||
<ul class="mzp-l-columns mzp-t-columns-four">
|
||||
{% set show_monitor_picto = ftl_has_messages('home-product-monitor-data', 'home-cta-get-monitor') %}
|
||||
|
||||
<ul class="{% if show_monitor_picto %}c-product-columns{% else %}mzp-l-columns mzp-t-columns-four{% endif %}">
|
||||
|
||||
<!-- Firefox -->
|
||||
{% call picto(
|
||||
|
@ -104,7 +106,6 @@
|
|||
<a href="{{ url('firefox.new')}}" class="mzp-c-button mzp-t-secondary" id="homepage-get-firefox" data-cta-text="Get Firefox" data-cta-type="link">{{ ftl('home-cta-get-firefox') }}</a>
|
||||
{% endcall %}
|
||||
|
||||
|
||||
<!-- Pocket -->
|
||||
{% call picto(
|
||||
base_el='li',
|
||||
|
@ -158,6 +159,28 @@
|
|||
) %}
|
||||
<a href="{{ url('products.vpn.landing') }}" class="mzp-c-button mzp-t-secondary" id="homepage-get-mozilla-vpn" data-cta-text="Get Mozilla VPN" data-cta-type="link">{{ ftl('home-cta-get-vpn') }}</a>
|
||||
{% endcall %}
|
||||
|
||||
{% set monitor_desc = 'Automaticly reclaim your private info' if LANG == 'en-US' else ftl('home-product-monitor-data') %}
|
||||
|
||||
{% if show_monitor_picto %}
|
||||
<!-- Monitor -->
|
||||
{% call picto(
|
||||
base_el='li',
|
||||
title=monitor_desc,
|
||||
image=resp_img(
|
||||
url='protocol/img/logos/firefox/monitor/logo.svg',
|
||||
optional_attributes={
|
||||
'class': 'mzp-c-picto-image',
|
||||
'loading': 'lazy',
|
||||
'width': '50',
|
||||
'height': '50'
|
||||
}
|
||||
),
|
||||
body=True,
|
||||
) %}
|
||||
<a href="https://monitor.mozilla.org/" class="mzp-c-button mzp-t-secondary" id="homepage-get-monitor" data-cta-text="Get Mozilla Monitor" data-cta-type="link" rel="external noopener">{{ ftl('home-cta-get-monitor')}}</a>
|
||||
{% endcall %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -119,10 +119,18 @@
|
|||
)}}
|
||||
|
||||
{% if switch('mozilla-monitor-brand-name') %}
|
||||
{% if LANG == 'en-US' %}
|
||||
{% set title = 'Reclaim your stolen info from hackers'%}
|
||||
{% set desc = 'Mozilla Monitor lets you see if you’ve been part of a data breach and automatically gets your stolen info back.' %}
|
||||
{% else %}
|
||||
{% set title = ftl('newsletters-check-for-data-breaches') %}
|
||||
{% set desc = ftl('newsletters-mozilla-monitor-is-a-free', fallback='newsletters-firefox-monitor-is-a-free') %}
|
||||
{% endif %}
|
||||
|
||||
{{ card(
|
||||
title=ftl('newsletters-check-for-data-breaches'),
|
||||
ga_title='Check for data breaches',
|
||||
desc=ftl('newsletters-mozilla-monitor-is-a-free', fallback='newsletters-firefox-monitor-is-a-free'),
|
||||
title=title,
|
||||
ga_title=title,
|
||||
desc=desc,
|
||||
cta=ftl('newsletters-sign-in-to-monitor'),
|
||||
image=resp_img('img/newsletter/confirm/mozilla-monitor.png', optional_attributes={"loading": "lazy", "class": "mzp-c-card-image"}),
|
||||
aspect_ratio='mzp-has-aspect-16-9',
|
||||
|
|
|
@ -23,6 +23,8 @@ home-product-relay-masks = Easy-to-use email & phone masks
|
|||
home-cta-get-relay = Get { -brand-name-relay }
|
||||
home-product-vpn-trust = A VPN you can trust
|
||||
home-cta-get-vpn = Get { -brand-name-mozilla-vpn }
|
||||
home-product-monitor-data = Data breach alerts
|
||||
home-cta-get-monitor = Get { -brand-name-monitor }
|
||||
|
||||
home-mozilla-takes-bets = “{ -brand-name-mozilla } is taking bets to show the world there’s a business to be made with trustworthy AI. That includes putting things like human rights, data protection and transparency at the core of how these complex systems work.”
|
||||
|
||||
|
|
|
@ -118,6 +118,25 @@ header {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
&.c-product-columns {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-flow: column wrap;
|
||||
column-gap: $v-grid-sm;
|
||||
|
||||
.mzp-c-picto {
|
||||
height: 200px;
|
||||
width: 275px;
|
||||
margin: 0 0 $layout-lg;
|
||||
}
|
||||
|
||||
@media #{$mq-md} {
|
||||
align-items: flex-start;
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче