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

Updates about page #852

Open
wants to merge 53 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
18a6c8d
Updates hero header for process page
sadiejay Jul 25, 2024
5ec45ba
WIP: Adds yaml for component
sadiejay Jul 25, 2024
772e2fc
WIP: Adds new component to process page
sadiejay Jul 25, 2024
1328323
WIP: Creates new include
sadiejay Jul 25, 2024
8669889
Removes unused include
sadiejay Jul 25, 2024
cab0cd3
Updates yaml for include
sadiejay Aug 21, 2024
f5976fc
Adds styling for semi-pill CTA
sadiejay Aug 21, 2024
797529d
Adds approved copy
sadiejay Aug 21, 2024
01edb4f
Removes old code
sadiejay Aug 21, 2024
928469b
Adds cta sections
sadiejay Aug 21, 2024
52c29aa
Creates how it works section
sadiejay Aug 21, 2024
1d8a642
Merge pull request #6 from uscensusbureau/main
sadiejay Aug 21, 2024
5936605
Adds files to sprint process folder
sadiejay Aug 21, 2024
b9f12bb
Updates yaml
sadiejay Aug 21, 2024
378ec2a
Renames class for sprint process page
sadiejay Aug 21, 2024
5453581
Adjusts font sizing for sprint process page
sadiejay Aug 21, 2024
24744be
Removes lorem ipsum
sadiejay Aug 21, 2024
7947f9d
Adds styling to page header
sadiejay Aug 26, 2024
f995ea8
Adds div and spacing
sadiejay Aug 26, 2024
f8c2629
Removes section from include
sadiejay Aug 26, 2024
c169125
Restructures include and adds spacing
sadiejay Aug 26, 2024
bf37074
Adds styling
sadiejay Aug 26, 2024
57edae6
Adds sections and divs around includes
sadiejay Aug 26, 2024
835742a
Removes extra formatting
sadiejay Aug 26, 2024
5fdd56d
Adds div to how it works details div
sadiejay Aug 26, 2024
dabeda2
Adds flex property to cta
sadiejay Aug 26, 2024
9fe3005
Adjusts spacing
sadiejay Aug 27, 2024
57da902
Adjusts font sizing
sadiejay Aug 27, 2024
df5a429
Adds underline to link
sadiejay Aug 27, 2024
b9a8496
Changes background color
sadiejay Aug 27, 2024
268a0fa
Adds background images
sadiejay Aug 27, 2024
a86a092
Changes alignment for svg
sadiejay Aug 27, 2024
96b60f2
Adds id to roles section
sadiejay Aug 27, 2024
6f4af99
Adds bg files for sprint process page
sadiejay Aug 27, 2024
41ba171
Changes permalink and adds redirect
sadiejay Aug 27, 2024
9f57ea0
Adds new page name
sadiejay Aug 28, 2024
b584389
Adds trailing backslash to permalinks
sadiejay Aug 28, 2024
990d0be
Removes test code
sadiejay Aug 28, 2024
8f2aeec
Adds background for mobile and tablet header
sadiejay Aug 28, 2024
345bb1d
Updates header spacing and background
sadiejay Aug 28, 2024
72733af
Adds new background img
sadiejay Aug 29, 2024
5592750
Adjusts hero code for about page
sadiejay Aug 30, 2024
a088ce4
Updates hero text
sadiejay Aug 30, 2024
0837046
Adds copy and removes old code
sadiejay Aug 30, 2024
7d8be7c
Adds COIL intro section
sadiejay Sep 6, 2024
c0afadd
Adds HTML for card section
sadiejay Sep 6, 2024
e8cab04
WIP: styles about page
sadiejay Sep 11, 2024
52c9108
WIP: Adding components and copy
sadiejay Sep 13, 2024
16d25dd
Merge pull request #851 from sadiejay/about-page-refresh
sadiejay Sep 13, 2024
e0871b9
Adds COIL logo
sadiejay Sep 17, 2024
0bc614c
Updates copy
sadiejay Sep 17, 2024
01d3739
WIP: Adds styling
sadiejay Sep 17, 2024
c09a5c4
Merge pull request #853 from sadiejay/about-page-refresh
sadiejay Sep 17, 2024
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
37 changes: 8 additions & 29 deletions _includes/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,6 @@
<p class="usa-hero__subtitle desktop:grid-col-5">{{ page.hero.subtext }}</p>
</div>
</div>
{% elsif page.class == "about"%}
<section class="interior-hero bg-base-darkest usa-dark-background desktop:padding-bottom-9 padding-bottom-5">
<div class="grid-container">

<div class="maxw-mobile-lg grid-offset-1 margin-top-9">
<h1
class="hero--heading line-height-sans-3 text-semi-bold ls-2 font-lang-13 text-white margin-top-10"
>
{{ page.title }}
</h1>
{% for p in page.lead %}
<p class="font-sans-md text-white">{{ p }}</p>
{% endfor %}
</div>
</div>
{% elsif page.class == "datakit" %}
<section class="interior-hero bg-base-darkest usa-dark-background desktop:padding-bottom-9 padding-bottom-5">
<div class="grid-container">
Expand Down Expand Up @@ -78,20 +63,6 @@ <h1 class="hero--heading margin-top-10 line-height-sans-3 text-semi-bold ls-2 fo
</div>
</div>
</div>
{% elsif page.class == "our-process" %}
<section class="page-process interior-hero bg-base-darkest usa-dark-background desktop:padding-bottom-9 padding-bottom-5">
<div class="grid-container">
<div class="maxw-mobile-lg grid-offset-1 margin-top-9">
<h1
class="hero--heading margin-top-10 line-height-sans-3 text-semi-bold font-lang-13 text-white"
>
{{ page.title }}
</h1>
{% for p in page.lead %}
<p class="font-sans-md text-white">{{ p }}</p>
{% endfor %}
</div>
</div>
{% elsif page.class == "case-study" %}
<section class="interior-hero bg-base-darkest usa-dark-background">
<div class="grid-container usa-hero__bg display-flex flex-column flex-align-center padding-bottom-3">
Expand Down Expand Up @@ -134,6 +105,14 @@ <h1 class="usa-hero__title">{{ page.hero.text}}</h1>
{{ page.hero.subtext | markdownify }}
</div>
</div>
{% elsif page.class == "sprint-process" or page.class == "about" %}
<section class="interior-hero bg-base-darkest usa-dark-background {{page.background}}">
<div class="grid-container usa-hero__bg display-flex flex-column flex-align-center">
<h1 class="usa-hero__title text-center">{{ page.hero.text}}</h1>
<div class="usa-hero__subtitle text-center">
{{ page.hero.subtext | markdownify }}
</div>
</div>
{% else %}
<section class="interior-hero bg-base-darkest usa-dark-background {{page.background}}">
<div class="grid-container usa-hero__bg display-flex flex-column flex-align-center">
Expand Down
85 changes: 85 additions & 0 deletions _includes/how-it-works-details.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{% assign data = include.data %}
<section class="bg-base-lighter how-it-works-details-bg">
<div class=" how-it-works-details ">
<div class="grid-container padding-x-0">
<ol class="padding-y-2 margin-0 padding-x-0">
<li class="bg-white padding-2 tablet:padding-3
desktop:padding-y-4 desktop:padding-x-5 margin-bottom-3 desktop:margin-bottom-7 text-bold">
Identify Challenges
<p class="text-normal">Government agencies or non-governmental organizations (NGOs) identify high-priority problems they seek to solve through the sprint. Challenges can be any priority facing the public.</p>
</li>
<li class="bg-white padding-2 tablet:padding-3
desktop:padding-y-4 desktop:padding-x-5 margin-bottom-3 desktop:margin-bottom-7 text-bold">
Team Up
<p class="text-normal">Technologists from industry, NGOs, and universities sign on to create data-driven, digital products in collaboration
with end users, community advocates, and data experts.</p>
</li>
<li class="bg-white padding-2 tablet:padding-3
desktop:padding-y-4 desktop:padding-x-5 margin-bottom-3 desktop:margin-bottom-7 text-bold">
Build
<div>
<p class="margin-bottom-0 overflow-hidden text-normal">
Tech teams build products during a 12-14 week technology development sprint that includes user research, data
exploration, and product development. Past products include mapping tools, apps, websites, games, AI algorithms, network
visualizations, and more.
</p>
<div class="grid-col">
<div class="usa-accordion usa-accordion--multiselectable padding-top-2" data-allow-multiple>
<h4 class="usa-accordion__heading">
<button type="button" class="usa-accordion__button light bg-base-darkest text-white" aria-expanded="true"
aria-controls="m-a1">
Sprint Milestones
</button>
</h4>

<div id="m-a1" class="usa-accordion__content usa-prose padding-x-0">
<ol class="padding-x-0">
<li class="text-bold margin-bottom-2 maxw-full">User Research:
<p class="text-normal display-inline">Teams conduct user research and connect with user advocates who can offer insights into their communities.</p>
</li>
<li class="text-bold margin-bottom-2 maxw-full">Data Discovery:
<p class="text-normal display-inline"> Teams begin identifying and exploring relevant datasets and connect with data stewards via email and phone to learn more about available datasets.</p>
</li>
<li class="text-bold margin-bottom-2 maxw-full">Concept Pitch:
<p class="text-normal display-inline">Teams present their initial progress and product concept for feedback.</p>
</li>
<li class="text-bold margin-bottom-2 maxw-full">Product Advising:
<p class="text-normal display-inline">Teams are paired with 1:1 product advisors that meet with the teams outside of milestones to discuss launch and product maintenance strategy</p>

</li>
<li class="text-bold margin-bottom-2 maxw-full">Beta Demo:
<p class="text-normal display-inline">Teams present a prototype of their product for feedback.</p>
</li>
<li class="text-bold maxw-full">MVP Demo:
<p class="text-normal display-inline">Teams present a minimum viable product as the final outcome of the sprint and receive feedback on sustainability and longevity of their work.</p>
</li>
</ol>

</div>

</div>

</div>
</div>
</li>
<li class="bg-white padding-2 tablet:padding-3
desktop:padding-y-4 desktop:padding-x-5 margin-bottom-3 desktop:margin-bottom-7 text-bold">
Launch
<p class="text-normal">Products are launched and federal agencies can decide how they want to showcase the results of their sprint.</p>
</li>
<li class="bg-white padding-2 tablet:padding-3
desktop:padding-y-4 desktop:padding-x-5 margin-bottom-3 text-bold">
Reach End Users
<p class="text-normal">After the sprint, participants have the option to stay in touch and continue product development and deployment.</p>
</li>
</ol>

<div class="display-flex flex-justify-center">
<a href="https://opportunity.census.gov/topx-toolkit/" target="_blank"
class="usa-button text-ink margin-top-2 tablet:padding-y-2 padding-x-3 usa-button--outline .outline-1px.outline-black tablet:margin-top-4 site-button bg-white">
Facilitate a TOP sprint at your agency on your timeline with the TOPx Toolkit.
</a>
</div>
</div>
</div>
</section>
75 changes: 75 additions & 0 deletions _includes/single-column-header-text-hot-dog-cta.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{% assign data = include.data %}



{% for data in data %}
<div class="grid-container padding-0 {% if data.custom.class %}{{ data.custom.class | slugify }}{% endif %}">
{% if data.text.title %}
<h2 class="margin-y-0 {% if data.text.title %}{{ data.text.title | slugify }}{% endif %} text-white">{{ data.text.title }}
</h2>
{% endif %}

<div class="text-wrapper padding-205 tablet:padding-3 {%if data.role %} margin-bottom-3 desktop:margin-bottom-7 {% endif %} tablet:margin-top-205 desktop:padding-y-5 desktop:padding-x-5 bg-white">
{% if data.text.subtitle %}

<h3 class="margin-0 margin-bottom-2">{{data.text.subtitle}}</h3>

{% endif %}

{% if data.role.title %}

<h3 class="margin-0">{{data.role.title}}</h3>

{% endif %}

{% if data.text.blurb %}
<p class="margin-y-0 overflow-hidden">
{{ data.text.blurb | markdownify | remove: "<p>" | remove: "</p>" }}
</p>

{% endif %}

{% if data.role.blurb %}
<p class="margin-bottom-0 overflow-hidden">
{{ data.role.blurb | markdownify | remove: "<p>" | remove: "</p>" }}
</p>
{% endif%}

{% if data.download.href %}
<div class=" display-flex flex-align-center margin-top-105 desktop:margin-top-3 roles-downloads">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" aria-hidden="true"
class="width-2 desktop:width-3 margin-right-05">
<path d="M0 0h24v24H0z" fill="none" />
<path
d="M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z" />
</svg>
<a href="{{site.baseurl}}/{{ data.download.href}} " class="">{{ data.download.text}}
</a>
</div>
{% endif %}

</div>





{% if data.cta %}
<h3>{{data.blurb.title}}</h3>
{% endif %}

{% if data.role-details %}
<div class="bg-white header-text-hot-dog padding-y-3 display-flex flex-justify-end">
<div class="radius-left-pill semi-cta bg-blue margin-left-4 padding-y-205">
<div class="grid-container padding-x-4">
<p>Interested in participating in a sprint?</p>
<a href="{{ site.baseurl }}/{{ site.annual_reports.2019 }}" target="_blank"
class="text-ink padding-y-1 margin-top-4">
Email the TOP team.
</a>
</div>
</div>
</div>
{% endif %}
</div>
{% endfor %}
Loading
Loading