Skip to content

Commit 0777b56

Browse files
committed
Bug 1112324 - updates to privacy day home promo
* Add tracking params to URLs * Font size adjustment (smaller for non-English)
1 parent bf0b78d commit 0777b56

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

bedrock/mozorg/templates/mozorg/home/home-new.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h2 class="go">{{ _('Download Firefox') }}</h2>
148148
{% if LANG.startswith('en') and waffle.switch('mozorg-home-privacy-promo-jan28') %}
149149
<li id="promo-6" class="item promo-large-landscape privacy-day" tabindex="0" data-name="January 28 is Data Privacy Day">
150150
<h2 class="primary go">January 28 is Data Privacy Day</h2>
151-
<a class="panel-link" rel="external" href="{{ url('privacy.privacy-day') }}">
151+
<a class="panel-link" rel="external" href="{{ url('privacy.privacy-day') }}?utm_source=mozorg&amp;utm_medium=tile&amp;utm_campaign=DPD15">
152152
<div class="secondary">
153153
<h3>Get smart on privacy<br> in four easy steps.</h3>
154154
<p class="more">Learn how</p>
@@ -158,7 +158,7 @@ <h3>Get smart on privacy<br> in four easy steps.</h3>
158158
{% else %}
159159
<li id="promo-6" class="item promo-large-landscape privacy-day" tabindex="0" data-name="Get smart on privacy">
160160
<h2 class="primary go">{{ _('Get Smart on Privacy') }}</h2>
161-
<a class="panel-link" rel="external" href="{{ url('privacy.privacy-day') }}">
161+
<a class="panel-link" rel="external" href="{{ url('privacy.privacy-day') }}?utm_source=mozorg&amp;utm_medium=tile&amp;utm_campaign=DPD15">
162162
<div class="secondary">
163163
<h3>{{ _('Learn how to give yourself more control online in four easy steps.') }}</h3>
164164
<p class="more">{{ _('Get smart on privacy') }}</p>

media/css/mozorg/home/home-promo.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,14 @@ html[lang|="en"] {
778778
.background-size(100px, 100px);
779779

780780
h2 {
781-
padding: 20px 10px 10px 130px;
781+
padding: 20px 10px 10px 125px;
782+
.font-size(16px);
783+
}
784+
}
785+
786+
[lang|='en'] {
787+
.promo-small-landscape.advocacy h2 {
788+
.font-size(22px);
782789
}
783790
}
784791

0 commit comments

Comments
 (0)