diff --git a/src/pages/student/Lessons.tsx b/src/pages/student/Lessons.tsx index e570250..0a949d6 100644 --- a/src/pages/student/Lessons.tsx +++ b/src/pages/student/Lessons.tsx @@ -101,12 +101,12 @@ export const Lessons = () => { )} {!lessonLoading && lessons.length > 0 && ( -
+
{lessons.map((lesson) => ( handleLessonClick(lesson.id)} - className="py-0 pb-5 rounded-4xl overflow-hidden" + className="py-0 pb-5 rounded-4xl overflow-hidden" > { const navigate = useNavigate(); const userXp = useExamConfigStore.getState().userXp; - console.log(userXp); return ( -
-
+
+
@@ -136,6 +135,6 @@ export const Practice = () => {
-
+
); }; diff --git a/src/pages/student/Profile.tsx b/src/pages/student/Profile.tsx index 96a7975..b650ba8 100644 --- a/src/pages/student/Profile.tsx +++ b/src/pages/student/Profile.tsx @@ -12,7 +12,7 @@ export const Profile = () => { }; return ( -
+

Profile

{user?.name}

diff --git a/src/pages/student/Rewards.tsx b/src/pages/student/Rewards.tsx index 3cd200e..6c8bfdc 100644 --- a/src/pages/student/Rewards.tsx +++ b/src/pages/student/Rewards.tsx @@ -84,7 +84,7 @@ export const Rewards = () => { const isTopThree = (leaderboard?.user_rank?.rank ?? Infinity) < 3; return ( -
+

Leaderboards

{loading ? ( @@ -295,7 +295,7 @@ export const Rewards = () => {
- + {loading ? (
@@ -353,6 +353,6 @@ export const Rewards = () => { )} -
+
); }; diff --git a/src/pages/student/StudentLayout.tsx b/src/pages/student/StudentLayout.tsx index a641dca..112253b 100644 --- a/src/pages/student/StudentLayout.tsx +++ b/src/pages/student/StudentLayout.tsx @@ -14,10 +14,10 @@ export function StudentLayout() { return ( -
+
{/* Desktop Sidebar */} -
+
diff --git a/src/pages/student/practice/Pretest.tsx b/src/pages/student/practice/Pretest.tsx index 50a5936..6670ae6 100644 --- a/src/pages/student/practice/Pretest.tsx +++ b/src/pages/student/practice/Pretest.tsx @@ -13,7 +13,6 @@ import { import { Button } from "../../../components/ui/button"; import { useNavigate } from "react-router-dom"; import { useExamConfigStore } from "../../../stores/useExamConfigStore"; -import { useSatExam } from "../../../stores/useSatExam"; export const Pretest = () => { const { setSheetId, setMode, storeDuration, setQuestionCount } = @@ -76,7 +75,7 @@ export const Pretest = () => { }, [carouselApi]); return ( -
+

{practiceSheet?.title}

@@ -120,8 +119,8 @@ export const Pretest = () => {

)} - - + + {practiceSheet ? ( practiceSheet.modules.length > 0 ? ( practiceSheet.modules.map((module, index) => ( @@ -133,7 +132,7 @@ export const Pretest = () => {

{module.title}

-
+
@@ -228,6 +227,6 @@ export const Pretest = () => {
)} -
+
); }; diff --git a/src/pages/student/practice/Test.tsx b/src/pages/student/practice/Test.tsx index b92bc35..3fb9e2e 100644 --- a/src/pages/student/practice/Test.tsx +++ b/src/pages/student/practice/Test.tsx @@ -411,9 +411,9 @@ export const Test = () => {
-
+
{currentQuestion?.context && ( -
+

{renderQuestionText(currentQuestion?.context)}

@@ -422,7 +422,7 @@ export const Test = () => {

{currentQuestion?.text &&