diff --git a/client/src/interfaces/timeslot.ts b/client/src/interfaces/timeslot.ts
index eee7ded..9d0007f 100644
--- a/client/src/interfaces/timeslot.ts
+++ b/client/src/interfaces/timeslot.ts
@@ -1,4 +1,11 @@
export interface Timeslot {
startDate: Date
endDate: Date
+}
+
+export interface WeeklyTimeslot {
+ id: number
+ day_of_week: number
+ start_time: string
+ end_time: string
}
\ No newline at end of file
diff --git a/client/src/router/index.ts b/client/src/router/index.ts
index 464495e..cfd06ec 100644
--- a/client/src/router/index.ts
+++ b/client/src/router/index.ts
@@ -24,6 +24,14 @@ const router = createRouter({
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/Register.vue')
+ },
+ {
+ path: '/trainer/schedule',
+ name: 'TrainerSchedule',
+ // route level code-splitting
+ // this generates a separate chunk (About.[hash].js) for this route
+ // which is lazy-loaded when the route is visited.
+ component: () => import('../views/trainer/Schedule.vue')
}
]
})
diff --git a/client/src/views/trainer/Schedule.vue b/client/src/views/trainer/Schedule.vue
new file mode 100644
index 0000000..f0e9970
--- /dev/null
+++ b/client/src/views/trainer/Schedule.vue
@@ -0,0 +1,201 @@
+
+