diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx new file mode 100644 index 0000000..9666972 --- /dev/null +++ b/src/pages/Index.tsx @@ -0,0 +1,213 @@ +import { Link } from "react-router-dom"; +import Header from "@/components/Header"; +import Footer from "@/components/Footer"; +import { Button } from "@/components/ui/button"; +import { Badge } from "@/components/ui/badge"; +import { Card, CardContent } from "@/components/ui/card"; +import { Input } from "@/components/ui/input"; +import { Search, Star, Users, BookOpen, Award, GraduationCap, Play, CheckCircle, ArrowRight, Quote } from "lucide-react"; + +const stats = [ + { icon: Users, value: "10,000+", label: "Students" }, + { icon: BookOpen, value: "200+", label: "Courses" }, + { icon: GraduationCap, value: "50+", label: "Instructors" }, + { icon: Star, value: "4.9", label: "Avg Rating" }, +]; + +const featuredCourses = [ + { title: "Full-Stack Web Development Bootcamp", instructor: "Dr. Sarah Chen", category: "Web Dev", price: "$89", rating: 4.9, gradient: "from-indigo-500 to-purple-600" }, + { title: "Data Science & Machine Learning A-Z", instructor: "Prof. James Rivera", category: "Data Science", price: "$79", rating: 4.8, gradient: "from-amber-500 to-orange-600" }, + { title: "UI/UX Design Masterclass", instructor: "Maya Patel", category: "Design", price: "$69", rating: 4.9, gradient: "from-emerald-500 to-teal-600" }, + { title: "AI & Deep Learning with Python", instructor: "Dr. Alex Kim", category: "AI/ML", price: "$99", rating: 4.7, gradient: "from-rose-500 to-pink-600" }, + { title: "Digital Business Strategy", instructor: "Rachel Torres", category: "Business", price: "$59", rating: 4.8, gradient: "from-cyan-500 to-blue-600" }, + { title: "Growth Marketing & Analytics", instructor: "David Park", category: "Marketing", price: "$69", rating: 4.6, gradient: "from-violet-500 to-fuchsia-600" }, +]; + +const categories = ["Web Dev", "Data Science", "Design", "Business", "Marketing", "AI/ML", "Mobile", "DevOps"]; + +const steps = [ + { icon: Search, title: "Browse Courses", desc: "Explore 200+ expert-led courses across dozens of categories." }, + { icon: Play, title: "Learn at Your Pace", desc: "Watch HD video lessons, complete projects, and earn certificates." }, + { icon: Award, title: "Get Certified", desc: "Receive industry-recognized certificates to boost your career." }, +]; + +const instructors = [ + { name: "Dr. Sarah Chen", specialty: "Full-Stack Development", courses: 12, students: 3200, gradient: "from-indigo-400 to-purple-500" }, + { name: "Prof. James Rivera", specialty: "Data Science & AI", courses: 8, students: 2800, gradient: "from-amber-400 to-orange-500" }, + { name: "Maya Patel", specialty: "UI/UX Design", courses: 15, students: 4100, gradient: "from-emerald-400 to-teal-500" }, + { name: "Dr. Alex Kim", specialty: "Machine Learning", courses: 10, students: 3600, gradient: "from-rose-400 to-pink-500" }, +]; + +const testimonials = [ + { name: "Emily Rodriguez", text: "This platform completely changed my career trajectory. The courses are incredibly well-structured and the instructors are truly world-class.", rating: 5 }, + { name: "Marcus Johnson", text: "I landed my dream job as a data scientist after completing the Data Science track. The hands-on projects made all the difference.", rating: 5 }, + { name: "Aisha Patel", text: "The community and support are phenomenal. I never felt alone in my learning journey. Best investment I have ever made in myself.", rating: 5 }, +]; + +export default function IndexPage() { + return ( +
+
+ + {/* ── Hero ── */} +
+
+
+
+

Transform Your Career With World-Class Courses

+

Join thousands of learners mastering new skills with expert-led courses, hands-on projects, and industry-recognized certifications.

+
+
+ + +
+ +
+
+ {stats.map((s, i) => ( +
+ +
{s.value}
+
{s.label}
+
+ ))} +
+
+
+ + {/* ── Featured Courses ── */} +
+
+
+ Featured Courses +

Learn From the Best

+

Handpicked courses designed by industry experts to accelerate your career growth.

+
+
+ {featuredCourses.map((c, i) => ( + +
+ +
+ + {c.category} +

{c.title}

+

{c.instructor}

+
+
+ + {c.rating} +
+ {c.price} +
+ +
+
+ ))} +
+
+
+ + {/* ── Categories ── */} +
+
+

Browse by Category

+
+ {categories.map((cat) => ( + + {cat} + + ))} +
+
+
+ + {/* ── How It Works ── */} +
+
+
+

How It Works

+

Three simple steps to transform your career

+
+
+ {steps.map((s, i) => ( +
+
+ +
+
STEP {i + 1}
+

{s.title}

+

{s.desc}

+
+ ))} +
+
+
+ + {/* ── Instructor Spotlight ── */} +
+
+
+ Expert Instructors +

Learn From Industry Leaders

+
+
+ {instructors.map((inst, i) => ( + +
+ {inst.name.split(" ").map(n => n[0]).join("")} +
+

{inst.name}

+

{inst.specialty}

+
+ {inst.courses} Courses + {inst.students.toLocaleString()} Students +
+
+ ))} +
+
+
+ + {/* ── Testimonials ── */} +
+
+
+

What Our Students Say

+
+
+ {testimonials.map((t, i) => ( + + +

{t.text}

+
+ {Array.from({ length: t.rating }).map((_, j) => ( + + ))} +
+
{t.name}
+
+ ))} +
+
+
+ + {/* ── CTA ── */} +
+
+
+

Start Learning Today — First Month Free

+

Access all 200+ courses with a free trial. No credit card required. Cancel anytime.

+ +
+
+
+ +
+ ); +} \ No newline at end of file