This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
2,612 additions
and
2,542 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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
name: Deploy to Firebase Hosting on PR | ||
'on': pull_request | ||
"on": pull_request | ||
jobs: | ||
build_and_preview: | ||
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' | ||
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: npm ci && npm run build | ||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BADGING_PROJECT }}' | ||
repoToken: "${{ secrets.GITHUB_TOKEN }}" | ||
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_BADGING_PROJECT }}" | ||
projectId: badging-project |
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,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm run precommit |
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 @@ | ||
{ | ||
"*.{js,jsx,ts,tsx,json,md,html,css,scss}": ["npm run format"] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,48 +1,52 @@ | ||
import { Route, Routes } from "react-router-dom"; | ||
import { | ||
Home, | ||
About, | ||
Projects, | ||
GetStartedBadging, | ||
SelectProjectRepo, | ||
ErrorPage, | ||
SuccessfullyBadged, | ||
Home, | ||
About, | ||
Projects, | ||
GetStartedBadging, | ||
SelectProjectRepo, | ||
ErrorPage, | ||
SuccessfullyBadged, | ||
} from "./pages"; | ||
import { | ||
WhatIsDeiBadging, | ||
ApplicationProcess, | ||
DeiBadge, | ||
DeiFile, | ||
WhatIsDeiBadging, | ||
ApplicationProcess, | ||
DeiBadge, | ||
DeiFile, | ||
} from "./components"; | ||
import { DataProvider } from "./contexts/DataContext"; | ||
import { DesktopProvider } from "./contexts/DesktopContext"; | ||
|
||
const App = () => { | ||
return ( | ||
<> | ||
<DesktopProvider> | ||
<DataProvider> | ||
<Routes> | ||
<Route exact path="/" element={<Home />} /> | ||
<Route path="/about" element={<About />}> | ||
<Route path="/about" element={<WhatIsDeiBadging />} /> | ||
<Route | ||
path="/about/application-process" | ||
element={<ApplicationProcess />} | ||
/> | ||
<Route path="/about/dei-file" element={<DeiFile />} /> | ||
<Route path="/about/dei-badge" element={<DeiBadge />} /> | ||
</Route> | ||
<Route path="/badge" element={<GetStartedBadging />} /> | ||
<Route path="/select-project" element={<SelectProjectRepo />} /> | ||
<Route exact path="/projects" element={<Projects />} /> | ||
<Route exact path="/project-badging-successful" element={<SuccessfullyBadged />} /> | ||
<Route path="*" element={<ErrorPage />} /> | ||
</Routes> | ||
</DataProvider> | ||
</DesktopProvider> | ||
</> | ||
); | ||
return ( | ||
<> | ||
<DesktopProvider> | ||
<DataProvider> | ||
<Routes> | ||
<Route exact path="/" element={<Home />} /> | ||
<Route path="/about" element={<About />}> | ||
<Route path="/about" element={<WhatIsDeiBadging />} /> | ||
<Route | ||
path="/about/application-process" | ||
element={<ApplicationProcess />} | ||
/> | ||
<Route path="/about/dei-file" element={<DeiFile />} /> | ||
<Route path="/about/dei-badge" element={<DeiBadge />} /> | ||
</Route> | ||
<Route path="/badge" element={<GetStartedBadging />} /> | ||
<Route path="/select-project" element={<SelectProjectRepo />} /> | ||
<Route exact path="/projects" element={<Projects />} /> | ||
<Route | ||
exact | ||
path="/project-badging-successful" | ||
element={<SuccessfullyBadged />} | ||
/> | ||
<Route path="*" element={<ErrorPage />} /> | ||
</Routes> | ||
</DataProvider> | ||
</DesktopProvider> | ||
</> | ||
); | ||
}; | ||
|
||
export default App; |
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
const ApplySvgComponent = (props) => ( | ||
<svg viewBox="0 0 28 30" xmlns="http://www.w3.org/2000/svg" {...props}> | ||
<path | ||
d="M7.33317 2.99999H3.33317V6.99999H0.666504V0.333328H7.33317V2.99999ZM27.3332 6.99999V0.333328H20.6665V2.99999H24.6665V6.99999H27.3332ZM7.33317 27H3.33317V23H0.666504V29.6667H7.33317V27ZM24.6665 23V27H20.6665V29.6667H27.3332V23H24.6665ZM20.6665 6.99999H7.33317V23H20.6665V6.99999ZM23.3332 23C23.3332 24.4667 22.1332 25.6667 20.6665 25.6667H7.33317C5.8665 25.6667 4.6665 24.4667 4.6665 23V6.99999C4.6665 5.53333 5.8665 4.33333 7.33317 4.33333H20.6665C22.1332 4.33333 23.3332 5.53333 23.3332 6.99999V23ZM17.9998 9.66666H9.99984V12.3333H17.9998V9.66666ZM17.9998 13.6667H9.99984V16.3333H17.9998V13.6667ZM17.9998 17.6667H9.99984V20.3333H17.9998V17.6667Z" | ||
fill="url(#paint0_linear_581_11)" | ||
/> | ||
<defs> | ||
<linearGradient | ||
id="paint0_linear_581_11" | ||
x1="13.9998" | ||
y1="0.333328" | ||
x2="13.9998" | ||
y2="29.6667" | ||
gradientUnits="userSpaceOnUse" | ||
> | ||
<stop stopColor="#818181" /> | ||
<stop offset="1" stopColor="#494949" /> | ||
</linearGradient> | ||
</defs> | ||
</svg> | ||
<svg viewBox="0 0 28 30" xmlns="http://www.w3.org/2000/svg" {...props}> | ||
<path | ||
d="M7.33317 2.99999H3.33317V6.99999H0.666504V0.333328H7.33317V2.99999ZM27.3332 6.99999V0.333328H20.6665V2.99999H24.6665V6.99999H27.3332ZM7.33317 27H3.33317V23H0.666504V29.6667H7.33317V27ZM24.6665 23V27H20.6665V29.6667H27.3332V23H24.6665ZM20.6665 6.99999H7.33317V23H20.6665V6.99999ZM23.3332 23C23.3332 24.4667 22.1332 25.6667 20.6665 25.6667H7.33317C5.8665 25.6667 4.6665 24.4667 4.6665 23V6.99999C4.6665 5.53333 5.8665 4.33333 7.33317 4.33333H20.6665C22.1332 4.33333 23.3332 5.53333 23.3332 6.99999V23ZM17.9998 9.66666H9.99984V12.3333H17.9998V9.66666ZM17.9998 13.6667H9.99984V16.3333H17.9998V13.6667ZM17.9998 17.6667H9.99984V20.3333H17.9998V17.6667Z" | ||
fill="url(#paint0_linear_581_11)" | ||
/> | ||
<defs> | ||
<linearGradient | ||
id="paint0_linear_581_11" | ||
x1="13.9998" | ||
y1="0.333328" | ||
x2="13.9998" | ||
y2="29.6667" | ||
gradientUnits="userSpaceOnUse" | ||
> | ||
<stop stopColor="#818181" /> | ||
<stop offset="1" stopColor="#494949" /> | ||
</linearGradient> | ||
</defs> | ||
</svg> | ||
); | ||
export default ApplySvgComponent; |
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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
const GetBadgedSvgComponent = (props) => ( | ||
<svg | ||
viewBox="0 0 14 28" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
{...props} | ||
> | ||
<path | ||
d="M13.6666 11.9067V0.666672H0.333252V11.9067C0.333252 12.3733 0.573252 12.8133 0.986585 13.0533L6.55992 16.4L5.23992 19.52L0.693252 19.9067L4.14658 22.8933L3.09325 27.3333L6.99992 24.9733L10.9066 27.3333L9.86658 22.8933L13.3199 19.9067L8.77325 19.52L7.45325 16.4L13.0266 13.0533C13.4266 12.8133 13.6666 12.3867 13.6666 11.9067ZM5.66658 12.76L2.99992 11.16V3.33334H5.66658V12.76ZM10.9999 11.16L8.33325 12.76V3.33334H10.9999V11.16Z" | ||
fill="url(#paint0_linear_581_161)" | ||
/> | ||
<defs> | ||
<linearGradient | ||
id="paint0_linear_581_161" | ||
x1="6.99992" | ||
y1="0.666672" | ||
x2="6.99992" | ||
y2="27.3333" | ||
gradientUnits="userSpaceOnUse" | ||
> | ||
<stop stopColor="#818181" /> | ||
<stop offset="1" stopColor="#494949" /> | ||
</linearGradient> | ||
</defs> | ||
</svg> | ||
<svg | ||
viewBox="0 0 14 28" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
{...props} | ||
> | ||
<path | ||
d="M13.6666 11.9067V0.666672H0.333252V11.9067C0.333252 12.3733 0.573252 12.8133 0.986585 13.0533L6.55992 16.4L5.23992 19.52L0.693252 19.9067L4.14658 22.8933L3.09325 27.3333L6.99992 24.9733L10.9066 27.3333L9.86658 22.8933L13.3199 19.9067L8.77325 19.52L7.45325 16.4L13.0266 13.0533C13.4266 12.8133 13.6666 12.3867 13.6666 11.9067ZM5.66658 12.76L2.99992 11.16V3.33334H5.66658V12.76ZM10.9999 11.16L8.33325 12.76V3.33334H10.9999V11.16Z" | ||
fill="url(#paint0_linear_581_161)" | ||
/> | ||
<defs> | ||
<linearGradient | ||
id="paint0_linear_581_161" | ||
x1="6.99992" | ||
y1="0.666672" | ||
x2="6.99992" | ||
y2="27.3333" | ||
gradientUnits="userSpaceOnUse" | ||
> | ||
<stop stopColor="#818181" /> | ||
<stop offset="1" stopColor="#494949" /> | ||
</linearGradient> | ||
</defs> | ||
</svg> | ||
); | ||
|
||
export default GetBadgedSvgComponent; |
Oops, something went wrong.