Skip to content

Commit 72d6118

Browse files
authored
Update SEI page (mozilla#16919)
* SEI page updates * table content and style update * update report link * add aira label for links with same texts * Add title to button icon
1 parent ba97c5f commit 72d6118

8 files changed

Lines changed: 79 additions & 44 deletions

File tree

bedrock/mozorg/templates/mozorg/impact-report/index.html

Lines changed: 46 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ <h1>
2929
</div>
3030

3131
<div class="c-subheader mzp-l-content">
32-
<h2>Learn how Mozilla is making the internet more equitable, inclusive, and sustainable</h2>
32+
<h2>Learn how Mozilla is making the internet more open, accessible, and sustainable</h2>
3333
</div>
3434
</header>
3535

3636
<section class="c-report">
3737
{% call split(
3838
block_class='mzp-l-split-center-on-sm-md mzp-l-split-reversed c-foundation',
3939
image=resp_img(
40-
url='img/mozorg/impact/report-cover.jpg',
40+
url='img/mozorg/impact/sheet-cover.jpg',
4141
srcset={
42-
'img/mozorg/impact/report-cover-high-res.jpg': '1.5x'
42+
'img/mozorg/impact/sheet-cover-high-res.jpg': '1.5x'
4343
},
4444
optional_attributes={
4545
'class': 'mzp-c-split-media-asset',
@@ -48,32 +48,23 @@ <h2>Learn how Mozilla is making the internet more equitable, inclusive, and sust
4848
),
4949
media_after=False
5050
) %}
51-
<h3>Our 2024 report</h3>
52-
<p>This holistic report by the Mozilla Corporation and Mozilla Foundation provides transparency to our employees, customers, and community on the progress of our Sustainability and Diversity, Equity, Inclusion, and Belonging commitments in 2023.</p>
53-
<p><a href="https://assets.mozilla.net/pdf/Impact_Report_2024.pdf" class="mzp-c-button">View the report</a></p>
51+
<h3>Our 2025 Fact Sheet</h3>
52+
<p>This Fact Sheet offers a snapshot of Mozilla’s Social and Environmental Impact in 2024, highlighting how we’re working to reduce our environmental footprint and foster a culture of belonging across our global teams.</p>
53+
<p>
54+
<a href="https://assets.mozilla.net/pdf/Mozilla_Impact_Report_2025.pdf" class="mzp-c-button">
55+
View the Fact Sheet
56+
<span class="mzp-c-button-icon-end">
57+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-labelledby="fact-sheet-icon"><title id="fact-sheet-icon">Download PDF</title><path fill="currentColor" d="m7.24 1.36 5.89 5.89H0v1.5h13.13l-5.89 5.89L8.3 15.7 16 8 8.3.3z"/></svg>
58+
</span>
59+
</a>
60+
</p>
5461
{% endcall %}
5562
</section>
5663

5764
<section class="c-cards mzp-l-content">
5865
<h3>Join us in making an impact!</h3>
5966

6067
<div class="mzp-l-card-quarter">
61-
{{ card(
62-
title='Help the planet',
63-
ga_title='Help the planet',
64-
image=resp_img('img/mozorg/impact/green-planet.jpg', optional_attributes={"loading": "lazy", "class": "mzp-c-card-image"}),
65-
desc='Ways each of us can protect and preserve Earth',
66-
link_url='https://getpocket.com/collections/how-to-help-the-planet-environment'
67-
)}}
68-
69-
{{ card(
70-
title='Fight anti-Black racism',
71-
ga_title='Fight anti-Black racism',
72-
image=resp_img('img/mozorg/impact/fight-racism.jpg', optional_attributes={"loading": "lazy", "class": "mzp-c-card-image"}),
73-
desc='A resource list compiled by Afrozilla',
74-
link_url='https://getpocket.com/collections/moving-from-ally-to-accomplice-in-the-anti-racist-fight-an-afrozilla-resource-list'
75-
)}}
76-
7768
{{ card(
7869
title='Make your website more accessible',
7970
ga_title='Make your website more accessible',
@@ -87,7 +78,7 @@ <h3>Join us in making an impact!</h3>
8778
ga_title='Become a Fellow',
8879
image=resp_img('img/mozorg/impact/mofo-fellows.jpg', optional_attributes={"loading": "lazy", "class": "mzp-c-card-image"}),
8980
desc='Address challenges facing a healthy internet',
90-
link_url='https://foundation.mozilla.org/en/what-we-fund/fellowships/'
81+
link_url='https://www.mozillafoundation.org/what-we-do/grantmaking/fellowship/'
9182
)}}
9283
</div>
9384
</section>
@@ -98,38 +89,54 @@ <h3>Explore our past reports</h3>
9889
<table class="mzp-u-data-table c-past-reports-table">
9990
<thead>
10091
<tr>
101-
<th>Diversity & Inclusion</th>
102-
<th>Sustainability</th>
92+
<th>Year</th>
93+
<th>Title</th>
10394
</tr>
10495
</thead>
10596
<tbody>
10697
<tr>
107-
<td><a href="{{ url('mozorg.diversity.2022.index') }}">2023 Diversity & Inclusion Report</a></td>
108-
<td><a href="{{ url('mozorg.sustainability.index') }}">2023 Sustainability Report</a> (2020-2022 data)</td>
98+
<td>2024</td>
99+
<td><a href="https://assets.mozilla.net/pdf/Impact_Report_2024.pdf" aria-label="2024 Mozilla Social & Environmental Impact Report">Mozilla Social &amp; Environmental Impact Report</a></td>
109100
</tr>
110101
<tr>
111-
<td><a href="{{ url('mozorg.diversity.2021.index') }}">2022 Diversity & Inclusion Report</a></td>
112-
<td><a href="https://blog.mozilla.org/en/mozilla/release-mozillas-greenhouse-gas-emissions-baseline/">Blog: Mozilla’s 2019 Greenhouse Gas Emissions</a></td>
102+
<td>2023</td>
103+
<td><a href="{{ url('mozorg.diversity.2022.index') }}" aria-label="2023 Diversity & Inclusion Report">Diversity & Inclusion Report</a></td>
113104
</tr>
114105
<tr>
115-
<td><a href="https://foundation.mozilla.org/en/blog/mozilla-foundation-2020-diversity-disclosure/">2020 Mozilla Foundation D&I Report</a></td>
116-
<td><a href="https://blog.mozilla.org/wp-content/blogs.dir/278/files/2021/02/Mozillas-2019-Greenhouse-Gas-emissions-baseline_2020-11-18.pdf">Detailed 2019 Greenhouse Gas Emissions Inventory</a></td>
106+
<td>2023</td>
107+
<td><a href="{{ url('mozorg.sustainability.index') }}" aria-label="">Sustainability Report (2020-2022 data)</a></td>
108+
</tr>
109+
<tr>
110+
<td>2022</td>
111+
<td><a href="{{ url('mozorg.diversity.2021.index') }}" aria-label="2022 Diversity & Inclusion Report">Diversity & Inclusion Report</a></td>
112+
</tr>
113+
<tr>
114+
<td>2020</td>
115+
<td><a href="https://foundation.mozilla.org/en/blog/mozilla-foundation-2020-diversity-disclosure/" aria-label="2020 Mozilla Foundation D&I Report">Mozilla Foundation D&I Report</a></td>
116+
</tr>
117+
<tr>
118+
<td>2020</td>
119+
<td><a href="https://blog.mozilla.org/careers/mozilla-diversity-inclusion-2019-results/" aria-label="2020 Mozilla Corporation D&I Report">Mozilla Corporation D&I Report</a></td>
117120
</tr>
118121
<tr>
119-
<td><a href="https://blog.mozilla.org/careers/mozilla-diversity-inclusion-2019-results/">2020 Mozilla Corporation D&I Report</a></td>
120-
<td></td>
122+
<td>2019</td>
123+
<td><a href="https://blog.mozilla.org/careers/mozilla-diversity-inclusion-2018-results/" aria-label="2019 Mozilla Corporation D&I Report">Mozilla Corporation D&I Report</a></td>
121124
</tr>
122125
<tr>
123-
<td><a href="https://blog.mozilla.org/careers/mozilla-diversity-inclusion-2018-results/">2019 Mozilla Corporation D&I Report</a></td>
124-
<td></td>
126+
<td>2019</td>
127+
<td><a href="https://blog.mozilla.org/en/mozilla/release-mozillas-greenhouse-gas-emissions-baseline/">Blog: Mozilla’s 2019 Greenhouse Gas Emissions</a></td>
128+
</tr>
129+
<tr>
130+
<td>2019</td>
131+
<td><a href="https://blog.mozilla.org/wp-content/blogs.dir/278/files/2021/02/Mozillas-2019-Greenhouse-Gas-emissions-baseline_2020-11-18.pdf">Detailed 2019 Greenhouse Gas Emissions Inventory</a></td>
125132
</tr>
126133
<tr>
127-
<td><a href="https://blog.mozilla.org/careers/diversity-and-inclusion-at-mozilla/">2018 Mozilla Corporation D&I Report</a></td>
128-
<td></td>
134+
<td>2018</td>
135+
<td><a href="https://blog.mozilla.org/careers/diversity-and-inclusion-at-mozilla/" aria-label="2018 Mozilla Corporation D&I Report">Mozilla Corporation D&I Report</a></td>
129136
</tr>
130137
<tr>
131-
<td><a href="https://blog.mozilla.org/careers/diversity-and-inclusion-at-mozilla-foundation/">2018 Mozilla Foundation D&I Report</a></td>
132-
<td></td>
138+
<td>2018</td>
139+
<td><a href="https://blog.mozilla.org/careers/diversity-and-inclusion-at-mozilla-foundation/" aria-label="2018 Mozilla Foundation D&I Report">Mozilla Foundation D&I Report</a></td>
133140
</tr>
134141
</tbody>
135142
</table>

media/css/mozorg/impact.scss

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,19 @@ header {
7878
}
7979

8080
.c-cards {
81+
margin: auto;
82+
8183
h3 {
8284
text-align: center;
8385
}
86+
87+
.mzp-l-card-quarter {
88+
@media #{$mq-md} {
89+
display: flex;
90+
justify-content: center;
91+
}
92+
93+
}
8494
}
8595

8696
.c-past-reports {
@@ -92,19 +102,37 @@ header {
92102
}
93103

94104

95-
.c-past-reports-table {
105+
.c-past-reports-table.mzp-u-data-table {
96106
margin: 0 auto;
97107
margin-top: $spacing-2xl;
98108
table-layout: auto;
99109

100-
th,
110+
th {
111+
padding: 0 0 $spacing-xs;
112+
}
113+
101114
td {
102-
max-width: 420px;
103-
vertical-align: top;
115+
padding: $spacing-md 0;
116+
border-top: 2px solid #F4F4F4;
117+
118+
&:first-of-type {
119+
padding-right: $spacing-2xl;
120+
}
121+
}
122+
123+
a {
124+
font-weight: 600;
125+
margin: $spacing-md 0;
126+
text-decoration: none;
127+
128+
&:hover,
129+
&:active {
130+
text-decoration: underline;
131+
}
104132
}
105133

106134
@media #{$mq-md} {
107-
table-layout: fixed;
108135
width: 790px;
136+
max-width: 100%;
109137
}
110138
}
-40.3 KB
Binary file not shown.
-35.4 KB
Binary file not shown.
-141 KB
Binary file not shown.
-68 KB
Binary file not shown.
74.9 KB
Loading
35.1 KB
Loading

0 commit comments

Comments
 (0)