From 925ad2bfff17f8d9381731fb0050936dcd7e0a72 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 15 Dec 2022 18:14:46 -0600 Subject: finish migrating to sveltekit v1 hopefully --- src/routes/profile/+page.svelte | 180 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 src/routes/profile/+page.svelte (limited to 'src/routes/profile/+page.svelte') diff --git a/src/routes/profile/+page.svelte b/src/routes/profile/+page.svelte new file mode 100644 index 0000000..244d1a2 --- /dev/null +++ b/src/routes/profile/+page.svelte @@ -0,0 +1,180 @@ + + + +
+ +
+ {#if session && session._id} + + {/if} +

Customize Profile

+ + +

+ {#if error} + {error} + {:else if loading} + Loading... + {/if} +

+ + View profile +

+ + +

+

+ + +

+ {#if isDonator} + + + + +

Windows: win+.

+

Mobile: Emoji keyboard

+
+ +
+ {/if} +

Background

+
+ {#each backgroundNames as thisBackgroundName} + (backgroundName = thisBackgroundName)} + on:keypress={e => { + if (e.key === 'Enter') { + backgroundName = thisBackgroundName + } + }} + /> + {/each} +
+
+ + -- cgit