diff --git a/src/App.svelte b/src/App.svelte index 2ed49af3..220a6683 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,6 +1,8 @@ + + + +
+
+ +
+ {item.name} ({item.id}) +
+ {#if item && item.avatar_url} + Your system avatar + {:else} + your system avatar (default) + {/if} + +
+ Your system avatar +
+
+
+
\ No newline at end of file diff --git a/src/lib/Navigation.svelte b/src/lib/Navigation.svelte index a9302958..c541dc34 100644 --- a/src/lib/Navigation.svelte +++ b/src/lib/Navigation.svelte @@ -1,42 +1,51 @@ - - pk-webs - - - - - \ No newline at end of file + let loggedIn_value: boolean; + + loggedIn.subscribe(value => { + loggedIn_value = value; + }); + +
+ + pk-webs + + + + + +
\ No newline at end of file diff --git a/src/lib/cards/PrivateSystem.svelte b/src/lib/cards/PrivateSystem.svelte new file mode 100644 index 00000000..0586f9fe --- /dev/null +++ b/src/lib/cards/PrivateSystem.svelte @@ -0,0 +1,53 @@ + + + + + + + + ID: {user.id} + + + Name: {user.name} + + {#if user.tag} + + Tag: {user.tag} + + {/if} + + Timezone: {user.timezone} + + {#if user.color} + + Color: {user.color} + + {/if} + {#if user.banner} + + Banner: + +
+ Your system banner +
+
+ + {/if} +
+ Description:
+ {@html htmlDescription} +
+
+
+
\ No newline at end of file diff --git a/src/pages/Dash.svelte b/src/pages/Dash.svelte new file mode 100644 index 00000000..4bfd8245 --- /dev/null +++ b/src/pages/Dash.svelte @@ -0,0 +1,80 @@ + + +{#if user && user.banner} +