+
+
{#if responseData.data === 'magic'}
Login Succeded! Check your mailbox!
{:else if responseData.data === 'password'}
@@ -267,8 +261,8 @@
You stupid Mawoka!
{/if}
-
-
+
+
{#if responseData.data === 'magic'}
Please check your mailbox, since you should have received a
Mail, with a link you can click to login.
@@ -286,17 +280,17 @@
-
+
diff --git a/frontend/src/routes/account/register.svelte b/frontend/src/routes/account/register.svelte
index ddbd42d..f08784d 100644
--- a/frontend/src/routes/account/register.svelte
+++ b/frontend/src/routes/account/register.svelte
@@ -14,6 +14,8 @@
import { createForm } from 'felte';
// import reporter from '@felte/reporter-tippy';
import { validateSchema } from '@felte/validator-yup';
+ import {navbarVisible} from '$lib/stores';
+ navbarVisible.set(true)
import * as yup from 'yup';
const registerSchema = yup.object({
@@ -67,13 +69,13 @@
};
-
+
-
ImNote
+
ClassQuiz
Nice to meet you!
diff --git a/frontend/src/routes/create.svelte b/frontend/src/routes/create.svelte
new file mode 100644
index 0000000..dcab2c2
--- /dev/null
+++ b/frontend/src/routes/create.svelte
@@ -0,0 +1,137 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/routes/overview.svelte b/frontend/src/routes/overview.svelte
index 952b59b..a508cd8 100644
--- a/frontend/src/routes/overview.svelte
+++ b/frontend/src/routes/overview.svelte
@@ -20,8 +20,7 @@
const getData = async (): Promise
> => {
const res = await fetch('/api/v1/quiz/list');
- const data = await res.json();
- return data;
+ return await res.json();
};
const formatDate = (date: string): string => {
@@ -48,11 +47,34 @@
{#await getData()}
- Loading...
+
{:then quizzes}