Skip to content

Commit

Permalink
USDS.gov 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcunha-usds committed Feb 26, 2019
1 parent 4058aab commit 9911dde
Show file tree
Hide file tree
Showing 1,224 changed files with 93,727 additions and 12,312 deletions.
23 changes: 23 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"rules": {
"no-unused-vars": [ 0 ],
"no-console": [ 0 ],
"indent": [ 1, 2 ],
"quotes": [ 2, "single" ],
"linebreak-style": [ 2, "unix" ],
"semi": [ 2, "always" ],
"comma-dangle": [ 1, "always-multiline" ],
"no-undef": [ 0 ],
"space-before-function-paren": [ 2, "always" ],
"array-bracket-spacing": [ 2, "always" ],
"block-spacing": [ 2, "always" ],
"comma-spacing": [ 2, { "before": false, "after": true } ],
"computed-property-spacing": [ 2, "always" ],
"object-curly-spacing": [ 2, "always" ]
},
"env": {
"node": true,
"browser": true
},
"extends": "eslint:recommended"
}
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: "\U0001F534 Bug report"
labels: bug
about: Something on USDS.gov is not working as expected
---

# Bug Report

- [ ] I’ve searched for any related issues and avoided creating a duplicate issue.

## What happened

<!--
Describe in detail what went wrong; screenshots, videos, or gifs are strongly encouraged
-->

## What I expected to happen

<!--
What did you expect to happen?
-->


## Reproducing
- Device: (e.g. iPhone 8, MacBook)
- Browser: (e.g. Firefox, IE 11)
- Link to page where bug occurred:

Steps to reproduce:

1.
2.
3.
4.

10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/generic_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: "\U0001F4D6 Generic issue"
about: Have another issue with USDS.gov?
---

# Generic Issue

<!--
Please write here and someone from our team will respond
-->
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/site_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: "\U0001F5A5 Site update"
labels: enhancement
about: I would like to add a new page or update an existing one
---

# Site Update

- [ ] I’ve searched for any related issues and avoided creating a duplicate issue.


## What would you like to do?

- [ ] Update an existing page/feature
- [ ] Add a new page

## How can we help?

<!--
Describe what you like to add here. Place any content that might be helpful here.
-->

## Additional Context
<!--
Add design mock-ups here.
-->
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/support_question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: "\U0001F481 Support question"
labels: question
about: I need help trying to update USDS.gov
---

# Support question

- [ ] I’ve searched for any related issues/questions on GitHub

## How can we help?

<!--
Describe what you are stuck on, what you have tried and how you would like us to help.
-->

## What you have tried:

<!--
Describe in detail what you have tried and what you have found from any research you
may have done
-->


## Additional Context
<!--
Add any other context or screenshots about the feature request here
-->

<!--
Thanks for reaching out! We are happy to help and will get back to you as soon as possible 😸
-->
\
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
**/.DS_Store
.sass-cache/
_site/
_site
.sass-cache
.jekyll-metadata
/node_modules
.DS_Store


# ignore gulp-generated vendor files
scss/lib
1 change: 0 additions & 1 deletion .ruby-gemset

This file was deleted.

1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

33 changes: 20 additions & 13 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
---
layout: default
sitemap: false
simple_footer: true
permalink: /404.html
banner_file: banner--404-lg.svg
banner_file_mobile: banner--404-sm.svg
---

<div class="usa-grid">
<div class="usa-width-full">
<br /><br />
<br /><br />
<br /><br />
<h3>404</h3>
<h3>This page has not been found</h3>
<br /><br />
<br /><br />
<br /><br />
</div>
</div>
{% assign content = site.data._404 %}

<div class="grid-container padding-y-3">
<section class="site-c-section text-center">
<div class="site-c-section-heading flex-justify-center flex-column flex-align-center">
<span class="site-c-flag font-sans-sm">Error 404</span>
<h1 class="site-c-section-heading__heading site-c-section-heading__heading--h1">{{ content.page_title.heading_title }}</h1>
<div class="site-c-section-heading__text">
{{ content.page_title.heading_text | replace: 'site.baseurl', site.baseurl | markdownify}}
</div>
</div>
</section>
<section class="site-c-section text-center">
<a href="{{ site.baseurl }}/" class="usa-button usa-button-big">USDS Home</a>
</section>
</div>
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
32 changes: 30 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.6.2"

# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.0"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins

# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
gem 'github-pages'
gem 'jekyll-seo-tag'
gem 'jekyll-sitemap'
gem 'jekyll-redirect-from'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Loading

0 comments on commit 9911dde

Please sign in to comment.