diff --git a/src/assets/Video-Placeholder.png b/src/assets/Video-Placeholder.png new file mode 100644 index 0000000..a5278f7 Binary files /dev/null and b/src/assets/Video-Placeholder.png differ diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx index 3d6f3ac..9be39fb 100644 --- a/src/components/ui/tabs.tsx +++ b/src/components/ui/tabs.tsx @@ -1,7 +1,7 @@ -import * as React from "react" -import * as TabsPrimitive from "@radix-ui/react-tabs" +import * as React from "react"; +import * as TabsPrimitive from "@radix-ui/react-tabs"; -import { cn } from "@/lib/utils" +import { cn } from "@/lib/utils"; function Tabs({ className, @@ -13,7 +13,7 @@ function Tabs({ className={cn("flex flex-col gap-2", className)} {...props} /> - ) + ); } function TabsList({ @@ -24,12 +24,12 @@ function TabsList({ - ) + ); } function TabsTrigger({ @@ -40,12 +40,12 @@ function TabsTrigger({ - ) + ); } function TabsContent({ @@ -58,7 +58,7 @@ function TabsContent({ className={cn("flex-1 outline-none", className)} {...props} /> - ) + ); } -export { Tabs, TabsList, TabsTrigger, TabsContent } +export { Tabs, TabsList, TabsTrigger, TabsContent }; diff --git a/src/pages/student/Home.tsx b/src/pages/student/Home.tsx index fd539f9..7c7cf4a 100644 --- a/src/pages/student/Home.tsx +++ b/src/pages/student/Home.tsx @@ -35,13 +35,13 @@ export const Home = () => { useEffect(() => { const sortPracticeSheets = (sheets: PracticeSheet[]) => { const notStarted = sheets.filter( - (sheet) => sheet.user_status === "NOT_STARTED" + (sheet) => sheet.user_status === "NOT_STARTED", ); const inProgress = sheets.filter( - (sheet) => sheet.user_status === "in-progress" + (sheet) => sheet.user_status === "in-progress", ); const completed = sheets.filter( - (sheet) => sheet.user_status === "completed" + (sheet) => sheet.user_status === "completed", ); setNotStartedSheets(notStarted); @@ -100,7 +100,7 @@ export const Home = () => {
- + { - const user = useAuthStore((state) => state.user); + // const user = useAuthStore((state) => state.user); return ( -
-
-
-

Lessons

-
-

Email: {user?.email}

-

Role: {user?.role}

-

Status: {user?.status}

-

- Member since:{" "} - {user?.joined_at - ? new Date(user.joined_at).toLocaleDateString() - : "N/A"} -

-
-
-
-
+
+
+

Lessons

+

+ Browse step-by-step lessons from expert Edbridge tutors and pick up + tips to tackle similar questions with confidence. +

+
+
+ + + + Reading & Writing + + + Math + + + + + + Video Thumbnail + + + Video Title + Video Description + + + + + + + Video Thumbnail + + + Video Title + Video Description + + + + +
+
); };