Skip to content

Commit

Permalink
Text updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ModelEarth committed Mar 5, 2024
1 parent 91a7602 commit da265e2
Show file tree
Hide file tree
Showing 10 changed files with 64 additions and 77 deletions.
6 changes: 3 additions & 3 deletions apps.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<b>Setup a website to manage your models and stories</b>
<a href="../localsite/start/">Copy the starter page</a>&nbsp;or&nbsp;copy a folder here in the apps repo.

<a href="../localsite/start/">Copy the starter page</a>&nbsp;or&nbsp; [clone and work locally](../localsite/start/steps/).
<!--
More about contributing to <a href="../../community/challenge/how/">location&nbsp;model&nbsp;pages</a>.

-->
[Base Starter Folder](base/) - Copy to create your page and [edit parameters](../localsite/#parameters)
4 changes: 0 additions & 4 deletions benchmarks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
param.set = "energy"
//param.indicators = "GHG,GCC,MGHG,OGHG,HRSP,OZON,SMOG,HAPS"



// r?layers=brigades&state=CA&geo=US06073&&display=everything

if(typeof param=='undefined'){ var param={}; }
param.state = "CA"
param.show = "buildings"
Expand Down
32 changes: 0 additions & 32 deletions brigades/index.html

This file was deleted.

2 changes: 0 additions & 2 deletions brigades/json/README.md

This file was deleted.

1 change: 0 additions & 1 deletion brigades/json/brigade-projects.json

This file was deleted.

7 changes: 7 additions & 0 deletions coastal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@
<!--
Design https://igniteprism.com/
-->

<!--
<div style="float:left; padding:20px; padding-left:40px">
<b>US Production</b> | <a href="#industries">Top Industries</a> | <a href="#supply">Supply Chain</a> | <a href="#impact">Impact Levels</a>
</div>
-->

<div id="hero_holder">
<div class="displayOnload" style="display:none">
<div style="position:relative; displayX:none" class="sea freeclean herobox">
Expand Down
2 changes: 1 addition & 1 deletion get-involved/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
Create a More Sustainable Future<br>
<br>

<a href="/apps/brigades/" class="btn btn-primary" style="text-shadow: none; width: 100%; border:2px solid #ddd">Find Your CFA Brigade</a><br>
<a href="/apps/?show=brigades" class="btn btn-primary" style="text-shadow: none; width: 100%; border:2px solid #ddd">Find Your CFA Brigade</a><br>
<a href="https://www.sunrisemovement.org/hubs/" class="btn btn-primary" style="text-shadow: none; width: 100%; border:2px solid #ddd">Volunteer Locally</a><br>
<a href="https://www.charitynavigator.org/index.cfm?bay=content.view&cpid=8936" class="btn btn-primary" style="text-shadow: none; width: 100%; border:2px solid #ddd">Support Environmental Organizations</a><br>
<a href="https://www.house.gov/representatives/find-your-representative" class="btn btn-primary" style="text-shadow: none; width: 100%; border:2px solid #ddd">Contact your Rep </a><br>
Expand Down
21 changes: 0 additions & 21 deletions impact/ABOUT.md

This file was deleted.

26 changes: 24 additions & 2 deletions impact/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Community Footprints

See [https://zctaimpacts.abrie.dev](https://zctaimpacts.abrie.dev) for a live demonstration.
## About zip code (ZCTA) Impacts

Fork our fork from [https://github.com/modelearth/ZCTAImpacts](https://github.com/modelearth/ZCTAImpacts).

The parent repo is at [https://github.com/abrie/ZCTAImpacts](https://github.com/abrie/ZCTAImpacts). The [ZCTAImpacts Demo](https://zctaimpacts.abrie.dev) is not running a secure cert, so it may not be accessible. It loads slowly, so revisions are needed for loading the data.

You can run the demo on your local computer after downloading 220MB of data from the County Business Patterns API.

Let's figure out how to point the app at our static files instead.

**Innovation**

The app provides a simple search interface. Users are able to search by state, county, or zipcode and get an overview of the area's environmental impact. The overview is presented as a ["Nutrition Label"](https://model.earth/io/template/), indicating its contribution to the ["metabolism of the anthroposphere"](https://en.wikipedia.org/wiki/Anthropogenic_metabolism)

**Implementation**

The app fuses the EPA's USEEIO v2 to US Census Business Patterns through a searchable interface. It uses a React frontend and a Python backend.

**Integration**

The app provides a JSON API for querying the aggregated community totals. It's the same API used to generate the nutritional labels. Consumers of the API could use the data to generate a more compelling label, rank a set of communities, or measure local environmental trends over time.




[![New York State](zctaimpacts_ny_small.png)](zctaimpacts_ny_full.png)
40 changes: 29 additions & 11 deletions impact/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,21 @@
id="/apps/js/apps-impact.js"
></script>

<!-- Tried adding for hero menu of 6 sets, but still need everything -->
<link rel="stylesheet" href="/localsite/css/fonts/materialicons/icon.css" id="/localsite/css/fonts/materialicons/icon.css">
<link id="/buiwidgets.css" rel="stylesheet" type="text/css" href="/io/build/widgets.css" media="all">

<!-- Set custom app values -->
<script>
if (typeof param == "undefined") {
var param = {};
}
param.display = "everything";
param.lat = 37;
param.lon = -95.7;
param.state = "NY";
param.set = "air";
param.indicators = "GHG,GCC,MGHG,OGHG,HRSP,OZON,SMOG,HAPS";
//param.display = "everything";
//param.lat = 37;
//param.lon = -95.7;
//param.state = "NY";
//param.set = "air";
//param.indicators = "GHG,GCC,MGHG,OGHG,HRSP,OZON,SMOG,HAPS";
// More params: https://model.earth/localsite

// Shared Sections menu
Expand Down Expand Up @@ -84,16 +88,13 @@
});
</script>

<script
type="text/javascript"
src="../../localsite/js/localsite.js"
<script type="text/javascript" src="../../localsite/js/localsite.js"
></script>

<script>
// If edits to your README.md don't appear, clear your cache for prior 24 hours.
// Don’t clear more than 24hrs or you’ll wipe out your saved passwords and cookie settings.
loadMarkdown("README.md", "readmeDiv", "_parent");
loadMarkdown("ABOUT.md", "aboutDiv", "_parent");

//renderImpactWidget();
</script>
Expand Down Expand Up @@ -135,7 +136,9 @@
The hidden hero images are displayed once localsite/css/base.css loads.
The .displayOnload divs are displayed when the base.css file loads. This prevents the page from flickering while loading.
-->
<div id="hero_holder">

<!-- remove display non here, then try to remove the use of everything param -->
<div id="hero_holder" style="display: none;">
<div
id="hero-landscape-image"
class="bgimg displayOnload"
Expand Down Expand Up @@ -165,6 +168,7 @@
</div>
</div>

<!--
<div id="hero-rect" style="max-width: 740px; float: left">
<div
style="
Expand All @@ -188,6 +192,7 @@
><br />
</div>
</div>
-->

<div
id="hero-mini" class="hideMobile"
Expand All @@ -206,16 +211,29 @@
<div style="clear: both"></div>

<div class="content contentpadding">

<div class="floatRight">
<!--
[![New York State](zctaimpacts_ny_small.png)](zctaimpacts_ny_full.png)
-->
<a href="zctaimpacts_ny_full.png"><img src="zctaimpacts_ny_small.png"></a><br>
&nbsp; Screenshot of state lable from the ZCTA Impacts app.
</div>

<div style="overflow: auto; margin-right:30px">
<div id="readmeDiv"></div>
</div>

<div id="dataHeader"></div>
<div id="dataDisplay"></div>
<br />

<!--
<h2>Shared Sections</h2>
<div id="menuImages" style="display: none"></div>
<div style="clear: both"></div>
<br />
-->

<div id="aboutDiv"></div>
</div>
Expand Down

0 comments on commit da265e2

Please sign in to comment.