Skip to content
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

Update sustainability.js to include anchor links #268

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/pages/sustainability.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ const SustainabilityPage = () => {
</div>
<section className='section--sustainability-pledge'>
<div className='inner'>
<h2>2024 Sustainability Pledge</h2>
<h2 id="Pledge">2024 Sustainability Pledge</h2>
Copy link
Member

@grugnog grugnog Jul 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No objection to adding these, but CSS id and class names are conventionally lowercased - could we update these?

<h2 className='h3'>Public license for the public good</h2>
<p className='body'>
The pledge focuses on three key areas: Measurement & Monitoring, Education & Engagement, and Public Reporting. Let's dive into the details of our plan for a more sustainable future!
</p>
<div className='list--wrapper'>
<h3 className='h3'>Measurement & Monitoring: Data-Driven Sustainability</h3>
<h3 className='h3' id="Monitor">Measurement & Monitoring: Data-Driven Sustainability</h3>
<p className='body'>Measurement & Monitoring: Data-Driven Sustainability</p>
<ul className='body'>
<li>Establishing baseline performance budgets for websites and client projects</li>
Expand All @@ -36,7 +36,7 @@ const SustainabilityPage = () => {
</ul>
</div>
<div className='list--wrapper'>
<h3 className='h3'>Education & Engagement: Fostering a Culture of Sustainability</h3>
<h3 className='h3' id="Educate">Education & Engagement: Fostering a Culture of Sustainability</h3>
<p className='body'>In 2024, CivicActions will focus on:</p>
<ul className='body'>
<li>Integrating environmental sustainability into onboarding processes</li>
Expand All @@ -48,7 +48,7 @@ const SustainabilityPage = () => {
</ul>
</div>
<div className='list--wrapper'>
<h3 className='h3'>Public Reporting: Transparency and Accountability</h3>
<h3 className='h3' id="Reporting">Public Reporting: Transparency and Accountability</h3>
<p className='body'>For 2024, CivicActions commits to:</p>
<ul className='body'>
<li>Launching CivicActions.com/sustainability to share progress on key goals</li>
Expand All @@ -64,7 +64,7 @@ const SustainabilityPage = () => {
</section>
<section className='section--emissions'>
<div className='inner'>
<h2 className='h3'>Greenhouse Gas Emissions Audit</h2>
<h2 className='h3' id="Audit">Greenhouse Gas Emissions Audit</h2>
<div className='body'>
Our team worked with <a href='https://www.offsetalliance.co/civicactions-2023' className='external-link-white'>Offset Alliance to calculate our Scope 1, 2 and 3 emissions</a>. Our total contributions are estimated at 233.3 mT CO2e as outlined below:
<StaticImage src='../files/images/sustainability-emissions.png' alt='Chart of greenhouse gas emissions: Scope 1: 0, Scope 2: 0, Scope 3: 233.3 mT CO2e, 44.90 mT CO2e - Business Flights & Hotels, 76.96 mT CO2e - Facilities Energy Use, 111.44 mT CO2e - Purchased Goods & Services' />
Expand Down
Loading