diff --git a/src/lib/common/Alert.svelte b/src/lib/common/Alert.svelte new file mode 100644 index 0000000..d5f8e5f --- /dev/null +++ b/src/lib/common/Alert.svelte @@ -0,0 +1,66 @@ + + +{#if visible} +
(visible = false)}> + +

{$alert}

+
+{/if} + + diff --git a/src/lib/index/CreateUser.svelte b/src/lib/index/CreateUser.svelte index 577a648..31d5671 100644 --- a/src/lib/index/CreateUser.svelte +++ b/src/lib/index/CreateUser.svelte @@ -1,19 +1,65 @@ -
-
- -
- - +
+{#if newUserCardVisible} +
+
+ + +
+
+ + +
-
\ No newline at end of file +{/if} diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 78d6a35..479687a 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -1,6 +1,7 @@
@@ -9,6 +10,7 @@