This repository has been archived by the owner on Apr 12, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
First up
- Loading branch information
Jeremia Kimelman
committed
Sep 2, 2015
0 parents
commit 5747380
Showing
43 changed files
with
2,657 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
_site | ||
.sass-cache |
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,19 @@ | ||
## Welcome! | ||
|
||
We're so glad you're thinking about contributing to an 18F open source project! If you're unsure about anything, just ask -- or submit the issue or pull request anyway. The worst that can happen is you'll be politely asked to change something. We love all friendly contributions. | ||
|
||
We want to ensure a welcoming environment for all of our projects. Our staff follow the [18F Code of Conduct](https://github.com/18F/code-of-conduct/blob/master/code-of-conduct.md) and all contributors should do the same. | ||
|
||
We encourage you to read this project's CONTRIBUTING policy (you are here), its [LICENSE](LICENSE.md), and its [README](README.md). | ||
|
||
If you have any questions or want to read more, check out the [18F Open Source Policy GitHub repository]( https://github.com/18f/open-source-policy), or just [shoot us an email](mailto:18f@gsa.gov). | ||
|
||
## Public domain | ||
|
||
This project is in the public domain within the United States, and | ||
copyright and related rights in the work worldwide are waived through | ||
the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/). | ||
|
||
All contributions to this project will be released under the CC0 | ||
dedication. By submitting a pull request, you are agreeing to comply | ||
with this waiver of copyright interest. |
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,31 @@ | ||
As a work of the United States Government, this project is in the | ||
public domain within the United States. | ||
|
||
Additionally, we waive copyright and related rights in the work | ||
worldwide through the CC0 1.0 Universal public domain dedication. | ||
|
||
## CC0 1.0 Universal Summary | ||
|
||
This is a human-readable summary of the [Legal Code (read the full text)](https://creativecommons.org/publicdomain/zero/1.0/legalcode). | ||
|
||
### No Copyright | ||
|
||
The person who associated a work with this deed has dedicated the work to | ||
the public domain by waiving all of his or her rights to the work worldwide | ||
under copyright law, including all related and neighboring rights, to the | ||
extent allowed by law. | ||
|
||
You can copy, modify, distribute and perform the work, even for commercial | ||
purposes, all without asking permission. | ||
|
||
### Other Information | ||
|
||
In no way are the patent or trademark rights of any person affected by CC0, | ||
nor are the rights that other persons may have in the work or in how the | ||
work is used, such as publicity or privacy rights. | ||
|
||
Unless expressly stated otherwise, the person who associated a work with | ||
this deed makes no warranties about the work, and disclaims liability for | ||
all uses of the work, to the fullest extent permitted by applicable law. | ||
When using or citing the work, you should not imply endorsement by the | ||
author or the affirmer. |
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,30 @@ | ||
# Modern Team Template for Federalist | ||
|
||
This is a Jekyll site. It is a simple site to showcase the work of an organization with a few different page types. | ||
|
||
This particular site is made for use with the [Federalist](https://github.com/18f/federalist) in mind. | ||
|
||
## 18F Open Source Policy | ||
|
||
This repository contains the official [Open Source Policy](policy.md) of [18F](https://18f.gsa.gov/) (a digital delivery team within the [General Services Administration](http://gsa.gov)). | ||
|
||
**[Read 18F's Open Source Policy.](policy.md)** | ||
|
||
### 18F Team Guidance | ||
|
||
For 18F team members, we have guidance on how 18F puts this policy into practice, and how we handle the narrow situations where we may delay or withhold the release of source code. | ||
|
||
**[18F's open source team practices.](practice.md)** | ||
|
||
### Credits | ||
|
||
This policy was originally forked from the [Consumer Financial Protection Bureau's policy](https://github.com/cfpb/source-code-policy). Thanks also to [@benbalter](https://github.com/benbalter) for his [insights regarding CFPB's initial policy](http://ben.balter.com/2012/04/10/whats-missing-from-cfpbs-awesome-new-source-code-policy/). | ||
|
||
|
||
### Public domain | ||
|
||
This project is in the worldwide [public domain](LICENSE.md). As stated in [CONTRIBUTING](CONTRIBUTING.md): | ||
|
||
> This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/). | ||
> | ||
> All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest. |
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,29 @@ | ||
# Site settings | ||
title: Your Team Name | ||
email: you@yourteam.gov | ||
description: Put a nifty sentence about what your team does. | ||
baseurl: "" # the subpath of your site, e.g. /blog/ | ||
url: "http://yourdomain.com" # the base hostname & protocol for your site | ||
|
||
# Build settings | ||
markdown: kramdown | ||
|
||
analytics: | ||
code: '<<UA-CODE-TO-COME>>' | ||
|
||
contact: | ||
agencyname: Your Team Name | ||
agencyimage: https://pages.18f.gov/usfwds/assets/img/logo-img.png | ||
email: you@yourteam.gov | ||
phonenumber: 800-555-5555 | ||
form: | ||
url: https://docs.google.com/forms/d/1Tsdm_2spbxWnmTFMrH5eHxpOAN9W4LB3eaMMXJ1N0rU/formResponse | ||
name: entry.1710277143 | ||
email: entry.1440502332 | ||
comments: entry.722489988 | ||
hidden: | ||
name: fbzx | ||
value: -7861934959779167198 | ||
|
||
federalist: | ||
root: '/pages' |
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,30 @@ | ||
<div class="usa-alert usa-alert-success" id="contact-alert" style="display: none;"> | ||
<div class="usa-alert-body"> | ||
<h3 class="usa-alert-heading">Thanks for getting in touch!</h3> | ||
</div> | ||
</div> | ||
|
||
<div class="usa-grid"> | ||
<form id="contact" action="{{ site.contact.form.url }}" method="POST"> | ||
|
||
<fieldset> | ||
|
||
<legend>Keep informed</legend> | ||
<div class="usa-width-one-half"> | ||
<label for="contact-email">Email Address</label> | ||
<input id="contact-email" name="{{ site.contact.form.email }}" type="text"> | ||
</div> | ||
<div class="usa-width-one-half usa-end-row"> | ||
<label>Your privacy and security are important to us.</label> | ||
</div> | ||
{% if site.contact.form.hidden %} | ||
<input id="contact-hidden" type="hidden" name="{{ site.contact.form.hidden.name }}" value="{{ site.contact.form.hidden.value }}"> | ||
{% endif %} | ||
<div class="usa-width-one-whole usa-input-buttons-inline"> | ||
<input type="submit" value="Subscribe to email updates"> | ||
</div> | ||
|
||
</fieldset> | ||
|
||
</form> | ||
</div> |
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,39 @@ | ||
<footer class="usa-footer usa-footer-medium usa-sans" role="contentinfo"> | ||
<div class="usa-footer-primary-section"> | ||
<div class="usa-grid-full"> | ||
<nav class="usa-footer-nav"> | ||
<ul class="usa-unstyled-list"> | ||
{% assign pages = site.pages %} | ||
{% for page in pages %} | ||
{% if page.nav %} | ||
<li class="usa-width-one-sixth usa-footer-primary-content"> | ||
<a class="usa-footer-primary-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
|
||
<div class="usa-footer-secondary_section"> | ||
<div class="usa-grid"> | ||
<div class="usa-footer-logo usa-width-one-half"> | ||
{% if site.contact.agencyimage %} | ||
<img class="usa-footer-logo-img" src="{{ site.contact.agencyimage }}" alt="Logo image"> | ||
{% endif %} | ||
</div> | ||
|
||
<div class="usa-footer-contact-links usa-width-one-half"> | ||
|
||
<address> | ||
<h3 class="usa-footer-contact-heading">Contact {{ site.contact.agencyname }}</h3> | ||
{% if site.contact.phonenumber %} | ||
<p><a href="tel:{{ site.contact.phonenumber }}">{{ site.contact.phonenumber }}</a></p> | ||
{% endif %} | ||
<p><a href="mailto:{{ site.contact.email }}">{{ site.contact.email }}</a></p> | ||
</address> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> |
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,22 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<title> | ||
{% if page.title %} | ||
{{ page.title }} | {{ site.title }} | ||
{% else %} | ||
{{ site.title }} | ||
{% endif %} | ||
</title> | ||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
|
||
<link rel="stylesheet" href="{{ '/assets/css/usfwds.css' | prepend: site.baseurl }}"> | ||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | prepend: site.baseurl }}"> | ||
|
||
<link rel="shortcut icon" type="image/x-icon" href="{{ '/assets/img/favicon.ico' | prepend: site.baseurl }}" /> | ||
|
||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | ||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" /> | ||
</head> |
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,29 @@ | ||
<header class="usa-site-header" role="banner"> | ||
<div class="usa-disclaimer"> | ||
<div class="usa-grid"> | ||
<span class="usa-disclaimer-official">An official website of the United States Government | ||
<img alt="US flag signifying that this is a United States Federal Government website" src="{{ '/assets/img/us_flag_small.png' | prepend: site.baseurl }}"> | ||
</span> | ||
<span class="usa-disclaimer-stage">This site is currently in alpha. <a href="https://18f.gsa.gov/dashboard/stages/#alpha">Learn more.</a></span> | ||
</div> | ||
</div> | ||
<nav class="usa-site-navbar"> | ||
<div class="usa-grid"> | ||
<div id="logo"> | ||
<a href="{{ site.baseurl }}/" accesskey="1" title="Home" aria-label="Home"> | ||
<h1 class="usa-header-title">{{ site.title }}</h1> | ||
</a> | ||
</div> | ||
<ul class="usa-nav-list usa-unstyled-list"> | ||
{% assign pages = site.pages %} | ||
{% for page in pages %} | ||
{% if page.nav %} | ||
<li class="usa-menu-item"> | ||
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</nav> | ||
</header> |
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,25 @@ | ||
<script src="{{ '/assets/js/lib/jquery-1.11.3.min.js' | prepend: site.baseurl }}"></script> | ||
<script src="{{ '/assets/js/index.js' | prepend: site.baseurl }}"></script> | ||
|
||
<!-- | ||
analytics for DAP, for more info visit | ||
https://www.digitalgov.gov/services/dap/ | ||
--> | ||
<script src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js" | ||
id="_fed_an_ua_tag"></script> | ||
|
||
<!-- | ||
analytics for 18F guild, for more info visited | ||
https://github.com/18f/analytics-standards | ||
--> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', '{{ site.analytics.code }}', 'auto'); | ||
ga('set', 'anonymizeIp', true); | ||
ga('set', 'forceSSL', true); | ||
ga('send', 'pageview'); | ||
</script> |
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,17 @@ | ||
<h2>Case Studies</h2> | ||
{% assign studies = site.pages | sort: 'studydate' | reverse %} | ||
{% for page in studies %} | ||
{% if page.layout == 'case-study' %} | ||
{% assign third = forloop.index | modulo: 3 %} | ||
{% if third == 0 %} | ||
<div class="usa-width-one-third usa-end-row case-study"> | ||
{% else %} | ||
<div class="usa-width-one-third case-study"> | ||
{% endif %} | ||
<div class="case-study--image" style="background-image: url({{ page.image | prepend: site.baseurl }});"></div> | ||
<h3>{{ page.title }}</h3> | ||
<p>{{ page.description }}</p> | ||
<a href="{{ page.permalink | prepend: site.baseurl }}">Read the case study</a> | ||
</div> | ||
{% endif %} | ||
{% endfor %} |
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,16 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
{% include header.html %} | ||
|
||
{{ content }} | ||
|
||
{% include footer.html %} | ||
{% include javascript.html %} | ||
|
||
</body> | ||
</html> |
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,7 @@ | ||
--- | ||
layout: page | ||
--- | ||
|
||
{{ content }} | ||
|
||
{% include projects.html %} |
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,5 @@ | ||
--- | ||
layout: page | ||
--- | ||
|
||
{{ content }} |
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,34 @@ | ||
--- | ||
layout: base | ||
--- | ||
|
||
<section> | ||
<div class="hero-unit" style="background-image: url('{{ page.hero-image | prepend: site.baseurl }}')"> | ||
<div class="usa-grid"> | ||
<div class="usa-width-one-sixth"> </div> | ||
<div class="usa-width-two-thirds hero-content"> | ||
<h1>{{ page.hero-text }}</h1> | ||
<a class="usa-button usa-button-big" href="{{ page.hero-button-link }}">{{ page.hero-button-text }}</a> | ||
</div> | ||
<div class="usa-width-one-sixth usa-end-row"> </div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section> | ||
<div class="usa-grid"> | ||
<div class="usa-width-one-whole usa-end-row"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section> | ||
<div class="usa-grid"> | ||
{% include projects.html %} | ||
</div> | ||
</section> | ||
|
||
<section> | ||
{% include contact.html %} | ||
</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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: base | ||
--- | ||
|
||
<main class="usa-grid"> | ||
<div class="usa-width-one-whole"> | ||
{{ content }} | ||
</div> | ||
</main> |
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,3 @@ | ||
form { | ||
max-width: 100%; | ||
} |
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,12 @@ | ||
.case-study { | ||
border: 1px solid gray; | ||
margin-bottom: 2em; | ||
min-height: 530px; | ||
padding: 1em; | ||
} | ||
|
||
.case-study--image { | ||
background-size: cover; | ||
height: 13em; | ||
width: 100%; | ||
} |
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,14 @@ | ||
.hero-unit { | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
min-height: 30em; | ||
} | ||
.hero-content { | ||
background-color: azure; | ||
background-color: rgba(255, 255, 255, 0.6); | ||
padding: 1.2em; | ||
text-align: center; | ||
} |
Oops, something went wrong.