From 71dab5c590a12ab962e124f419b524b1dc1bf7de Mon Sep 17 00:00:00 2001 From: Rakantor Date: Fri, 4 Nov 2022 17:43:23 +0100 Subject: [PATCH] Add option for students to mark courses as favorites --- components/CourseList.vue | 69 +++++++++++++++++++++++++++++++++++++ pages/dashboard.vue | 71 +++++++++++++++++++++++---------------- plugins/user.js | 6 ++-- store/index.js | 13 +++++++ 4 files changed, 128 insertions(+), 31 deletions(-) create mode 100644 components/CourseList.vue diff --git a/components/CourseList.vue b/components/CourseList.vue new file mode 100644 index 0000000..a78eecf --- /dev/null +++ b/components/CourseList.vue @@ -0,0 +1,69 @@ + + + diff --git a/pages/dashboard.vue b/pages/dashboard.vue index 8bd4717..aa2a3da 100644 --- a/pages/dashboard.vue +++ b/pages/dashboard.vue @@ -1,26 +1,31 @@