diff --git a/About.md b/About.md new file mode 100644 index 0000000..5693cff --- /dev/null +++ b/About.md @@ -0,0 +1,5 @@ +# ToDone + +An offline-first note-taking app that gets you from _To Do_ to **Done** + +Made by [Talentedunicorn](https://talentedunicorn.com) with 🫰 and [Svelte](https://svelte.dev) diff --git a/package.json b/package.json index de1ece0..dc4cffb 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "svelte": "^5.16.0", "svelte-check": "^4.1.1", "svelte-loader": "^3.2.4", + "svelte-routing": "^2.13.0", "tslib": "^2.8.1", "typescript": "^5.7.2", "vite": "^6.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c016690..05d685f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -138,6 +138,9 @@ importers: svelte-loader: specifier: ^3.2.4 version: 3.2.4(svelte@5.16.0) + svelte-routing: + specifier: ^2.13.0 + version: 2.13.0 tslib: specifier: ^2.8.1 version: 2.8.1 @@ -5487,6 +5490,9 @@ packages: typescript: optional: true + svelte-routing@2.13.0: + resolution: {integrity: sha512-/NTxqTwLc7Dq306hARJrH2HLXOBtKd7hu8nxgoFDlK0AC4SOKnzisiX/9m8Uksei1QAWtlAEdF91YphNM8iDMg==} + svelte2tsx@0.7.31: resolution: {integrity: sha512-exrN1o9mdCLAA7hTCudz731FIxomH/0SN9ZIX+WrY/XnlLuno/NNC1PF6JXPZVqp/4sMMDKteqyKoG44hliljQ==} peerDependencies: @@ -12621,6 +12627,8 @@ snapshots: postcss: 8.4.49 typescript: 5.7.2 + svelte-routing@2.13.0: {} + svelte2tsx@0.7.31(svelte@5.16.0)(typescript@5.7.2): dependencies: dedent-js: 1.0.1 diff --git a/src/App.svelte b/src/App.svelte index 259ee5d..ccec93b 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,37 +1,30 @@ @@ -70,33 +67,19 @@ - {#if import.meta.env.VITE_SYNCED === 'true' && !$isLoggedin} - - - login(auth0)}>Log in - - - {:else} - - - - - - - - {#if $isLoggedin} - - - logout(auth0)}>Log out - - {/if} - - - {/if} + + + + + + + + + + {#if synced} + + {/if} + {#if showBackToTop}