From 80cdf887f7dd4f9dd009e0da7d6cfdad737ae03a Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 05:47:21 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 175 +++++++++++------------------------------------ 1 file changed, 41 insertions(+), 134 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b306636..19d58c5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -78,10 +78,8 @@ export default function HomePage() { ]} buttonAnimation="slide-up" dashboard={{ - title: "Student Success Metrics", - logoIcon: Zap, - imageSrc: "http://img.b2bpic.net/free-photo/classmates-reading-learning-from-notes-laptop_23-2149265732.jpg", - sidebarItems: [ + title: "Student Success Metrics", logoIcon: Zap, + imageSrc: "http://img.b2bpic.net/free-photo/classmates-reading-learning-from-notes-laptop_23-2149265732.jpg", sidebarItems: [ { icon: BookOpen, active: true }, { icon: Users }, { icon: TrendingUp }, @@ -92,39 +90,25 @@ export default function HomePage() { ], stats: [ { - title: "Success Rate", - values: ["85%", "90%", "95%"], - description: "Board exam pass rate", - }, + title: "Success Rate", values: [85, 90, 95], + description: "Board exam pass rate"}, { - title: "Active Students", - values: ["150", "180", "230"], - description: "Enrolled and thriving", - }, + title: "Active Students", values: [150, 180, 230], + description: "Enrolled and thriving"}, { - title: "Top Scores", - values: ["90+", "92+", "95+"], - valuePrefix: "", - description: "Average board marks", - }, + title: "Top Scores", values: [90, 92, 95], + valuePrefix: "", description: "Average board marks"}, ], - listTitle: "This Month's Achievements", - listItems: [ + listTitle: "This Month's Achievements", listItems: [ { icon: Award, - title: "5 Rankers", - status: "90+ Marks", - }, + title: "5 Rankers", status: "90+ Marks"}, { icon: CheckCircle, - title: "45 Students", - status: "85+ Marks", - }, + title: "45 Students", status: "85+ Marks"}, { icon: Zap, - title: "100% Improvement", - status: "Concept Clarity", - }, + title: "100% Improvement", status: "Concept Clarity"}, ], }} ariaLabel="Focus Point Coaching Hero Section" @@ -141,51 +125,23 @@ export default function HomePage() { tagAnimation="slide-up" features={[ { - id: "class9", - label: "Class 9", - title: "Science Foundation Building", - items: [ - "Physics, Chemistry, Biology", - "Board syllabus coverage", - "Weekly tests & assessments", - "Personal attention in batches", - ], + id: "class9", label: "Class 9", title: "Science Foundation Building", items: [ + "Physics, Chemistry, Biology", "Board syllabus coverage", "Weekly tests & assessments", "Personal attention in batches"], buttons: [{ text: "View Details", href: "#" }], }, { - id: "class10", - label: "Class 10", - title: "Board Preparation Excellence", - items: [ - "Complete PCB/PCM coverage", - "Mock board exams", - "Chapter-wise revision", - "Doubt clearing sessions", - ], + id: "class10", label: "Class 10", title: "Board Preparation Excellence", items: [ + "Complete PCB/PCM coverage", "Mock board exams", "Chapter-wise revision", "Doubt clearing sessions"], buttons: [{ text: "View Details", href: "#" }], }, { - id: "class11", - label: "Class 11", - title: "Advanced PCM Concepts", - items: [ - "Physics, Chemistry, Mathematics", - "Foundation for JEE/NEET", - "Advanced problem solving", - "Regular performance tracking", - ], + id: "class11", label: "Class 11", title: "Advanced PCM Concepts", items: [ + "Physics, Chemistry, Mathematics", "Foundation for JEE/NEET", "Advanced problem solving", "Regular performance tracking"], buttons: [{ text: "View Details", href: "#" }], }, { - id: "class12", - label: "Class 12", - title: "Board & Competitive Prep", - items: [ - "PCM core + competitive exams", - "Previous year questions", - "Speed & accuracy training", - "One-on-one mentoring", - ], + id: "class12", label: "Class 12", title: "Board & Competitive Prep", items: [ + "PCM core + competitive exams", "Previous year questions", "Speed & accuracy training", "One-on-one mentoring"], buttons: [{ text: "View Details", href: "#" }], }, ]} @@ -222,29 +178,17 @@ export default function HomePage() { tagAnimation="slide-up" metrics={[ { - id: "1", - icon: TrendingUp, - title: "Board Toppers", - value: "48+", - }, + id: "1", icon: TrendingUp, + title: "Board Toppers", value: "48+"}, { - id: "2", - icon: BookOpen, - title: "95%+ Scorers", - value: "230+", - }, + id: "2", icon: BookOpen, + title: "95%+ Scorers", value: "230+"}, { - id: "3", - icon: Award, - title: "Avg Score", - value: "91%", - }, + id: "3", icon: Award, + title: "Avg Score", value: "91%"}, { - id: "4", - icon: Users, - title: "Active Students", - value: "230+", - }, + id: "4", icon: Users, + title: "Active Students", value: "230+"}, ]} animationType="slide-up" textboxLayout="default" @@ -261,29 +205,17 @@ export default function HomePage() { author="Aisha Sharma, Class 12 PCM Student" avatars={[ { - src: "http://img.b2bpic.net/free-photo/young-student-girl-glasses-with-pigtails-white-shirt-clenching-fists-happy-excited-rejoicing-her-success-standing-orange-background_141793-54481.jpg", - alt: "Student 1", - }, + src: "http://img.b2bpic.net/free-photo/young-student-girl-glasses-with-pigtails-white-shirt-clenching-fists-happy-excited-rejoicing-her-success-standing-orange-background_141793-54481.jpg", alt: "Student 1"}, { - src: "http://img.b2bpic.net/free-photo/joyful-young-blonde-guy-wearing-green-t-shirt-showing-yes-gesture_141793-89107.jpg", - alt: "Student 2", - }, + src: "http://img.b2bpic.net/free-photo/joyful-young-blonde-guy-wearing-green-t-shirt-showing-yes-gesture_141793-89107.jpg", alt: "Student 2"}, { - src: "http://img.b2bpic.net/free-photo/young-woman-casual-peach-sweater-isolated-green-olive-color-wall_343596-5292.jpg", - alt: "Student 3", - }, + src: "http://img.b2bpic.net/free-photo/young-woman-casual-peach-sweater-isolated-green-olive-color-wall_343596-5292.jpg", alt: "Student 3"}, { - src: "http://img.b2bpic.net/free-photo/hardworking-excited-african-american-student-feeling-happy_273609-7515.jpg", - alt: "Student 4", - }, + src: "http://img.b2bpic.net/free-photo/hardworking-excited-african-american-student-feeling-happy_273609-7515.jpg", alt: "Student 4"}, { - src: "http://img.b2bpic.net/free-photo/teenage-student-glasses-sitting-table-reading-book_23-2148166294.jpg", - alt: "Student 5", - }, + src: "http://img.b2bpic.net/free-photo/teenage-student-glasses-sitting-table-reading-book_23-2148166294.jpg", alt: "Student 5"}, { - src: "http://img.b2bpic.net/free-photo/modern-man-using-tablet-urban-environment_23-2147961399.jpg", - alt: "Student 6", - }, + src: "http://img.b2bpic.net/free-photo/modern-man-using-tablet-urban-environment_23-2147961399.jpg", alt: "Student 6"}, ]} ratingAnimation="slide-up" avatarsAnimation="slide-up" @@ -302,26 +234,11 @@ export default function HomePage() { tagAnimation="slide-up" products={[ { - id: "demo-maths", - name: "Free Maths Demo Class", - price: "Book Now", - imageSrc: "http://img.b2bpic.net/free-photo/young-man-doing-videocall-laptop_23-2148205628.jpg", - imageAlt: "Free Maths Demo Class", - }, + id: "demo-maths", name: "Free Maths Demo Class", price: "Book Now", imageSrc: "http://img.b2bpic.net/free-photo/young-man-doing-videocall-laptop_23-2148205628.jpg", imageAlt: "Free Maths Demo Class"}, { - id: "demo-physics", - name: "Free Physics Demo Class", - price: "Book Now", - imageSrc: "http://img.b2bpic.net/free-photo/lively-little-girls-sitting-library-desk_23-2147854120.jpg", - imageAlt: "Free Physics Demo Class", - }, + id: "demo-physics", name: "Free Physics Demo Class", price: "Book Now", imageSrc: "http://img.b2bpic.net/free-photo/lively-little-girls-sitting-library-desk_23-2147854120.jpg", imageAlt: "Free Physics Demo Class"}, { - id: "demo-chemistry", - name: "Free Chemistry Demo Class", - price: "Book Now", - imageSrc: "http://img.b2bpic.net/free-photo/front-view-female-chemist-medical-suit-checking-smell-solution-white-background-chemistry-pandemic-health-covid_140725-88584.jpg", - imageAlt: "Free Chemistry Demo Class", - }, + id: "demo-chemistry", name: "Free Chemistry Demo Class", price: "Book Now", imageSrc: "http://img.b2bpic.net/free-photo/front-view-female-chemist-medical-suit-checking-smell-solution-white-background-chemistry-pandemic-health-covid_140725-88584.jpg", imageAlt: "Free Chemistry Demo Class"}, ]} gridVariant="three-columns-all-equal-width" animationType="slide-up" @@ -342,14 +259,7 @@ export default function HomePage() { tagIcon={Shield} tagAnimation="slide-up" names={[ - "Ministry of Education Approved", - "CBSE Board Affiliated", - "Student Success Certified", - "Quality Assured Institute", - "Parent Recommended", - "Award Winning Coaching", - "Board Exam Specialists", - ]} + "Ministry of Education Approved", "CBSE Board Affiliated", "Student Success Certified", "Quality Assured Institute", "Parent Recommended", "Award Winning Coaching", "Board Exam Specialists"]} textboxLayout="default" useInvertedBackground={false} speed={40} @@ -363,8 +273,7 @@ export default function HomePage() {