From 93b5cb61612672570bed03ef7ec01ed1a29743e5 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 23 Apr 2025 11:44:39 +0530 Subject: [PATCH] feat: zen mode --- frontend/src/pages/Lesson.vue | 327 ++++++++++++++++++++-------------- frontend/src/utils/index.js | 2 +- 2 files changed, 190 insertions(+), 139 deletions(-) diff --git a/frontend/src/pages/Lesson.vue b/frontend/src/pages/Lesson.vue index 01216a07..972572df 100644 --- a/frontend/src/pages/Lesson.vue +++ b/frontend/src/pages/Lesson.vue @@ -4,7 +4,16 @@ class="sticky top-0 z-10 flex items-center justify-between border-b bg-surface-white px-3 py-2.5 sm:px-5" > - +
+ + + + +
@@ -33,146 +42,154 @@
- -
-
-
- {{ lesson.data.title }} -
-
- - - - - - - - - - - - -
-
- -
- - - - -
+
-
- {{ __('Instructor Notes') }} +
+
+ {{ lesson.data.title }} +
+
+ + + + + + + + + + + + +
+
+ +
+ + + +
-
-
- -
-
-
-
-
- -
-
- + v-if=" + lesson.data.instructor_content && + JSON.parse(lesson.data.instructor_content)?.blocks?.length > 1 && + allowInstructorContent() + " + class="bg-surface-gray-2 p-3 rounded-md mt-6" + > +
+ {{ __('Instructor Notes') }} +
+
+
+
+ +
+
+
+
+
+ +
+
+ +
@@ -202,7 +219,13 @@