Merge version_1 into main #2
244
src/app/page.tsx
244
src/app/page.tsx
@@ -10,7 +10,6 @@ import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven";
|
||||
import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve";
|
||||
import FaqSplitText from "@/components/sections/faq/FaqSplitText";
|
||||
import FooterBase from "@/components/sections/footer/FooterBase";
|
||||
import Link from "next/link";
|
||||
|
||||
export default function HomePage() {
|
||||
const navItems = [
|
||||
@@ -23,8 +22,7 @@ export default function HomePage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Product",
|
||||
items: [
|
||||
title: "Product", items: [
|
||||
{ label: "Learn", href: "#learn" },
|
||||
{ label: "Ask Doubt", href: "#ask-doubt" },
|
||||
{ label: "Quiz", href: "#quiz" },
|
||||
@@ -32,8 +30,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Blog", href: "/blog" },
|
||||
{ label: "Careers", href: "/careers" },
|
||||
@@ -41,8 +38,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" },
|
||||
@@ -69,9 +65,7 @@ export default function HomePage() {
|
||||
brandName="LearnAI"
|
||||
navItems={navItems}
|
||||
button={{
|
||||
text: "Start Learning Now",
|
||||
href: "https://learnai.app/login",
|
||||
}}
|
||||
text: "Start Learning Now", href: "https://learnai.app/login"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -84,7 +78,7 @@ export default function HomePage() {
|
||||
{ text: "Start Learning Now", href: "https://learnai.app/login" },
|
||||
{ text: "Explore Features", href: "#features" },
|
||||
]}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-serene-modern-study-environment-with-a-1773292649734-e26abce9.png?_wi=1"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-serene-modern-study-environment-with-a-1773292649734-e26abce9.png"
|
||||
imageAlt="AI-powered learning environment with holographic interface"
|
||||
showDimOverlay={true}
|
||||
/>
|
||||
@@ -95,37 +89,17 @@ export default function HomePage() {
|
||||
<ProductCardOne
|
||||
products={[
|
||||
{
|
||||
id: "learn",
|
||||
name: "Learn",
|
||||
price: "Structured Lessons",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-clean-organized-study-material-interfa-1773292649675-eaa718f6.png?_wi=1",
|
||||
imageAlt: "Learn module with topic breakdown",
|
||||
},
|
||||
id: "learn", name: "Learn", price: "Structured Lessons", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-clean-organized-study-material-interfa-1773292649675-eaa718f6.png", imageAlt: "Learn module with topic breakdown"},
|
||||
{
|
||||
id: "doubt",
|
||||
name: "Ask Doubt",
|
||||
price: "AI Chat & Files",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-friendly-ai-chatbot-interface-showing--1773292650113-37797d31.png?_wi=1",
|
||||
imageAlt: "AI chatbot doubt resolution interface",
|
||||
},
|
||||
id: "doubt", name: "Ask Doubt", price: "AI Chat & Files", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-friendly-ai-chatbot-interface-showing--1773292650113-37797d31.png", imageAlt: "AI chatbot doubt resolution interface"},
|
||||
{
|
||||
id: "quiz",
|
||||
name: "Quiz",
|
||||
price: "Adaptive Testing",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-modern-quiz-interface-displaying-multi-1773292650480-e2da793d.png?_wi=1",
|
||||
imageAlt: "Interactive quiz interface",
|
||||
},
|
||||
id: "quiz", name: "Quiz", price: "Adaptive Testing", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-modern-quiz-interface-displaying-multi-1773292650480-e2da793d.png", imageAlt: "Interactive quiz interface"},
|
||||
{
|
||||
id: "flashcards",
|
||||
name: "Flashcards",
|
||||
price: "Spaced Repetition",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-beautiful-flashcard-interface-with-fli-1773292649709-6cd3e9de.png?_wi=1",
|
||||
imageAlt: "Digital flashcard study system",
|
||||
},
|
||||
id: "flashcards", name: "Flashcards", price: "Spaced Repetition", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-beautiful-flashcard-interface-with-fli-1773292649709-6cd3e9de.png", imageAlt: "Digital flashcard study system"},
|
||||
]}
|
||||
title="Core Learning Modules"
|
||||
description="Four powerful AI-driven tools designed to personalize your learning journey. Choose your style—structured lessons, interactive chats, adaptive quizzes, or spaced repetition flashcards."
|
||||
@@ -142,49 +116,29 @@ export default function HomePage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Personalized AI Pathways",
|
||||
description:
|
||||
"Adaptive learning experiences that adjust to your pace and learning style. AI generates customized study materials with explanations, visual aids, graphs, and real-world examples tailored to your needs.",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-clean-organized-study-material-interfa-1773292649675-eaa718f6.png?_wi=2",
|
||||
imageAlt: "Personalized AI learning pathways",
|
||||
},
|
||||
title: "Personalized AI Pathways", description:
|
||||
"Adaptive learning experiences that adjust to your pace and learning style. AI generates customized study materials with explanations, visual aids, graphs, and real-world examples tailored to your needs.", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-clean-organized-study-material-interfa-1773292649675-eaa718f6.png", imageAlt: "Personalized AI learning pathways"},
|
||||
{
|
||||
id: 2,
|
||||
title: "Instant Doubt Clarification",
|
||||
description:
|
||||
"Chat with our AI assistant in real-time or upload files (PDF, Word, PowerPoint) for instant analysis. Get comprehensive summaries, detailed explanations, and auto-generated practice questions.",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-friendly-ai-chatbot-interface-showing--1773292650113-37797d31.png?_wi=2",
|
||||
imageAlt: "Instant doubt clarification interface",
|
||||
},
|
||||
title: "Instant Doubt Clarification", description:
|
||||
"Chat with our AI assistant in real-time or upload files (PDF, Word, PowerPoint) for instant analysis. Get comprehensive summaries, detailed explanations, and auto-generated practice questions.", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-friendly-ai-chatbot-interface-showing--1773292650113-37797d31.png", imageAlt: "Instant doubt clarification interface"},
|
||||
{
|
||||
id: 3,
|
||||
title: "Adaptive Quiz Generation",
|
||||
description:
|
||||
"Generate 20-30 questions automatically based on your chosen topics and subjects. Quizzes adapt in difficulty based on your performance, ensuring optimal learning challenge.",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-modern-quiz-interface-displaying-multi-1773292650480-e2da793d.png?_wi=2",
|
||||
imageAlt: "Adaptive quiz generation system",
|
||||
},
|
||||
title: "Adaptive Quiz Generation", description:
|
||||
"Generate 20-30 questions automatically based on your chosen topics and subjects. Quizzes adapt in difficulty based on your performance, ensuring optimal learning challenge.", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-modern-quiz-interface-displaying-multi-1773292650480-e2da793d.png", imageAlt: "Adaptive quiz generation system"},
|
||||
{
|
||||
id: 4,
|
||||
title: "Smart Flashcard System",
|
||||
description:
|
||||
"Create 10-15 intelligent flashcards per study session using spaced repetition algorithms. Perfect for quick reviews and memorization of key concepts and definitions.",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-beautiful-flashcard-interface-with-fli-1773292649709-6cd3e9de.png?_wi=2",
|
||||
imageAlt: "Smart flashcard system",
|
||||
},
|
||||
title: "Smart Flashcard System", description:
|
||||
"Create 10-15 intelligent flashcards per study session using spaced repetition algorithms. Perfect for quick reviews and memorization of key concepts and definitions.", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-beautiful-flashcard-interface-with-fli-1773292649709-6cd3e9de.png", imageAlt: "Smart flashcard system"},
|
||||
{
|
||||
id: 5,
|
||||
title: "Comprehensive Progress Tracking",
|
||||
description:
|
||||
"Monitor your learning journey with detailed analytics. Track streaks, quiz scores, questions solved, and materials completed—all in one beautiful profile dashboard.",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-personalized-student-profile-dashboard-1773292649996-19e33256.png?_wi=1",
|
||||
imageAlt: "Comprehensive progress tracking dashboard",
|
||||
},
|
||||
title: "Comprehensive Progress Tracking", description:
|
||||
"Monitor your learning journey with detailed analytics. Track streaks, quiz scores, questions solved, and materials completed—all in one beautiful profile dashboard.", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/a-personalized-student-profile-dashboard-1773292649996-19e33256.png", imageAlt: "Comprehensive progress tracking dashboard"},
|
||||
]}
|
||||
title="Why Choose LearnAI"
|
||||
description="Powerful features designed to transform how you learn"
|
||||
@@ -200,37 +154,17 @@ export default function HomePage() {
|
||||
<TeamCardOne
|
||||
members={[
|
||||
{
|
||||
id: "student",
|
||||
name: "Student Learner",
|
||||
role: "Ages 16–25",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-a-motivated-high-school-stud-1773292649515-cf3744db.png?_wi=1",
|
||||
imageAlt: "High school student learner",
|
||||
},
|
||||
id: "student", name: "Student Learner", role: "Ages 16–25", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-a-motivated-high-school-stud-1773292649515-cf3744db.png", imageAlt: "High school student learner"},
|
||||
{
|
||||
id: "professional",
|
||||
name: "Working Pro",
|
||||
role: "Ages 25–40",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/professional-portrait-of-a-working-adult-1773292650052-53b230d7.png?_wi=1",
|
||||
imageAlt: "Working professional",
|
||||
},
|
||||
id: "professional", name: "Working Pro", role: "Ages 25–40", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/professional-portrait-of-a-working-adult-1773292650052-53b230d7.png", imageAlt: "Working professional"},
|
||||
{
|
||||
id: "educator",
|
||||
name: "Educator & Parent",
|
||||
role: "Monitors Progress",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-an-educator-or-parent-approx-1773292648626-e5c2516f.png?_wi=1",
|
||||
imageAlt: "Educator and parent",
|
||||
},
|
||||
id: "educator", name: "Educator & Parent", role: "Monitors Progress", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-an-educator-or-parent-approx-1773292648626-e5c2516f.png", imageAlt: "Educator and parent"},
|
||||
{
|
||||
id: "college",
|
||||
name: "College Student",
|
||||
role: "Higher Education",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-a-college-age-student-approx-1773292649559-10fda9fd.png?_wi=1",
|
||||
imageAlt: "College student",
|
||||
},
|
||||
id: "college", name: "College Student", role: "Higher Education", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-a-college-age-student-approx-1773292649559-10fda9fd.png", imageAlt: "College student"},
|
||||
]}
|
||||
title="Who We Serve"
|
||||
description="LearnAI adapts to learners at every stage of their educational journey"
|
||||
@@ -247,32 +181,14 @@ export default function HomePage() {
|
||||
<MetricCardEleven
|
||||
metrics={[
|
||||
{
|
||||
id: "users",
|
||||
value: "50K+",
|
||||
title: "Active Learners",
|
||||
description: "Growing community of passionate students",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/illustration-showing-multiple-students-c-1773292650381-b59b81eb.png?_wi=1",
|
||||
imageAlt: "Collaborative learning community",
|
||||
},
|
||||
id: "users", value: "50K+", title: "Active Learners", description: "Growing community of passionate students", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/illustration-showing-multiple-students-c-1773292650381-b59b81eb.png", imageAlt: "Collaborative learning community"},
|
||||
{
|
||||
id: "accuracy",
|
||||
value: "94%",
|
||||
title: "Quiz Accuracy",
|
||||
description: "Students improve understanding significantly",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/beautiful-data-visualization-showing-gro-1773292649896-1f209682.png?_wi=1",
|
||||
imageAlt: "Metrics and analytics visualization",
|
||||
},
|
||||
id: "accuracy", value: "94%", title: "Quiz Accuracy", description: "Students improve understanding significantly", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/beautiful-data-visualization-showing-gro-1773292649896-1f209682.png", imageAlt: "Metrics and analytics visualization"},
|
||||
{
|
||||
id: "hours",
|
||||
value: "10M+",
|
||||
title: "Hours Learned",
|
||||
description: "Time invested in personalized education",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/abstract-visualization-of-artificial-int-1773292649342-33d72989.png?_wi=1",
|
||||
imageAlt: "AI technology visualization",
|
||||
},
|
||||
id: "hours", value: "10M+", title: "Hours Learned", description: "Time invested in personalized education", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/abstract-visualization-of-artificial-int-1773292649342-33d72989.png", imageAlt: "AI technology visualization"},
|
||||
]}
|
||||
title="Our Impact"
|
||||
description="Real results from learners worldwide"
|
||||
@@ -288,33 +204,17 @@ export default function HomePage() {
|
||||
<TestimonialCardTwelve
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Priya Sharma",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-a-motivated-high-school-stud-1773292649515-cf3744db.png?_wi=2",
|
||||
imageAlt: "Priya Sharma testimonial",
|
||||
},
|
||||
id: "1", name: "Priya Sharma", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-a-motivated-high-school-stud-1773292649515-cf3744db.png", imageAlt: "Priya Sharma testimonial"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Rahul Patel",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/professional-portrait-of-a-working-adult-1773292650052-53b230d7.png?_wi=2",
|
||||
imageAlt: "Rahul Patel testimonial",
|
||||
},
|
||||
id: "2", name: "Rahul Patel", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/professional-portrait-of-a-working-adult-1773292650052-53b230d7.png", imageAlt: "Rahul Patel testimonial"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Dr. Anjali Verma",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-an-educator-or-parent-approx-1773292648626-e5c2516f.png?_wi=2",
|
||||
imageAlt: "Dr. Anjali Verma testimonial",
|
||||
},
|
||||
id: "3", name: "Dr. Anjali Verma", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-an-educator-or-parent-approx-1773292648626-e5c2516f.png", imageAlt: "Dr. Anjali Verma testimonial"},
|
||||
{
|
||||
id: "4",
|
||||
name: "Aditya Kumar",
|
||||
imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-a-college-age-student-approx-1773292649559-10fda9fd.png?_wi=2",
|
||||
imageAlt: "Aditya Kumar testimonial",
|
||||
},
|
||||
id: "4", name: "Aditya Kumar", imageSrc:
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ApbYucMzKESh7rlfFqZyNw8tl3/portrait-of-a-college-age-student-approx-1773292649559-10fda9fd.png", imageAlt: "Aditya Kumar testimonial"},
|
||||
]}
|
||||
cardTitle="Join thousands of learners mastering subjects smarter and faster with LearnAI"
|
||||
cardTag="Trusted by Learners Worldwide"
|
||||
@@ -328,41 +228,23 @@ export default function HomePage() {
|
||||
<FaqSplitText
|
||||
faqs={[
|
||||
{
|
||||
id: "1",
|
||||
title: "How do I start learning with LearnAI?",
|
||||
content:
|
||||
"Simply create an account using your phone number or Google login. Then choose your learning module—Learn, Ask Doubt, Quiz, or Flashcards—and begin your personalized AI-powered learning journey immediately.",
|
||||
},
|
||||
id: "1", title: "How do I start learning with LearnAI?", content:
|
||||
"Simply create an account using your phone number or Google login. Then choose your learning module—Learn, Ask Doubt, Quiz, or Flashcards—and begin your personalized AI-powered learning journey immediately."},
|
||||
{
|
||||
id: "2",
|
||||
title: "Can I upload my own study materials?",
|
||||
content:
|
||||
"Absolutely! In the 'Ask Doubt' module, you can upload PDF, Word, PowerPoint, and other document files. Our AI will analyze them, provide summaries, and generate practice questions automatically.",
|
||||
},
|
||||
id: "2", title: "Can I upload my own study materials?", content:
|
||||
"Absolutely! In the 'Ask Doubt' module, you can upload PDF, Word, PowerPoint, and other document files. Our AI will analyze them, provide summaries, and generate practice questions automatically."},
|
||||
{
|
||||
id: "3",
|
||||
title: "How many quiz questions are generated?",
|
||||
content:
|
||||
"Our system generates 20-30 adaptive quiz questions based on the subject and topics you select. The difficulty adjusts based on your performance to optimize your learning experience.",
|
||||
},
|
||||
id: "3", title: "How many quiz questions are generated?", content:
|
||||
"Our system generates 20-30 adaptive quiz questions based on the subject and topics you select. The difficulty adjusts based on your performance to optimize your learning experience."},
|
||||
{
|
||||
id: "4",
|
||||
title: "What data is tracked in my profile?",
|
||||
content:
|
||||
"Your profile displays your learning streak, quiz scores, total questions solved, number of completed study materials, and detailed learning analytics to help you monitor your progress.",
|
||||
},
|
||||
id: "4", title: "What data is tracked in my profile?", content:
|
||||
"Your profile displays your learning streak, quiz scores, total questions solved, number of completed study materials, and detailed learning analytics to help you monitor your progress."},
|
||||
{
|
||||
id: "5",
|
||||
title: "Is LearnAI available on mobile?",
|
||||
content:
|
||||
"Yes! LearnAI is fully responsive and works seamlessly on desktop, tablet, and mobile devices. Access your learning modules anytime, anywhere.",
|
||||
},
|
||||
id: "5", title: "Is LearnAI available on mobile?", content:
|
||||
"Yes! LearnAI is fully responsive and works seamlessly on desktop, tablet, and mobile devices. Access your learning modules anytime, anywhere."},
|
||||
{
|
||||
id: "6",
|
||||
title: "Can I use LearnAI for test preparation?",
|
||||
content:
|
||||
"Definitely! LearnAI is perfect for exam prep. Use the Learn module for structured materials, Quiz for practice tests, and Flashcards for quick revisions. The adaptive system focuses on weak areas.",
|
||||
},
|
||||
id: "6", title: "Can I use LearnAI for test preparation?", content:
|
||||
"Definitely! LearnAI is perfect for exam prep. Use the Learn module for structured materials, Quiz for practice tests, and Flashcards for quick revisions. The adaptive system focuses on weak areas."},
|
||||
]}
|
||||
sideTitle="Frequently Asked Questions"
|
||||
sideDescription="Everything you need to know about LearnAI"
|
||||
@@ -382,4 +264,4 @@ export default function HomePage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,51 +1,37 @@
|
||||
"use client";
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
import React from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
text: string;
|
||||
className?: string;
|
||||
fillColor?: string;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
className = '',
|
||||
fillColor = 'currentColor',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
viewBox="0 0 200 50"
|
||||
className={className}
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
aria-label={text}
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="central"
|
||||
fill={fillColor}
|
||||
fontSize="24"
|
||||
fontWeight="bold"
|
||||
fontFamily="inherit"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user