Skip to content

Commit

Permalink
updated webalmanac version
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio Biselli authored and Claudio Biselli committed Dec 5, 2024
1 parent 5e43887 commit 3a43468
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion www/assets/js/conditional_metrics/carbon-footprint.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions www/resources/views/pages/carboncontrol.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<h3 class="hed_sub">Your Footprint, in Context... <em>(Using <a href="https://developers.thegreenwebfoundation.org/co2js/explainer/methodologies-for-calculating-website-carbon/#the-sustainable-web-design-model">Sustainable Web Design</a> Model)</em></h3>
<div class="ei_diagnostics ei_diagnostics-context">
<ul>
@php ($avgSiteCarbon = 0.6)
@php ($avgSiteCarbon = 0.3)
@php ($avgMileCarbon = 404)
@php ( $mileCompare = round($avgMileCarbon / $carbon_footprint['sustainable-web-design']))

Expand All @@ -134,7 +134,7 @@
<img src="/assets/images/src/env-car.svg" alt="car with exhaust sketch">
</li>
<li>
<span>The median CO2 footprint of the top 1000 websites is <strong>{{ $avgSiteCarbon }} grams per visit</strong>*. This website emits {!! $footCompare !!} per visit. <small>* Source: <a href="https://almanac.httparchive.org/en/2022/">2022 Web Almanac</a></small></span>
<span>The median CO2 footprint of the top 1000 websites is <strong>{{ $avgSiteCarbon }} grams per visit</strong>*. This website emits {!! $footCompare !!} per visit. <small>* Source: <a href="https://almanac.httparchive.org/en/2024/">2024 Web Almanac</a></small></span>
<img src="/assets/images/src/env-scale.svg" alt="scales with servers in them sketch">
</li>
<li>
Expand Down Expand Up @@ -250,7 +250,7 @@

<h4>Additionally, check out these excellent resources:</h4>
<ul>
<li><a href="https://almanac.httparchive.org/en/2022/sustainability">2022 Web Almanac: Sustainability</a></li>
<li><a href="https://almanac.httparchive.org/en/2024/sustainability">2024 Web Almanac: Sustainability</a></li>
<li><a href="https://www.thegreenwebfoundation.org/">Green Web Foundation</a></li>
</ul>
</div>
Expand Down

0 comments on commit 3a43468

Please sign in to comment.