Update src/app/page.tsx

This commit is contained in:
2026-04-10 07:01:46 +00:00
parent e14b7b936e
commit cbeeec900c

View File

@@ -30,21 +30,11 @@ export default function LandingPage() {
<NavbarStyleFullscreen
navItems={[
{
name: "Dashboard",
id: "#dashboard",
},
name: "Dashboard", id: "#dashboard"},
{
name: "Modules",
id: "#modules",
},
name: "Modules", id: "#modules"},
{
name: "Leaderboard",
id: "#leaderboard",
},
{
name: "Rewards",
id: "#rewards",
},
name: "Certificates", id: "/certificates"},
]}
brandName="AI Learner"
/>
@@ -56,35 +46,21 @@ export default function LandingPage() {
description="Level up your knowledge with our AI-powered, personalized, and gamified learning platform."
buttons={[
{
text: "Start Journey",
href: "#modules",
},
text: "Start Journey", href: "#modules"},
]}
slides={[
{
imageSrc: "http://img.b2bpic.net/free-photo/education-day-elements-with-tablet_23-2148721225.jpg",
imageAlt: "AI Learning Dashboard",
},
imageSrc: "http://img.b2bpic.net/free-photo/education-day-elements-with-tablet_23-2148721225.jpg", imageAlt: "AI Learning Dashboard"},
{
imageSrc: "http://img.b2bpic.net/free-photo/person-using-smartphone-his-automated-home_23-2149036912.jpg?_wi=1",
imageAlt: "Gamified App Interaction",
},
imageSrc: "http://img.b2bpic.net/free-photo/person-using-smartphone-his-automated-home_23-2149036912.jpg?_wi=1", imageAlt: "Gamified App Interaction"},
{
imageSrc: "http://img.b2bpic.net/free-photo/3d-network-connections-background-with-low-poly-plexus-design_1048-12346.jpg",
imageAlt: "AI Neural Network Concept",
},
imageSrc: "http://img.b2bpic.net/free-photo/3d-network-connections-background-with-low-poly-plexus-design_1048-12346.jpg", imageAlt: "AI Neural Network Concept"},
{
imageSrc: "http://img.b2bpic.net/free-photo/lamp-design-with-fantasy-style_23-2151101658.jpg",
imageAlt: "Achievement Badges",
},
imageSrc: "http://img.b2bpic.net/free-photo/lamp-design-with-fantasy-style_23-2151101658.jpg", imageAlt: "Achievement Badges"},
{
imageSrc: "http://img.b2bpic.net/free-photo/senior-women-spending-time-together-cafe-talking-working_23-2149260275.jpg",
imageAlt: "AI Tutor Analytics",
},
imageSrc: "http://img.b2bpic.net/free-photo/senior-women-spending-time-together-cafe-talking-working_23-2149260275.jpg", imageAlt: "AI Tutor Analytics"},
{
imageSrc: "http://img.b2bpic.net/free-photo/smart-home-app-phone_23-2149036818.jpg",
imageAlt: "Leaderboard Ranking",
},
imageSrc: "http://img.b2bpic.net/free-photo/smart-home-app-phone_23-2149036818.jpg", imageAlt: "Leaderboard Ranking"},
]}
/>
</div>
@@ -96,19 +72,13 @@ export default function LandingPage() {
metrics={[
{
icon: Zap,
label: "Points",
value: "2,540",
},
label: "Points", value: "2,540"},
{
icon: Award,
label: "Badges",
value: "12",
},
label: "Badges", value: "12"},
{
icon: Flame,
label: "Daily Streak",
value: "15 Days",
},
label: "Daily Streak", value: "15 Days"},
]}
metricsAnimation="slide-up"
/>
@@ -120,23 +90,11 @@ export default function LandingPage() {
useInvertedBackground={false}
features={[
{
title: "AI Fundamentals",
description: "Master the basics of machine learning models.",
imageSrc: "http://img.b2bpic.net/free-photo/futuristic-data-center-cityscape_23-2152020917.jpg",
imageAlt: "AI Fundamentals",
},
title: "AI Fundamentals", description: "Master the basics of machine learning models.", imageSrc: "http://img.b2bpic.net/free-photo/futuristic-data-center-cityscape_23-2152020917.jpg", imageAlt: "AI Fundamentals"},
{
title: "Interactive Quizzes",
description: "Test your knowledge with adaptive difficulty levels.",
imageSrc: "http://img.b2bpic.net/free-vector/flat-back-school-elements-collection_23-2149480117.jpg",
imageAlt: "Interactive Quizzes",
},
title: "Interactive Quizzes", description: "Test your knowledge with adaptive difficulty levels.", imageSrc: "http://img.b2bpic.net/free-vector/flat-back-school-elements-collection_23-2149480117.jpg", imageAlt: "Interactive Quizzes"},
{
title: "Achievement Tracker",
description: "Stay motivated with daily streaks and milestones.",
imageSrc: "http://img.b2bpic.net/free-photo/3d-dice-nature_23-2151110389.jpg",
imageAlt: "Achievement Tracker",
},
title: "Achievement Tracker", description: "Stay motivated with daily streaks and milestones.", imageSrc: "http://img.b2bpic.net/free-photo/3d-dice-nature_23-2151110389.jpg", imageAlt: "Achievement Tracker"},
]}
title="Learning Modules"
description="Discover personalized topics tailored to your performance and behavior."
@@ -150,59 +108,28 @@ export default function LandingPage() {
useInvertedBackground={false}
testimonials={[
{
id: "1",
name: "Sarah J.",
role: "Student",
company: "TechAcademy",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-cheerful-teenage-girl-sitting-cafe_1262-3048.jpg",
},
id: "1", name: "Sarah J.", role: "Student", company: "TechAcademy", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-cheerful-teenage-girl-sitting-cafe_1262-3048.jpg"},
{
id: "2",
name: "Mark C.",
role: "Developer",
company: "StartupX",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-brainstorming_1098-14293.jpg",
},
id: "2", name: "Mark C.", role: "Developer", company: "StartupX", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-brainstorming_1098-14293.jpg"},
{
id: "3",
name: "Emily R.",
role: "Designer",
company: "CreativeLab",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-smiling-while-holding-her-laptop_23-2147611480.jpg",
},
id: "3", name: "Emily R.", role: "Designer", company: "CreativeLab", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-smiling-while-holding-her-laptop_23-2147611480.jpg"},
{
id: "4",
name: "David K.",
role: "Engineer",
company: "CodeFlow",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/closeup-happy-female-standing-hall-with-laptop-smiling-camera-girl-student-working-freelance-from-coffee-shop-cafe-manager-using-computer-browsing-internet-shopping-online_197531-30490.jpg",
},
id: "4", name: "David K.", role: "Engineer", company: "CodeFlow", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/closeup-happy-female-standing-hall-with-laptop-smiling-camera-girl-student-working-freelance-from-coffee-shop-cafe-manager-using-computer-browsing-internet-shopping-online_197531-30490.jpg"},
{
id: "5",
name: "Anna S.",
role: "Learner",
company: "GlobalEdu",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5055.jpg",
},
id: "5", name: "Anna S.", role: "Learner", company: "GlobalEdu", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5055.jpg"},
]}
kpiItems={[
{
value: "10k+",
label: "Active Learners",
},
value: "10k+", label: "Active Learners"},
{
value: "98%",
label: "Completion Rate",
},
value: "98%", label: "Completion Rate"},
{
value: "5M+",
label: "Quizzes Solved",
},
value: "5M+", label: "Quizzes Solved"},
]}
title="Learner Success"
description="Hear what our community says about their learning journeys."
@@ -213,8 +140,7 @@ export default function LandingPage() {
<ContactSplit
useInvertedBackground={false}
background={{
variant: "sparkles-gradient",
}}
variant: "sparkles-gradient"}}
tag="Get Started"
title="Join the AI Learner Community"
description="Sign up today and start your personalized gamified learning journey."
@@ -228,42 +154,19 @@ export default function LandingPage() {
<FooterSimple
columns={[
{
title: "Platform",
items: [
title: "Platform", items: [
{
label: "Dashboard",
href: "#dashboard",
},
label: "Dashboard", href: "#dashboard"},
{
label: "Modules",
href: "#modules",
},
label: "Modules", href: "#modules"},
],
},
{
title: "Social",
items: [
title: "Support", items: [
{
label: "Leaderboard",
href: "#leaderboard",
},
label: "Help Center", href: "#"},
{
label: "Badges",
href: "#rewards",
},
],
},
{
title: "Support",
items: [
{
label: "Help Center",
href: "#",
},
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
],
},
]}
@@ -274,4 +177,4 @@ export default function LandingPage() {
</ReactLenis>
</ThemeProvider>
);
}
}