From 3e6e7a8409555e0228a92e12dc9fb7fdc6d236c1 Mon Sep 17 00:00:00 2001 From: Frank Noirot Date: Wed, 18 Oct 2023 15:34:51 -0400 Subject: [PATCH] Start working on auth, add Nav and ListItem --- src/components/GenerationListItem.svelte | 14 +++++++ src/components/Logo.svelte | 46 +++++++++++++++++++++++ src/components/Nav.svelte | 28 ++++++++++++++ src/lib/endpoints.ts | 2 +- src/lib/index.ts | 1 - src/lib/paths.ts | 3 ++ src/routes/+layout.server.ts | 11 ++++++ src/routes/+layout.svelte | 9 ++++- src/routes/+page.server.ts | 6 --- src/routes/view/[modelId]/+page.server.ts | 0 svelte.config.js | 4 +- vite.config.ts | 8 ++++ 12 files changed, 120 insertions(+), 12 deletions(-) create mode 100644 src/components/GenerationListItem.svelte create mode 100644 src/components/Logo.svelte create mode 100644 src/components/Nav.svelte delete mode 100644 src/lib/index.ts create mode 100644 src/lib/paths.ts create mode 100644 src/routes/+layout.server.ts create mode 100644 src/routes/view/[modelId]/+page.server.ts diff --git a/src/components/GenerationListItem.svelte b/src/components/GenerationListItem.svelte new file mode 100644 index 0000000..65f0d13 --- /dev/null +++ b/src/components/GenerationListItem.svelte @@ -0,0 +1,14 @@ + + +
+    {JSON.stringify(data, null, 2)}
+
+View model +Download model diff --git a/src/components/Logo.svelte b/src/components/Logo.svelte new file mode 100644 index 0000000..61d5b5b --- /dev/null +++ b/src/components/Logo.svelte @@ -0,0 +1,46 @@ + + + + + + + + + + + + diff --git a/src/components/Nav.svelte b/src/components/Nav.svelte new file mode 100644 index 0000000..8bbbda7 --- /dev/null +++ b/src/components/Nav.svelte @@ -0,0 +1,28 @@ + + +