feat:#4 updated router and views

This commit is contained in:
Elmar Kresse
2024-05-19 21:29:59 +02:00
parent 1c22c2c227
commit 6e9dfdba31
10 changed files with 149 additions and 26 deletions

View File

@@ -36,7 +36,12 @@ const router = createRouter({
routes: [
{
path: "/",
name: "course-selection",
name: "home",
component: CourseSelection,
},
{
path: "/calendar/create",
name: "calendar-create",
component: CourseSelection,
},
{
@@ -50,8 +55,8 @@ const router = createRouter({
component: FreeRooms,
},
{
path: "/user/calendar",
name: "user-calendar",
path: "/calendar/view",
name: "calendar-view",
component: CalenderViewer,
},
{
@@ -80,7 +85,7 @@ const router = createRouter({
component: CalendarLink,
},
{
path: "/edit",
path: "/calendar/edit",
name: "edit",
component: EditCalendarView,
},