-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade deps * fix * lint and format * fix lint * migrate * refactor * migrate * migrate * refactor * refactor * refactor, fixes, uses hellocoop helper browser package * fix * fixes * fix * refactor * fixes * refactor, fixes * refactor * cleanup * refactor * fixes * format * fix * migrate from stores * fix * 2025.1.0 --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6b90142
commit 01b7bb6
Showing
36 changed files
with
7,457 additions
and
3,966 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
dist | ||
node_modules | ||
S3 | ||
cypress | ||
rumTracker.js | ||
playwright-report | ||
test-results |
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,21 @@ | ||
{ | ||
"useTabs": true, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 100, | ||
"overrides": [ | ||
{ | ||
"files": "*.svelte", | ||
"options": { | ||
"parser": "svelte", | ||
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"] | ||
} | ||
}, | ||
{ | ||
"files": "content/**/*.{css,html,js,svelte}", | ||
"options": { | ||
"requirePragma": true | ||
} | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import js from '@eslint/js'; | ||
import svelte from 'eslint-plugin-svelte'; | ||
import prettier from 'eslint-config-prettier'; | ||
import globals from 'globals'; | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
js.configs.recommended, | ||
...svelte.configs['flat/recommended'], | ||
prettier, | ||
...svelte.configs['flat/prettier'], | ||
{ | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.node, | ||
__NAME__: 'readonly', | ||
__VERSION__: 'readonly', | ||
__GITHUBURL__: 'readonly', | ||
__SVELTEVERSION__: 'readonly', | ||
__VITEVERSION__: 'readonly', | ||
__TAILWINDCSSVERSION__: 'readonly' | ||
} | ||
} | ||
}, | ||
{ | ||
files: ['**/*.svelte'], | ||
languageOptions: { | ||
parserOptions: { | ||
svelteFeatures: { | ||
experimentalGenerics: true | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
ignores: [ | ||
'.vercel/', | ||
'src/routes/utils/highlight/', | ||
'build/', | ||
'.svelte-kit/', | ||
'dist/', | ||
'S3/', | ||
'test-results/', | ||
'*.md', | ||
'src/**/*/Setup.svelte', | ||
'node_modules/', | ||
'cypress', | ||
'rumTracker.js', | ||
'assets/', | ||
'playwright-report/' | ||
] | ||
}, | ||
{ | ||
rules: { | ||
// Note: you must disable the base rule as it can report incorrect errors | ||
// "no-unused-vars": "off", | ||
'svelte/no-at-html-tags': 'off' | ||
} | ||
} | ||
]; |
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,30 +1,99 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" href="https://cdn.hello.coop/images/quickstart-favicon-dark.png" /> | ||
<link rel="stylesheet" href="https://cdn.hello.coop/css/hello-button.css"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Hellō Quickstart</title> | ||
<!-- integrity is hard coded here because this file only exists in staging/prod --> | ||
<script defer="" data-domain="quickstart.hello.coop" src="/js/script.hash.js" integrity="sha384-1kvlsmFV0In+ocTgJBWUSDEyMwHcxFD7WzKbrYYq7A6iJAOLn2idnchzq+mxbS3M" crossorigin="anonymous"></script> | ||
<style> | ||
@media (prefers-color-scheme: dark) { | ||
html { | ||
color-scheme: dark; | ||
} | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="theme-color" content="#303030" /> | ||
<link | ||
href="https://cdn.hello.coop/images/quickstart-favicon-light.png" | ||
rel="icon" | ||
media="(prefers-color-scheme: light)" | ||
/> | ||
<link | ||
href="https://cdn.hello.coop/images/quickstart-favicon-dark.png" | ||
rel="icon" | ||
media="(prefers-color-scheme: dark)" | ||
/> | ||
<link rel="stylesheet" href="https://cdn.hello.coop/css/hello-button.css" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Hellō Quickstart</title> | ||
<!-- integrity is hard coded here because this file only exists in staging/prod --> | ||
<script | ||
defer="" | ||
data-domain="quickstart.hello.coop" | ||
src="/js/script.hash.js" | ||
integrity="sha384-1kvlsmFV0In+ocTgJBWUSDEyMwHcxFD7WzKbrYYq7A6iJAOLn2idnchzq+mxbS3M" | ||
crossorigin="anonymous" | ||
></script> | ||
<style type="text/css"> | ||
html, | ||
body { | ||
height: 100%; | ||
min-width: 320px; | ||
overflow-x: auto; | ||
} | ||
@media (prefers-color-scheme: light) { | ||
html { | ||
color-scheme: light; | ||
} | ||
|
||
.spinner { | ||
position: absolute; | ||
left: 50%; | ||
top: 50%; | ||
height: 40px; | ||
width: 40px; | ||
margin: -26px 0 0 -26px; | ||
box-sizing: content-box; | ||
animation: rotation 1s infinite linear; | ||
border-width: 6px; | ||
border-style: solid; | ||
border-radius: 100%; | ||
} | ||
</style> | ||
</head> | ||
<body class="bg-white dark:bg-[#151515] text-charcoal dark:text-[#d4d4d4]"> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
<script defer src="/assets/quickstart-glob.js"></script> | ||
<script defer src="/assets/hello-dev-wc-footer.js"></script> | ||
</body> | ||
|
||
#spinner { | ||
height: 3.2rem; | ||
width: 3.2rem; | ||
animation: rotation 1s linear infinite; | ||
} | ||
|
||
@keyframes rotation { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
|
||
to { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
body { | ||
color: #d4d4d4; | ||
background: #151515; | ||
color-scheme: dark; | ||
} | ||
|
||
.spinner { | ||
border-color: rgba(116, 116, 116, 0.3); | ||
border-top-color: rgb(116, 116, 116); | ||
} | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
body { | ||
color: #303030; | ||
background: white; | ||
color-scheme: light; | ||
} | ||
|
||
.spinner { | ||
border-color: rgba(75, 75, 75, 0.3); | ||
border-top-color: rgb(75, 75, 75); | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body class="bg-white dark:bg-[#151515] text-charcoal dark:text-[#d4d4d4]"> | ||
<div id="load-spinner" class="spinner"></div> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
<script defer src="/assets/quickstart-glob.js"></script> | ||
<script defer src="/assets/hello-dev-wc-footer.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.