diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 3cf4ce2..838709d 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -26,6 +26,10 @@ { Path: "/card", Name: "Cards", + }, + { + Path: "/type", + Name: "Types", } ] diff --git a/src/routes/type/+page.svelte b/src/routes/type/+page.svelte new file mode 100644 index 0000000..7da29c6 --- /dev/null +++ b/src/routes/type/+page.svelte @@ -0,0 +1,172 @@ + + +{#if error} +

{error}

+{/if} + +
+

Manage Types

+ +
+

+ {editingType ? "Edit Type" : "Add New Type"} +

+
+ + + +
+ + {#if editingType} + + {/if} +
+
+
+ +

Types List

+ +