From c1341976b05a039f91b7c560e59b28d6f49882e0 Mon Sep 17 00:00:00 2001 From: ahmedyoussefg <108885178+ahmedyoussefg@users.noreply.github.com> Date: Mon, 16 Dec 2024 20:50:30 +0200 Subject: [PATCH 01/18] Implement basic front end for Course Contents Page (student) --- frontend/public/index.html | 4 +- frontend/src/App.vue | 5 +- frontend/src/components/HeaderComponent.vue | 9 +- frontend/src/components/LessonList.vue | 52 +++++++ frontend/src/components/LessonListItem.vue | 43 ++++++ frontend/src/components/ModuleList.vue | 35 +++++ frontend/src/components/ModuleListItem.vue | 80 ++++++++++ frontend/src/components/VideoPlayer.vue | 27 ++++ frontend/src/pages/CourseContentPage.vue | 141 ++++++++++++++++++ frontend/src/pages/OAuthCallback.vue | 27 ---- frontend/src/router/index.js | 9 +- frontend/src/services/courseContentService.js | 106 +++++++++++++ .../src/services/dtos/CourseContentDTO.js | 38 +++++ frontend/src/store/index.js | 18 ++- 14 files changed, 555 insertions(+), 39 deletions(-) create mode 100644 frontend/src/components/LessonList.vue create mode 100644 frontend/src/components/LessonListItem.vue create mode 100644 frontend/src/components/ModuleList.vue create mode 100644 frontend/src/components/ModuleListItem.vue create mode 100644 frontend/src/components/VideoPlayer.vue create mode 100644 frontend/src/pages/CourseContentPage.vue delete mode 100644 frontend/src/pages/OAuthCallback.vue create mode 100644 frontend/src/services/courseContentService.js create mode 100644 frontend/src/services/dtos/CourseContentDTO.js diff --git a/frontend/public/index.html b/frontend/public/index.html index c9e2a66..f1f449f 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -5,11 +5,11 @@ -
Video URL:
+ {{ videoUrl }} +Select a lesson to view the video.
+