From 3eafb413a48cde60dea8a7355ee621c6acca952f Mon Sep 17 00:00:00 2001 From: Doog <157747121+doogongithub@users.noreply.github.com> Date: Wed, 21 Feb 2024 22:07:27 -0500 Subject: first commit --- fe/src/App.svelte | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 fe/src/App.svelte (limited to 'fe/src/App.svelte') diff --git a/fe/src/App.svelte b/fe/src/App.svelte new file mode 100644 index 0000000..cc4e594 --- /dev/null +++ b/fe/src/App.svelte @@ -0,0 +1,167 @@ + + +
+ {#if !authenticated} + +
+
+ + +
+
+ + +
+ {#if error} +

{error}

+ {/if} + +
+
+ {:else} +
+ +
+
+ + + + + + +
+ + + + {#await data} +

...fetching

+ {:then data} + {#if data} +

Status

+

{data.status}

+ +
+
+ {:else} +

No data yet

+ {/if} + {:catch errror} +

{error.message}

+ {/await} + {/if} + + + -- cgit v1.1 From e37c73e33a4aaf7fb8d25b5af03627f20bcda19f Mon Sep 17 00:00:00 2001 From: Doog <157747121+doogongithub@users.noreply.github.com> Date: Sat, 24 Feb 2024 20:08:35 -0500 Subject: add gitignore --- fe/src/App.svelte | 147 ++++-------------------------------------------------- 1 file changed, 10 insertions(+), 137 deletions(-) (limited to 'fe/src/App.svelte') diff --git a/fe/src/App.svelte b/fe/src/App.svelte index cc4e594..8811c52 100644 --- a/fe/src/App.svelte +++ b/fe/src/App.svelte @@ -1,146 +1,19 @@
- {#if !authenticated} - -
-
- - -
-
- - -
- {#if error} -

{error}

- {/if} - - -
+ + {#if !$authenticated} + {:else} -
- -
-
- - - - - - -
- - - - {#await data} -

...fetching

- {:then data} - {#if data} -

Status

-

{data.status}

-
-
-
- {:else} -

No data yet

- {/if} - {:catch errror} -

{error.message}

- {/await} + {/if} + -- cgit v1.1