diff --git a/API/app.db b/API/app.db
index 2eb27a2..6fecaf7 100644
Binary files a/API/app.db and b/API/app.db differ
diff --git a/GUI/src/Layout.vue b/GUI/src/Layout.vue
index f07f14d..401c0aa 100644
--- a/GUI/src/Layout.vue
+++ b/GUI/src/Layout.vue
@@ -1,5 +1,5 @@
@@ -49,7 +68,7 @@ onMounted(() => {
-
+
mdi-account
diff --git a/GUI/src/plugins/routesLayout.ts b/GUI/src/plugins/routesLayout.ts
index 66c1483..bee1bb4 100644
--- a/GUI/src/plugins/routesLayout.ts
+++ b/GUI/src/plugins/routesLayout.ts
@@ -1,6 +1,7 @@
import Home from '@/routes/Home.vue'
import NotFound from '@/routes/404NotFound.vue'
import type { RouteRecordRaw } from 'vue-router'
+import Login from '@/routes/authentication/Login.vue';
export enum Visibility {
Hidden,
@@ -19,24 +20,36 @@ export interface LayoutRoute {
}
export const routes: LayoutRoute[] = [
- {
- path: "/",
- name: "Startseite",
- description: "Übersicht der Anwendung",
- icon: "mdi-home",
- visible: Visibility.Public,
- meta: {
- name: 'Home',
- path: '/',
- component: Home
- }
- },
- {
- path: "/notFound",
- name: "Nicht Verfügbar",
- description: "Diese Seite wurde nicht gefunden",
- icon: "mdi-information-outline",
- visible: Visibility.Hidden,
- meta: { path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound },
+ {
+ path: "/",
+ name: "Startseite",
+ description: "Übersicht der Anwendung",
+ icon: "mdi-home",
+ visible: Visibility.Public,
+ meta: {
+ name: 'Home',
+ path: '/',
+ component: Home
}
+ },
+ {
+ path: "/login",
+ name: "Login",
+ description: "Logge dich ein",
+ icon: "mdi-login",
+ visible: Visibility.Hidden,
+ meta: {
+ path: "/login",
+ name: 'Login',
+ component: Login
+ }
+ },
+ {
+ path: "/notFound",
+ name: "Nicht Gefunden",
+ description: "Diese Seite wurde nicht gefunden",
+ icon: "mdi-information-outline",
+ visible: Visibility.Hidden,
+ meta: { path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound },
+ }
]
\ No newline at end of file
diff --git a/GUI/src/routes/404NotFound.vue b/GUI/src/routes/404NotFound.vue
index 7b62b86..85bad57 100644
--- a/GUI/src/routes/404NotFound.vue
+++ b/GUI/src/routes/404NotFound.vue
@@ -1,7 +1,17 @@
- 404
+
+ 404
+ Page not found
+
+
+ Zurück zur Startseite
+
+
diff --git a/GUI/src/routes/authentication/Login.vue b/GUI/src/routes/authentication/Login.vue
new file mode 100644
index 0000000..64f29c7
--- /dev/null
+++ b/GUI/src/routes/authentication/Login.vue
@@ -0,0 +1,9 @@
+
+
+
+ Login
+
+
+