From c3186b14db8a0a974ebd56b2430ac1912c0e09c5 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Tue, 26 Nov 2024 11:39:45 +0600 Subject: [PATCH] wip --- .../CourseLanding/CourseFloatingSidebar.tsx | 29 +++++++++++++++---- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/src/components/CourseLanding/CourseFloatingSidebar.tsx b/src/components/CourseLanding/CourseFloatingSidebar.tsx index 60e68e81a..25b64f861 100644 --- a/src/components/CourseLanding/CourseFloatingSidebar.tsx +++ b/src/components/CourseLanding/CourseFloatingSidebar.tsx @@ -1,4 +1,6 @@ import { cn } from '../../lib/classname'; +import { isLoggedIn } from '../../lib/jwt'; +import { showLoginPopup } from '../../lib/popup'; type CourseFloatingSidebarProps = { isSticky: boolean; @@ -7,6 +9,14 @@ type CourseFloatingSidebarProps = { export function CourseFloatingSidebar(props: CourseFloatingSidebarProps) { const { isSticky } = props; + const whatYouGet = [ + 'Full access to all the courses', + 'Personalized access using AI', + 'Certificate of Completion', + 'Playground for live-coding', + 'Challenges / Quizes', + ]; + return (
- @@ -42,17 +60,16 @@ export function CourseFloatingSidebar(props: CourseFloatingSidebarProps) { />
+

What you get

    -
  • Full access to all the courses
  • -
  • Personalized access using AI
  • -
  • Certificate of Completion
  • -
  • Playground for live-coding
  • -
  • Challenges / Quizes
  • + {whatYouGet.map((item, index) => ( +
  • {item}
  • + ))}