Skip to content

Commit

Permalink
types issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromehardaway committed Nov 23, 2024
1 parent d311020 commit 70e3c73
Show file tree
Hide file tree
Showing 17 changed files with 240 additions and 216 deletions.
108 changes: 54 additions & 54 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
name: Playwright Tests

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# This path is platform dependent; use **/node_modules for Windows
path: |
node_modules
**/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn
- name: Cache Playwright Browsers
uses: actions/cache@v2
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-playwright-
- name: Install Playwright Browsers
run: yarn playwright install --with-deps

- name: Run Playwright tests
run: yarn playwright test

- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
test:
timeout-minutes: 60
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# This path is platform dependent; use **/node_modules for Windows
path: |
node_modules
**/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install dependencies
run: yarn

- name: Cache Playwright Browsers
uses: actions/cache@v2
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-playwright-
- name: Install Playwright Browsers
run: yarn playwright install --with-deps

- name: Run Playwright tests
run: yarn playwright test

- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"semi": true,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "es5"
"trailingComma": "es5",
"printWidth": 80
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ Curious about upcoming features? Check our [Roadmap](https://github.com/orgs/Vet
## License :scroll:
This project is under the MIT License - see the [License](https://github.com/Vets-Who-Code/vwc-site/blob/master/LICENSE) for more details.
This project is under the MIT License - see the [License](https://github.com/Vets-Who-Code/vwc-site/blob/master/LICENSE) for more details.
2 changes: 0 additions & 2 deletions blog-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ tags:
is_featured: Boolean value (true or false)
views: Number of views (if applicable)
---


207 changes: 110 additions & 97 deletions src/assets/css/globals.css
Original file line number Diff line number Diff line change
@@ -1,138 +1,151 @@
@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro-Light.eot');
src: url('/fonts/gotham/GothamPro-Light.woff2') format("woff2"),
url('/fonts/gotham/GothamPro-Light.woff') format("woff"),
url('/fonts/gotham/GothamPro-Light.ttf') format("truetype"),
url('/fonts/gotham/GothamPro-Light.svg#GothamPro-Light') format("svg"),
url('/fonts/gotham/GothamPro-Light.eot?#iefix') format("embedded-opentype");
font-weight: 100;
font-style: normal;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro-Light.eot");
src: url("/fonts/gotham/GothamPro-Light.woff2") format("woff2"),
url("/fonts/gotham/GothamPro-Light.woff") format("woff"),
url("/fonts/gotham/GothamPro-Light.ttf") format("truetype"),
url("/fonts/gotham/GothamPro-Light.svg#GothamPro-Light") format("svg"),
url("/fonts/gotham/GothamPro-Light.eot?#iefix")
format("embedded-opentype");
font-weight: 100;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro-LightItalic.eot');
src: url('/fonts/gotham/GothamPro-LightItalic.woff2') format("woff2"),
url('/fonts/gotham/GothamPro-LightItalic.woff') format("woff"),
url('/fonts/gotham/GothamPro-LightItalic.ttf') format("truetype"),
url('/fonts/gotham/GothamPro-LightItalic.svg#GothamPro-LightItalic') format("svg"),
url('/fonts/gotham/GothamPro-LightItalic.eot?#iefix') format("embedded-opentype");
font-weight: 100;
font-style: italic;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro-LightItalic.eot");
src: url("/fonts/gotham/GothamPro-LightItalic.woff2") format("woff2"),
url("/fonts/gotham/GothamPro-LightItalic.woff") format("woff"),
url("/fonts/gotham/GothamPro-LightItalic.ttf") format("truetype"),
url("/fonts/gotham/GothamPro-LightItalic.svg#GothamPro-LightItalic")
format("svg"),
url("/fonts/gotham/GothamPro-LightItalic.eot?#iefix")
format("embedded-opentype");
font-weight: 100;
font-style: italic;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro.eot');
src: url('/fonts/gotham/GothamPro.woff2') format("woff2"),
url('/fonts/gotham/GothamPro.woff') format("woff"),
url('/fonts/gotham/GothamPro.ttf') format("truetype"),
url('/fonts/gotham/GothamPro.svg#GothamPro') format("svg"),
url('/fonts/gotham/GothamPro.eot?#iefix') format("embedded-opentype");
font-weight: 200;
font-style: normal;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro.eot");
src: url("/fonts/gotham/GothamPro.woff2") format("woff2"),
url("/fonts/gotham/GothamPro.woff") format("woff"),
url("/fonts/gotham/GothamPro.ttf") format("truetype"),
url("/fonts/gotham/GothamPro.svg#GothamPro") format("svg"),
url("/fonts/gotham/GothamPro.eot?#iefix") format("embedded-opentype");
font-weight: 200;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro-Italic.eot');
src: url('/fonts/gotham/GothamPro-Italic.woff2') format("woff2"),
url('/fonts/gotham/GothamPro-Italic.woff') format("woff"),
url('/fonts/gotham/GothamPro-Italic.ttf') format("truetype"),
url('/fonts/gotham/GothamPro-Italic.svg#GothamPro-Italic') format("svg"),
url('/fonts/gotham/GothamPro-Italic.eot?#iefix') format("embedded-opentype");
font-weight: 200;
font-style: italic;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro-Italic.eot");
src: url("/fonts/gotham/GothamPro-Italic.woff2") format("woff2"),
url("/fonts/gotham/GothamPro-Italic.woff") format("woff"),
url("/fonts/gotham/GothamPro-Italic.ttf") format("truetype"),
url("/fonts/gotham/GothamPro-Italic.svg#GothamPro-Italic") format("svg"),
url("/fonts/gotham/GothamPro-Italic.eot?#iefix")
format("embedded-opentype");
font-weight: 200;
font-style: italic;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro-Medium.eot');
src: url('/fonts/gotham/GothamPro-Medium.woff2') format("woff2"),
url('/fonts/gotham/GothamPro-Medium.woff') format("woff"),
url('/fonts/gotham/GothamPro-Medium.ttf') format("truetype"),
url('/fonts/gotham/GothamPro-Medium.svg#GothamPro-Medium') format("svg"),
url('/fonts/gotham/GothamPro-Medium.eot?#iefix') format("embedded-opentype");
font-weight: 400;
font-style: normal;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro-Medium.eot");
src: url("/fonts/gotham/GothamPro-Medium.woff2") format("woff2"),
url("/fonts/gotham/GothamPro-Medium.woff") format("woff"),
url("/fonts/gotham/GothamPro-Medium.ttf") format("truetype"),
url("/fonts/gotham/GothamPro-Medium.svg#GothamPro-Medium") format("svg"),
url("/fonts/gotham/GothamPro-Medium.eot?#iefix")
format("embedded-opentype");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro-MediumItalic.eot');
src: url('/fonts/gotham/GothamPro-MediumItalic.woff2') format("woff2"),
url('/fonts/gotham/GothamPro-MediumItalic.woff') format("woff"),
url('/fonts/gotham/GothamPro-MediumItalic.ttf') format("truetype"),
url('/fonts/gotham/GothamPro-MediumItalic.svg#GothamPro-MediumItalic') format("svg"),
url('/fonts/gotham/GothamPro-MediumItalic.eot?#iefix') format("embedded-opentype");
font-weight: 400;
font-style: italic;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro-MediumItalic.eot");
src: url("/fonts/gotham/GothamPro-MediumItalic.woff2") format("woff2"),
url("/fonts/gotham/GothamPro-MediumItalic.woff") format("woff"),
url("/fonts/gotham/GothamPro-MediumItalic.ttf") format("truetype"),
url("/fonts/gotham/GothamPro-MediumItalic.svg#GothamPro-MediumItalic")
format("svg"),
url("/fonts/gotham/GothamPro-MediumItalic.eot?#iefix")
format("embedded-opentype");
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro-Bold.eot');
src: url('/fonts/gotham/GothamPro-Bold.woff2') format("woff2"),
url('/fonts/gotham/GothamPro-Bold.woff') format("woff"),
url('/fonts/gotham/GothamPro-Bold.ttf') format("truetype"),
url('/fonts/gotham/GothamPro-Bold.svg#GothamPro-Bold') format("svg"),
url('/fonts/gotham/GothamPro-Bold.eot?#iefix') format("embedded-opentype");
font-weight: 600;
font-style: normal;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro-Bold.eot");
src: url("/fonts/gotham/GothamPro-Bold.woff2") format("woff2"),
url("/fonts/gotham/GothamPro-Bold.woff") format("woff"),
url("/fonts/gotham/GothamPro-Bold.ttf") format("truetype"),
url("/fonts/gotham/GothamPro-Bold.svg#GothamPro-Bold") format("svg"),
url("/fonts/gotham/GothamPro-Bold.eot?#iefix")
format("embedded-opentype");
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro-BoldItalic.eot');
src: url('/fonts/gotham/GothamPro-BoldItalic.woff2') format("woff2"),
url('/fonts/gotham/GothamPro-BoldItalic.woff') format("woff"),
url('/fonts/gotham/GothamPro-BoldItalic.ttf') format("truetype"),
url('/fonts/gotham/GothamPro-BoldItalic.svg#GothamPro-BoldItalic') format("svg"),
url('/fonts/gotham/GothamPro-BoldItalic.eot?#iefix') format("embedded-opentype");
font-weight: 600;
font-style: italic;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro-BoldItalic.eot");
src: url("/fonts/gotham/GothamPro-BoldItalic.woff2") format("woff2"),
url("/fonts/gotham/GothamPro-BoldItalic.woff") format("woff"),
url("/fonts/gotham/GothamPro-BoldItalic.ttf") format("truetype"),
url("/fonts/gotham/GothamPro-BoldItalic.svg#GothamPro-BoldItalic")
format("svg"),
url("/fonts/gotham/GothamPro-BoldItalic.eot?#iefix")
format("embedded-opentype");
font-weight: 600;
font-style: italic;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro-Black.eot');
src: url('/fonts/gotham/GothamPro-Black.woff2') format("woff2"),
url('/fonts/gotham/GothamPro-Black.woff') format("woff"),
url('/fonts/gotham/GothamPro-Black.ttf') format("truetype"),
url('/fonts/gotham/GothamPro-Black.svg#GothamPro-Black') format("svg"),
url('/fonts/gotham/GothamPro-Black.eot?#iefix') format("embedded-opentype");
font-weight: 800;
font-style: normal;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro-Black.eot");
src: url("/fonts/gotham/GothamPro-Black.woff2") format("woff2"),
url("/fonts/gotham/GothamPro-Black.woff") format("woff"),
url("/fonts/gotham/GothamPro-Black.ttf") format("truetype"),
url("/fonts/gotham/GothamPro-Black.svg#GothamPro-Black") format("svg"),
url("/fonts/gotham/GothamPro-Black.eot?#iefix")
format("embedded-opentype");
font-weight: 800;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/gotham/GothamPro-BlackItalic.eot');
src: url('/fonts/gotham/GothamPro-BlackItalic.woff2') format("woff2"),
url('/fonts/gotham/GothamPro-BlackItalic.woff') format("woff"),
url('/fonts/gotham/GothamPro-BlackItalic.ttf') format("truetype"),
url('/fonts/gotham/GothamPro-BlackItalic.svg#GothamPro-BlackItalic') format("svg"),
url('/fonts/gotham/GothamPro-BlackItalic.eot?#iefix') format("embedded-opentype");
font-weight: 800;
font-style: italic;
font-family: GothamPro;
src: url("/fonts/gotham/GothamPro-BlackItalic.eot");
src: url("/fonts/gotham/GothamPro-BlackItalic.woff2") format("woff2"),
url("/fonts/gotham/GothamPro-BlackItalic.woff") format("woff"),
url("/fonts/gotham/GothamPro-BlackItalic.ttf") format("truetype"),
url("/fonts/gotham/GothamPro-BlackItalic.svg#GothamPro-BlackItalic")
format("svg"),
url("/fonts/gotham/GothamPro-BlackItalic.eot?#iefix")
format("embedded-opentype");
font-weight: 800;
font-style: italic;
}

/* Keyframes and animations */

@keyframes fall {
to {
transform: translateY(calc(100vh + 100%));
}
to {
transform: translateY(calc(100vh + 100%));
}
}

.emoji-fall {
animation: fall 5s linear forwards;
animation: fall 5s linear forwards;
}

/* Global body styling */

body {
font-family: 'GothamPro', sans-serif;
font-weight: 400; /* Default weight */
}
font-family: "GothamPro", sans-serif;
font-weight: 400; /* Default weight */
}
Loading

0 comments on commit 70e3c73

Please sign in to comment.