Skip to content

Commit 3fe3a25

Browse files
Merge pull request #1008 from uscensusbureau/develops-impact-page-v2
Develops impact page v2
2 parents 73548ba + 47a01d8 commit 3fe3a25

44 files changed

Lines changed: 933 additions & 20 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_data/nav.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ primary:
88
href: our-process/
99
- text: FAQs
1010
href: faqs/
11-
- text: Press
12-
href: press/
11+
- text: Impact
12+
href: impact/
1313
- text: Sprints
1414
href: sprints/
1515
- text: Products
@@ -71,8 +71,8 @@ footer:
7171
href: our-process/
7272
- text: FAQs
7373
href: faqs/
74-
- text: Press
75-
href: press/
74+
- text: Impact
75+
href: impact/
7676
- subsection:
7777
title: Sprints
7878
href: sprints/

_includes/impact/numbers.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{% assign data = include.data %}
2+
3+
{% for item in data %}
4+
<div class="impact-item shadow-box">
5+
<p class="number text-bold {% if item.class%}{{item.class}}{%endif%}">{{item.number}}</p>
6+
<div class="report-details">
7+
<h3 class="title font-family-serif">{{item.title}}</h3>
8+
<p class="info">{{item.blurb}}</p>
9+
</div>
10+
</div>
11+
{% endfor %}

_includes/impact/profile.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{% assign data = include.data %}
2+
3+
{% for info in data %}
4+
<div class="individual-info {% if info.class%}{{info.class}}{%endif%}">
5+
<div class="info-img-container">
6+
<img src="{{info.img.src}}" {% if info.img.alt %}alt="{{info.img.alt}}"{%endif%}>
7+
</div>
8+
<div class="info-content">
9+
<h3 class="font-family-serif">{{info.title | markdownify | remove: "<p>" | remove: "</p>"}}</h3>
10+
{% if info.subtitle %}
11+
<p class="subtitle font-family-serif">{{info.subtitle}}</p>
12+
{% endif %}
13+
{% if info.org %}
14+
<p class="org">{{info.org}}</p>
15+
{% endif %}
16+
<p class="blurb">{{info.blurb | markdownify | remove: "<p>" | remove: "</p>"}}</p>
17+
</div>
18+
</div>
19+
{% endfor %}

_includes/impact/subnav.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<nav id="subnav" class="display-none tablet:display-block">
2+
<div class="nav-content-container">
3+
<a href="{{site.baseurl}}/impact#team-intro">Note</a>
4+
<a href="{{site.baseurl}}/impact#years">Timeline</a>
5+
<a href="{{site.baseurl}}/impact#impact-numbers">Numbers</a>
6+
<a href="{{site.baseurl}}/impact#products">Products</a>
7+
<a href="{{site.baseurl}}/impact#report-download">Download</a>
8+
</div>
9+
</nav>

0 commit comments

Comments
 (0)