This repository has been archived by the owner on Nov 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1429 from 18F/state-pages-design
State pages design – take 1
- Loading branch information
Showing
23 changed files
with
253 additions
and
140 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
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 was deleted.
Oops, something went wrong.
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,80 @@ | ||
<section id="overview" data-nav-header="overview"> | ||
|
||
<p>This is where an introduction to this page will go with a few nice words on what a regional profile is and what to expect here. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.</p> | ||
|
||
<section class="panel-gray container-outer"> | ||
|
||
<p>{% | ||
include location/key-gdp.html | ||
location_id=state_id | ||
location_name=state_name | ||
year=year | ||
%}</p> | ||
|
||
<hr/> | ||
|
||
<ul class="list-bullet key-facts"> | ||
|
||
<li class="revenue">{% | ||
include location/key-revenue.html | ||
location_id=state_id | ||
location_name=state_name | ||
year=year | ||
top=top_products | ||
%}</li> | ||
|
||
<li class="production all-production">{% | ||
include location/key-all-production.html | ||
location_id=state_id | ||
location_name=state_name | ||
year=year | ||
top=top_products | ||
%}</li> | ||
|
||
<li class="production federal-production">{% | ||
include location/key-federal-production.html | ||
location_id=state_id | ||
location_name=state_name | ||
year=year | ||
top=top_products | ||
%}</li> | ||
|
||
<li class="employment">{% | ||
include location/key-jobs.html | ||
location_id=state_id | ||
location_name=state_name | ||
year=year | ||
%}</li> | ||
|
||
<li class="gdp">{% | ||
include location/key-gdp.html | ||
location_id=state_id | ||
location_name=state_name | ||
year=year | ||
%}</li> | ||
|
||
<li class="exports"> | ||
{% capture exports_summary %} | ||
{% | ||
include location/key-exports.html | ||
location_id=state_id | ||
location_name=state_name | ||
year=year | ||
%} | ||
{% endcapture %}{{ exports_summary }} | ||
</li> | ||
|
||
<li class="disbursements"> | ||
{% capture disbursements_summary %} | ||
{% | ||
include location/key-disbursements.html | ||
location_id=state_id | ||
location_name=state_name | ||
year=year | ||
%} | ||
{% endcapture %}{{ disbursements_summary }} | ||
</li> | ||
|
||
</ul> | ||
</section> | ||
</section> |
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 |
---|---|---|
@@ -1,39 +1,44 @@ | ||
{% capture states_svg %}{{ site.baseurl }}/maps/states/all.svg{% endcapture %} | ||
{% capture state_svg %}{{ site.baseurl }}/maps/states/{{ state_id }}.svg{% endcapture %} | ||
<section id="ownership"> | ||
<section id="ownership" data-nav-header="ownership" class="container-outer"> | ||
<h2>Land ownership</h2> | ||
<p><strong>In {{ state_name }}, {{ site.data.land_stats[state_id].federal_percent | percent }} percent of land is owned by the federal government.</strong></p> | ||
|
||
<figure> | ||
{% assign _width = 50 %} | ||
{% assign _viewbox = site.data.viewboxes[state_id] %} | ||
<div class="svg-container county map-container"{% if _viewbox %} | ||
style="width: {{ _width }}%; padding-bottom: {{ _viewbox | svg_viewbox_padding: _width }}%;"{% endif %}> | ||
<svg class="county ownership map"{% if _viewbox %} viewBox="{{ _viewbox }}"{% endif %}> | ||
<g class="states features"> | ||
<use xlink:href="{{ states_svg }}#states"></use> | ||
</g> | ||
<g class="states mesh"> | ||
<use xlink:href="{{ states_svg }}#states-mesh"></use> | ||
</g> | ||
<g class="counties features"> | ||
<use xlink:href="{{ state_svg }}#counties"></use> | ||
</g> | ||
{% | ||
include maps/federal_land_ownership.svg | ||
clip='#state-outline' | ||
%} | ||
<g class="counties mesh"> | ||
<use xlink:href="{{ state_svg }}#counties-mesh"></use> | ||
</g> | ||
<g class="state feature overlay"> | ||
<use xlink:href="{{ states_svg }}#state-{{ state_id }}"></use> | ||
</g> | ||
</svg> | ||
</div> | ||
|
||
<figcaption>Federally owned land (gray)</figcaption> | ||
</figure> | ||
<section class="container-half"> | ||
<h3>In {{ state_name }}, {{ site.data.land_stats[state_id].federal_percent | percent }} percent of land is owned by the federal government.</h3> | ||
|
||
<p>When companies extract natural resources on federal land, they pay royalties, rents, bonuses, and other fees — much like they would to any landowner. They also have to report more data about their activities on government-owned land than on private land. Learn more about <a href="{{ site.baseurl }}/how-it-works/ownership/">natural resources and land ownership in the U.S.</a></p> | ||
<p>When companies extract natural resources on federal land, they pay royalties, rents, bonuses, and other fees — much like they would to any landowner. They also have to report more data about their activities on government-owned land than on private land. Learn more about <a href="{{ site.baseurl }}/how-it-works/ownership/">natural resources and land ownership in the U.S.</a></p> | ||
</section> | ||
|
||
<aside class="container-half"> | ||
<figure> | ||
{% assign _viewbox = site.data.viewboxes[state_id] %} | ||
<div class="svg-container county map-container"{% if _viewbox %} | ||
style="padding-bottom: {{ _viewbox | svg_viewbox_padding: _width }}%;"{% endif %}> | ||
<svg class="county ownership map"{% if _viewbox %} viewBox="{{ _viewbox }}"{% endif %}> | ||
<g class="states features"> | ||
<use xlink:href="{{ states_svg }}#states"></use> | ||
</g> | ||
<g class="states mesh"> | ||
<use xlink:href="{{ states_svg }}#states-mesh"></use> | ||
</g> | ||
<g class="counties features"> | ||
<use xlink:href="{{ state_svg }}#counties"></use> | ||
</g> | ||
{% | ||
include maps/federal_land_ownership.svg | ||
clip='#state-outline' | ||
%} | ||
<g class="counties mesh"> | ||
<use xlink:href="{{ state_svg }}#counties-mesh"></use> | ||
</g> | ||
<g class="state feature overlay"> | ||
<use xlink:href="{{ states_svg }}#state-{{ state_id }}"></use> | ||
</g> | ||
</svg> | ||
</div> | ||
|
||
<figcaption><icon class="icon-plus-lg"></icon> Details</figcaption> | ||
</figure> | ||
</aside> | ||
</section> |
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
Oops, something went wrong.