From 4c969a19573ffea03dc976695a14e04d54c302f2 Mon Sep 17 00:00:00 2001 From: Jan Hoegerle Date: Wed, 9 Apr 2025 23:49:30 +0200 Subject: [PATCH] updated views --- frontend/src/router/index.ts | 7 +- frontend/src/views/LoginView.vue | 132 ++++++++++-------- .../views/{HomeView.vue => TeacherView.vue} | 0 3 files changed, 73 insertions(+), 66 deletions(-) rename frontend/src/views/{HomeView.vue => TeacherView.vue} (100%) diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index d6346a7..3088090 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -1,13 +1,13 @@ import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' +import TeacherView from '../views/TeacherView.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes: [ { path: '/', - name: 'home', - component: HomeView, + name: 'teacher', + component: TeacherView, }, { path: '/about', @@ -29,7 +29,6 @@ const router = createRouter({ component: () => import('../views/LoginView.vue'), }, - ], }) diff --git a/frontend/src/views/LoginView.vue b/frontend/src/views/LoginView.vue index 1462376..1573d9f 100644 --- a/frontend/src/views/LoginView.vue +++ b/frontend/src/views/LoginView.vue @@ -1,68 +1,76 @@ -