Skip to content

Commit

Permalink
Merge branch 'main' into cms/resources/protecting-rights-hiv
Browse files Browse the repository at this point in the history
  • Loading branch information
okkays committed Nov 14, 2024
2 parents 2996294 + 580cbb7 commit 624b2e0
Show file tree
Hide file tree
Showing 849 changed files with 24,906 additions and 9,387 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/a11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install Ruby Dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.8
ruby-version: 3.2.2
bundler-cache: true

- name: Install Node.js Dependencies
Expand All @@ -22,11 +22,10 @@ jobs:
- run: npm install

- name: Start Server
run: npm run build:css && npm run build:js && bundle exec jekyll serve --config _config.yml,_config_test.yml --detach
run: npm run build:media && npm run build:css && npm run build:js && bundle exec jekyll serve --config _config.yml,_config_test.yml --detach

- name: Run Accessibility Tests -- Desktop
run: npm run test:a11y-desktop

- name: Run Accessibility Tests -- Mobile
run: npm run test:a11y-mobile

26 changes: 26 additions & 0 deletions .github/workflows/content-grid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build content grid

on: [push]

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./scripts
steps:
- name: Checkout Source
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Make the script files executable
run: chmod +x create_content_grid.sh
- name: Build content grid
run: ./create_content_grid.sh

- name: Archive content grid results
uses: actions/upload-artifact@v3
with:
name: content_grid
path: ./scripts/out/content_grid.csv
12 changes: 9 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,32 @@ jobs:
- name: Install Ruby dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.8
ruby-version: 3.2.2
bundler-cache: true

- name: Install Node.js dependencies
uses: actions/setup-node@v3
with:
node-version: "16"
- run: npm install --production
- run: npm install --production=false # Install linting tools

- name: Build site
run: bundle exec jekyll build

################################
# Run npm prettier linting #
################################
- name: Prettier Lint
run: npm run lint:check || exit 1

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/[email protected]
env:
DEFAULT_BRANCH: main
FILTER_REGEX_INCLUDE: .*(\_assets|\_pages|\_site).*
FILTER_REGEX_INCLUDE: .*(\assets|\_pages|\_site).*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: /
VALIDATE_CSS: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/psi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Install Ruby Dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.8
ruby-version: 3.2.2
bundler-cache: true

- name: Install Node.js Dependencies
Expand All @@ -22,7 +22,7 @@ jobs:
npm install
- name: Start Server
run: npm run build:css && npm run build:js && bundle exec jekyll serve --config _config.yml,_config_test.yml --detach
run: npm run build:media && npm run build:css && npm run build:js && bundle exec jekyll serve --config _config.yml,_config_test.yml --detach

- name: Run Lighthouse CI
run: |
Expand Down
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ node_modules
.DS_Store
playwright-report/
test-results/
_assets/js/dist/*
_assets/css
/scripts/out
assets/js/dist/*
assets/css
assets/images/uswds
assets/fonts
/scripts/out
1 change: 1 addition & 0 deletions .markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ MD026: false
MD029: false # Ordered list item prefix
MD033: false # Allow inline HTML
MD036: false # Emphasis used instead of a heading
MD024: false # Duplicate headings

#################
# Rules by tags #
Expand Down
2 changes: 1 addition & 1 deletion .pa11yci-desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"ignoreHTTPSErrors": true,
"args": ["--disable-dev-shm-usage"]
},
"hideElements": ["#fba-button", ".pa11y-skip", "#fba-modal-dialog"],
"hideElements": ["#feedback-button", ".pa11y-skip", "#fba-modal-dialog"],
"standard": "WCAG2AA",
"runners": ["axe"],
"ignore": [
Expand Down
2 changes: 1 addition & 1 deletion .pa11yci-mobile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"--disable-dev-shm-usage"
]
},
"hideElements": ["#fba-button", ".pa11y-skip", "#fba-modal-dialog"],
"hideElements": ["#feedback-button", ".pa11y-skip", "#fba-modal-dialog"],
"standard": "WCAG2AA",
"runners": [
"axe"
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/_assets/js/dist/*.js
/assets/js/dist/*.js
**/*.min.js
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.8
3.2.2
10 changes: 5 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
source "https://rubygems.org"
ruby '>= 2.7.8'
ruby '>= 3.2.2'

gem "jekyll", "~> 4.0"
gem "jekyll"
gem "autoprefixer-rails"

group :jekyll_plugins do
gem 'jekyll-polyglot'
gem 'jekyll-redirect-from'
gem 'jekyll-sitemap'
gem 'jekyll-seo-tag'
gem 'jekyll-assets', git: "https://github.com/envygeeks/jekyll-assets"
gem 'jekyll-sass-converter', '~> 2.1.0' # Locked because it breaks CI/CD
end
gem 'jekyll-sass-converter'
gem 'nokogiri'
end
85 changes: 24 additions & 61 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,45 +1,20 @@
GIT
remote: https://github.com/envygeeks/jekyll-assets
revision: 056d2c88719ef3b1f90967a606dd1441581dd832
specs:
jekyll-assets (4.0.0.alpha)
activesupport (>= 5, < 7)
execjs (~> 2.7)
extras (~> 0.2)
fastimage (~> 2.0, >= 1.8)
jekyll (>= 3.5, < 5.0)
jekyll-sanity (~> 1.2)
liquid-tag-parser (>= 1, < 3)
nokogiri (~> 1.10)
pathutil (~> 0.16)
sassc (>= 1.11, < 3.0)
sprockets (~> 4.0.beta7)

GEM
remote: https://rubygems.org/
specs:
activesupport (6.1.7.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.4)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
autoprefixer-rails (10.4.13.0)
autoprefixer-rails (10.4.15.0)
execjs (~> 2)
colorator (1.1.0)
concurrent-ruby (1.2.2)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
execjs (2.8.1)
extras (0.3.0)
forwardable-extended (~> 2.5)
fastimage (2.2.7)
ffi (1.15.5)
execjs (2.9.1)
ffi (1.16.3)
forwardable-extended (2.6.0)
google-protobuf (3.25.0)
http_parser.rb (0.8.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
Expand All @@ -59,15 +34,12 @@ GEM
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-polyglot (1.6.0)
jekyll-polyglot (1.7.0)
jekyll (>= 4.0, >= 3.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-sanity (1.6.0)
jekyll (>= 3.1, < 5.0)
pathutil (~> 0.16)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
Expand All @@ -79,57 +51,48 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
liquid-tag-parser (2.0.2)
extras (~> 0.3)
liquid (>= 3.0, < 5.0)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
mini_portile2 (2.8.2)
minitest (5.18.1)
nokogiri (1.15.2)
mini_portile2 (2.8.5)
nokogiri (1.15.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.1)
racc (1.7.1)
rack (3.0.8)
public_suffix (5.0.3)
racc (1.7.3)
rake (13.1.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (4.1.2)
rexml (3.2.6)
rouge (4.2.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
sprockets (4.2.0)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sass-embedded (1.69.5)
google-protobuf (~> 3.23)
rake (>= 13.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)
webrick (1.8.1)
zeitwerk (2.6.8)

PLATFORMS
ruby

DEPENDENCIES
autoprefixer-rails
jekyll (~> 4.0)
jekyll-assets!
jekyll
jekyll-polyglot
jekyll-redirect-from
jekyll-sass-converter (~> 2.1.0)
jekyll-sass-converter
jekyll-seo-tag
jekyll-sitemap
nokogiri

RUBY VERSION
ruby 2.7.8p225
ruby 3.2.2p53

BUNDLED WITH
2.1.4
2.4.10
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ To check the validity of links locally using playwright, you can run with CHECK_
CHECK_EXTERNAL_LINKS=true npx playwright test redirects.spec.js --reporter list --project='chromium' --retries=0
```

### Content grid

A content grid is generated as an artifact of every pull request as part of the github actions to centralize information about the content on the site. The content grid contains the title, link, deployment date, publish date, updated date, description, and tags of all content pages on the site. This can be retrieved by downloading the artifact from the github action "Build Content Grid".

## Technologies you should familiarize yourself with

- [Jekyll](https://jekyllrb.com/docs/) - The primary site engine that builds your code and content.
Expand Down
69 changes: 69 additions & 0 deletions _assets/css/styles.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions _assets/css/styles.css.map

Large diffs are not rendered by default.

Empty file added _assets/css/styles.js
Empty file.
Binary file removed _assets/images/hero-mobile-2022.jpg
Binary file not shown.
Binary file removed _assets/images/landing/childcare.jpg
Binary file not shown.
Binary file removed _assets/images/landing/community-integration.jpg
Binary file not shown.
Binary file removed _assets/images/landing/effective_communication.jpg
Binary file not shown.
Binary file removed _assets/images/landing/emergency-planning.jpg
Binary file not shown.
Binary file removed _assets/images/landing/intro_ada.jpg
Binary file not shown.
Binary file removed _assets/images/landing/mobility-devices.jpg
Binary file not shown.
Binary file removed _assets/images/landing/oud.jpg
Binary file not shown.
Binary file removed _assets/images/landing/parental-rights.jpg
Binary file not shown.
Binary file removed _assets/images/landing/parking.jpg
Binary file not shown.
Binary file removed _assets/images/landing/service_animals.jpg
Binary file not shown.
Binary file removed _assets/images/landing/telehealth.jpg
Binary file not shown.
Binary file removed _assets/images/landing/voting.jpg
Binary file not shown.
14 changes: 14 additions & 0 deletions _assets/js/dist/accordion-compiled.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (function() { // webpackBootstrap
/******/ "use strict";
/******/
/******/
/******/ })()
;
14 changes: 14 additions & 0 deletions _assets/js/dist/clickTracking-compiled.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (function() { // webpackBootstrap
/******/ "use strict";
/******/
/******/
/******/ })()
;
14 changes: 14 additions & 0 deletions _assets/js/dist/main-compiled.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (function() { // webpackBootstrap
/******/ "use strict";
/******/
/******/
/******/ })()
;
14 changes: 14 additions & 0 deletions _assets/js/dist/netlifyPreview-compiled.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (function() { // webpackBootstrap
/******/ "use strict";
/******/
/******/
/******/ })()
;
Loading

0 comments on commit 624b2e0

Please sign in to comment.