+
-
- {#if session.error}
-
- {/if}
-
diff --git a/src/routes/backup.svelte b/src/routes/backup.svelte
index 9eadad1..f2a3056 100644
--- a/src/routes/backup.svelte
+++ b/src/routes/backup.svelte
@@ -1,15 +1,12 @@
diff --git a/src/routes/delegate-account.svelte b/src/routes/delegate-account.svelte
index a5001cb..c77fa02 100644
--- a/src/routes/delegate-account.svelte
+++ b/src/routes/delegate-account.svelte
@@ -1,5 +1,123 @@
-
+{#if view === 'connect-backup-device'}
+
+{:else if view === 'delegate-account'}
+
+{/if}
diff --git a/src/routes/gallery.svelte b/src/routes/gallery.svelte
index 65001c0..dae469e 100644
--- a/src/routes/gallery.svelte
+++ b/src/routes/gallery.svelte
@@ -1,10 +1,11 @@
-
+
+
+{#if view === 'link-device'}
+
+{:else if view === 'load-filesystem'}
+
+{/if}
diff --git a/src/stores.ts b/src/stores.ts
index a00b378..67f293b 100644
--- a/src/stores.ts
+++ b/src/stores.ts
@@ -3,14 +3,13 @@ import type { Writable } from 'svelte/store'
import type FileSystem from 'webnative/fs/index'
import { loadTheme } from '$lib/theme'
-import type { Device } from '$lib/device'
import { AREAS } from '$lib/gallery'
import type { Gallery } from '$lib/gallery'
import type { Notification } from '$lib/notifications'
import type { Session } from '$lib/session'
import type { Theme } from '$lib/theme'
-export const theme: Writable
= writable(loadTheme())
+export const themeStore: Writable = writable(loadTheme())
export const sessionStore: Writable = writable({
username: null,
@@ -21,8 +20,6 @@ export const sessionStore: Writable = writable({
export const filesystemStore: Writable = writable(null)
-export const deviceStore: Writable = writable({ isMobile: true })
-
export const galleryStore: Writable = writable({
loading: true,
publicImages: [],
diff --git a/static/preview.png b/static/preview.png
new file mode 100644
index 0000000..bb29b5f
Binary files /dev/null and b/static/preview.png differ
diff --git a/tailwind.config.cjs b/tailwind.config.cjs
index b2fb69d..4313fe2 100644
--- a/tailwind.config.cjs
+++ b/tailwind.config.cjs
@@ -49,4 +49,9 @@ module.exports = {
rtl: false,
darkTheme: "dark",
},
+ purge: {
+ options: {
+ safelist: ['alert-success', 'alert-error', 'alert-info', 'alert-warning']
+ }
+ }
};
\ No newline at end of file