-
Notifications
You must be signed in to change notification settings - Fork 918
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Reem H <[email protected]>
- Loading branch information
Showing
15 changed files
with
284 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
139 changes: 139 additions & 0 deletions
139
bedrock/mozorg/templates/mozorg/impact-report/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
{# | ||
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/. | ||
#} | ||
|
||
{% extends "base-protocol-mozilla.html" %} | ||
|
||
{% from "macros-protocol.html" import split, picto, card with context %} | ||
|
||
{% block page_title %}Social and Environmental Impact{% endblock %} | ||
{% block page_desc %}Mozilla supports making the internet more equitable, inclusive, and sustainable.{% endblock %} | ||
|
||
{% block page_css %} | ||
{{ css_bundle('protocol-split') }} | ||
{{ css_bundle('protocol-card') }} | ||
{{ css_bundle('impact') }} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<main> | ||
<header> | ||
<div class="c-hero-banner mzp-l-content"> | ||
<h1> | ||
<span>Our social</span> | ||
<span>&</span> <br> | ||
<span>environmental</span> <br> <span>impact</span> | ||
</h1> | ||
</div> | ||
|
||
<div class="c-subheader mzp-l-content"> | ||
<h2>Learn how Mozilla is making the internet more equitable, inclusive, and sustainable</h2> | ||
</div> | ||
</header> | ||
|
||
<section class="c-report"> | ||
{% call split( | ||
block_class='mzp-l-split-center-on-sm-md mzp-l-split-reversed c-foundation', | ||
image=resp_img( | ||
url='img/mozorg/impact/report-cover.jpg', | ||
srcset={ | ||
'img/mozorg/impact/report-cover-high-res.jpg': '1.5x' | ||
}, | ||
optional_attributes={ | ||
'class': 'mzp-c-split-media-asset', | ||
'loading': 'lazy' | ||
} | ||
), | ||
media_after=False | ||
) %} | ||
<h3>Our 2024 report</h3> | ||
<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> | ||
<p><a href="https://assets.mozilla.net/pdf/Impact_Report_2024.pdf" class="mzp-c-button">View the report</a></p> | ||
{% endcall %} | ||
</section> | ||
|
||
<section class="c-cards mzp-l-content"> | ||
<h3>Join us in making an impact!</h3> | ||
|
||
<div class="mzp-l-card-quarter"> | ||
{{ card( | ||
title='Help the planet', | ||
ga_title='Help the planet', | ||
image=resp_img('img/mozorg/impact/green-planet.jpg', optional_attributes={"loading": "lazy", "class": "mzp-c-card-image"}), | ||
desc='Ways each of us can protect and preserve Earth', | ||
link_url='https://getpocket.com/collections/how-to-help-the-planet-environment' | ||
)}} | ||
|
||
{{ card( | ||
title='Fight anti-Black racism', | ||
ga_title='Fight anti-Black racism', | ||
image=resp_img('img/mozorg/impact/fight-racism.jpg', optional_attributes={"loading": "lazy", "class": "mzp-c-card-image"}), | ||
desc='A resource list compiled by Afrozilla', | ||
link_url='https://getpocket.com/collections/moving-from-ally-to-accomplice-in-the-anti-racist-fight-an-afrozilla-resource-list' | ||
)}} | ||
|
||
{{ card( | ||
title='Make your website more accessible', | ||
ga_title='Make your website more accessible', | ||
image=resp_img('img/mozorg/impact/moz-a11y.jpg', optional_attributes={"loading": "lazy", "class": "mzp-c-card-image"}), | ||
desc='Tips, hints, and guidelines', | ||
link_url='https://developer.mozilla.org/en-US/blog/accessibility-celebrating-gaad-2023/' | ||
)}} | ||
|
||
{{ card( | ||
title='Become a Fellow', | ||
ga_title='Become a Fellow', | ||
image=resp_img('img/mozorg/impact/mofo-fellows.jpg', optional_attributes={"loading": "lazy", "class": "mzp-c-card-image"}), | ||
desc='Address challenges facing a healthy internet', | ||
link_url='https://foundation.mozilla.org/en/what-we-fund/fellowships/' | ||
)}} | ||
</div> | ||
</section> | ||
|
||
<section class="c-past-reports mzp-l-content"> | ||
<h3>Explore our past reports</h3> | ||
|
||
<table class="mzp-u-data-table c-past-reports-table"> | ||
<thead> | ||
<tr> | ||
<th>Diversity & Inclusion</th> | ||
<th>Sustainability</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><a href="{{ url('mozorg.diversity.2022.index') }}">2023 Diversity & Inclusion Report</a></td> | ||
<td><a href="{{ url('mozorg.sustainability.index') }}">2023 Sustainability Report</a> (2020-2022 data)</td> | ||
</tr> | ||
<tr> | ||
<td><a href="{{ url('mozorg.diversity.2021.index') }}">2022 Diversity & Inclusion Report</a></td> | ||
<td><a href="https://blog.mozilla.org/en/mozilla/release-mozillas-greenhouse-gas-emissions-baseline/">Blog: Mozilla’s 2019 Greenhouse Gas Emissions</a></td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://foundation.mozilla.org/en/blog/mozilla-foundation-2020-diversity-disclosure/">2020 Mozilla Foundation D&I Report</a></td> | ||
<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> | ||
</tr> | ||
<tr> | ||
<td><a href="https://blog.mozilla.org/careers/mozilla-diversity-inclusion-2019-results/">2020 Mozilla Corporation D&I Report</a></td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://blog.mozilla.org/careers/mozilla-diversity-inclusion-2018-results/">2019 Mozilla Corporation D&I Report</a></td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://blog.mozilla.org/careers/diversity-and-inclusion-at-mozilla/">2018 Mozilla Corporation D&I Report</a></td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://blog.mozilla.org/careers/diversity-and-inclusion-at-mozilla-foundation/">2018 Mozilla Foundation D&I Report</a></td> | ||
<td></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</section> | ||
|
||
</main> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
// 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'; | ||
|
||
header { | ||
background-color: $color-black; | ||
text-align: center; | ||
|
||
.c-hero-banner { | ||
min-height: 250px; | ||
background-color: $color-black; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
h1 { | ||
@include font-base; | ||
@include text-title-lg; | ||
color: $color-white; | ||
font-weight: normal; | ||
|
||
span { | ||
background: $color-green-70; | ||
} | ||
} | ||
|
||
@media #{$mq-md} { | ||
background-image: url('/media/img/mozorg/impact/arrow.png'); | ||
background-size: 900px; | ||
background-position: center center; | ||
background-repeat: no-repeat; | ||
min-height: 450px; | ||
|
||
h1 { | ||
@include font-size(90px); | ||
|
||
span { | ||
display: inline-block; | ||
margin-bottom: $spacing-md; | ||
padding: 0 $spacing-md; | ||
|
||
&:nth-of-type(1) { | ||
margin-left: -160px; | ||
} | ||
|
||
&:nth-of-type(3) { | ||
margin-left: 90px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@media #{$mq-lg} { | ||
@include background-size(1300px, auto); | ||
} | ||
} | ||
|
||
.c-subheader { | ||
padding-bottom: $spacing-xl; | ||
padding-top: 0; | ||
|
||
h2 { | ||
@include text-title-xs; | ||
@include font-base; | ||
color: $color-white; | ||
font-weight: 500; | ||
} | ||
} | ||
} | ||
|
||
.c-foundation { | ||
padding-bottom: 0; | ||
} | ||
|
||
.c-cards { | ||
h3 { | ||
text-align: center; | ||
} | ||
} | ||
|
||
.c-past-reports { | ||
padding-top: 0; | ||
|
||
h3 { | ||
text-align: center; | ||
} | ||
} | ||
|
||
|
||
.c-past-reports-table { | ||
margin: 0 auto; | ||
margin-top: $spacing-2xl; | ||
table-layout: auto; | ||
|
||
th, | ||
td { | ||
max-width: 420px; | ||
vertical-align: top; | ||
} | ||
|
||
@media #{$mq-md} { | ||
table-layout: fixed; | ||
width: 790px; | ||
} | ||
} |
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters