-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove scripts * init svelte 5 with tailwind * migrations * fix: dont try to send event if dev * update readme * svelte 5 * cleanup * header component * refactor * svelte 5 api * start of rewrite * update * updates * updates * fixes * comment * fixes * updates * updates * fix * updates * updates * updates * updates * reorganize * updates * updates * updates * updates * fixes * updates * fix * updates * format * updates * fixes * updates * updates * shiki * updates * fixes * comments * fix * updates * updates * remove fn * updates * fixes * fixes * updates * reorganize * use alias * format * fix * upgrade deps * fixes * fixes * updates * fix: transition duration * fixes * updates * updates * fix * fixes * fixes * fixes * fixes * updates * updates * fixes * updates * updates * updates * updates * fix * ui fix * updates * fixes * ui fixes * updates * updates * updates * ui updates * format app.css * updates * fix * updates * reorder * format * updates * updates * updates * bump version * fix * updates * add prettier * eslint * fixes * update redirect_uri * format * fixes * add test script
- Loading branch information
1 parent
cd5dfbc
commit f884cfd
Showing
54 changed files
with
4,999 additions
and
7,732 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
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 was deleted.
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
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/', | ||
'test-results/', | ||
'*.md', | ||
'src/**/*/Setup.svelte' | ||
] | ||
}, | ||
{ | ||
rules: { | ||
// Note: you must disable the base rule as it can report incorrect errors | ||
// "no-unused-vars": "off", | ||
'svelte/no-at-html-tags': 'off', | ||
'no-unused-vars': [ | ||
'error', | ||
{ | ||
varsIgnorePattern: '^_$', // Ignore variables named '_' | ||
argsIgnorePattern: '^_$', // Ignore function arguments named '_' | ||
caughtErrors: 'none' // Ignore unused variables in catch clauses | ||
} | ||
] | ||
} | ||
} | ||
]; |
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,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
|
@@ -12,16 +12,14 @@ | |
rel="stylesheet" | ||
href="https://unpkg.com/[email protected]/themes/prism-duotone-dark.css" | ||
/> | ||
<script src="https://cdn.hello.coop/js/hello-dev-wc-footer.js" defer=""></script> | ||
|
||
<script src="https://cdn.hello.coop/js/hello-dev-wc-footer.js" defer></script> | ||
<style type="text/css"> | ||
html, | ||
body { | ||
min-width: 320px; | ||
overflow-x: auto; | ||
overflow-y: auto; | ||
} | ||
|
||
.spinner { | ||
position: absolute; | ||
left: 50%; | ||
|
@@ -35,13 +33,11 @@ | |
border-style: solid; | ||
border-radius: 100%; | ||
} | ||
|
||
#spinner { | ||
height: 3.2rem; | ||
width: 3.2rem; | ||
animation: rotation 1s linear infinite; | ||
} | ||
|
||
@keyframes rotation { | ||
from { | ||
transform: rotate(0deg); | ||
|
@@ -51,30 +47,25 @@ | |
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
color-scheme: dark; | ||
} | ||
|
||
body { | ||
color: #d4d4d4; | ||
background: #151515; | ||
} | ||
|
||
.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); | ||
|
@@ -85,21 +76,21 @@ | |
|
||
<body> | ||
<div id="load-spinner" class="spinner"></div> | ||
<div id="app" class="h-full flex-col" style="display: none"></div> | ||
<div id="app" class="h-full flex flex-col"></div> | ||
<script type="module" src="/src/main.js"></script> | ||
<script> | ||
/** | ||
* If browser back button was used, flush cache | ||
* This ensures that user will always see an accurate, up-to-date view based on their state | ||
* https://stackoverflow.com/questions/8788802/prevent-safari-loading-from-cache-when-back-button-is-clicked | ||
*/ | ||
(function () { | ||
window.onpageshow = function (event) { | ||
if (event.persisted) { | ||
window.location.reload(); | ||
} | ||
}; | ||
})(); | ||
</script> | ||
</body> | ||
<script> | ||
/** | ||
* If browser back button was used, flush cache | ||
* This ensures that user will always see an accurate, up-to-date view based on their state | ||
* https://stackoverflow.com/questions/8788802/prevent-safari-loading-from-cache-when-back-button-is-clicked | ||
*/ | ||
(function () { | ||
window.onpageshow = function (event) { | ||
if (event.persisted) { | ||
window.location.reload(); | ||
} | ||
}; | ||
})(); | ||
</script> | ||
</html> |
Oops, something went wrong.