"use client" import { StudyPlanCard } from "@/components/AI/StudyPlanCard" import { WeeklyProgressReport } from "@/components/AI/WeeklyProgressReport" import { Card, CardContent } from "@/components/ui/card" import { Calendar, BookOpen, Clock, Target, CheckCircle2, TrendingUp, Flame } from "lucide-react" import { useActiveUser, isDemoUser } from "@/hooks/useActiveUser" export default function StudyPlanPage() { const { user, userId } = useActiveUser() const isDemo = isDemoUser(userId) const streakCount = user?.streak_count || (isDemo ? 12 : 1) return (
AI-generated task schedule dynamically tailored to fix your weak areas and maintain optimal syllabus coverage.