"use client" import { useState } from "react" import { Card } from "@/components/ui/card" import { Button } from "@/components/ui/button" import { BookOpen, Trophy, Target, TrendingUp, Clock, Award, CheckCircle2, PlayCircle } from "lucide-react" export default function Home() { const [activeTab, setActiveTab] = useState("main") // Mock data для демонстрации const stats = { coursesInProgress: 3, completedCourses: 12, totalPoints: 2450, rank: "Advanced" } const recentCourses = [ { id: 1, title: "Advanced React Patterns", progress: 65, time: "2h 30m left" }, { id: 2, title: "System Design", progress: 40, time: "5h 15m left" }, { id: 3, title: "TypeScript Deep Dive", progress: 85, time: "45m left" } ] const achievements = [ { id: 1, title: "Fast Learner", icon: Trophy, unlocked: true }, { id: 2, title: "Course Master", icon: Award, unlocked: true }, { id: 3, title: "Consistency King", icon: Target, unlocked: false } ] return (
{/* Header */}
{/* Main Content */}
{/* Stats Grid */}
IN PROGRESS
{stats.coursesInProgress}

Active Courses

COMPLETED
{stats.completedCourses}

Finished

TOTAL
{stats.totalPoints}

Points Earned

RANK
{stats.rank}

Current Level

{/* Continue Learning Section */}

Continue Learning

{recentCourses.map((course) => (

{course.title}

{course.time}
{/* Progress Bar */}
Progress {course.progress}%
))}
{/* Achievements Section */}

Achievements

{achievements.map((achievement) => { const Icon = achievement.icon return (

{achievement.title}

{achievement.unlocked ? 'Unlocked' : 'Locked'}

) })}
{/* Subtle grid background */}
) }