-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SEI Evergreen page #14595
Open
reemhamz
wants to merge
4
commits into
mozilla:main
Choose a base branch
from
reemhamz:sei-2024
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
SEI Evergreen page #14595
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
133 changes: 133 additions & 0 deletions
133
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,133 @@ | ||
{# | ||
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': '2x' | ||
}, | ||
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> | ||
<a href="" class="mzp-c-button">View the report</a> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Waiting for this PDF. |
||
{% 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> | ||
</tr> | ||
<tr> | ||
<td><a href="https://blog.mozilla.org/careers/mozilla-diversity-inclusion-2018-results/">2019 Mozilla Corporation D&I Report</a></td></tr> | ||
<tr> | ||
<td><a href="https://blog.mozilla.org/careers/diversity-and-inclusion-at-mozilla/">2018 Mozilla Corporation D&I Report</a></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></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
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,110 @@ | ||
// 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 { | ||
reemhamz marked this conversation as resolved.
Show resolved
Hide resolved
|
||
@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-md; | ||
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; | ||
} | ||
|
||
@media #{$mq-md} { | ||
table-layout: fixed; | ||
width: 790px; | ||
} | ||
} |
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this helper here as well so locales that haven't been translated for yet don't see this bit. However this Impact page is strictly in English so I don't know how critical this helper is to add