"use client"; import { Plus, Filter, Brain, Check, X, Flame, Target, Trophy, TrendingUp } from "lucide-react"; import { Area, AreaChart, ResponsiveContainer, XAxis, Tooltip } from "recharts"; // Mock Data const habits = [ { id: 1, name: "Morning Meditation", category: "Mindfulness", streak: 12, goal: "Daily", color: "#6C5BB0", // Primary status: [true, true, true, false, true, true, false], trend: [40, 45, 30, 60, 50, 70, 85] }, { id: 2, name: "Read 20 Pages", category: "Learning", streak: 4, goal: "Daily", color: "#10b981", // Emerald status: [false, true, true, true, true, false, false], trend: [20, 40, 50, 40, 60, 80, 75] }, { id: 3, name: "Gym Workout", category: "Health", streak: 2, goal: "4x Week", color: "#f97316", // Orange status: [true, false, true, false, true, false, false], trend: [50, 55, 45, 65, 60, 75, 90] }, { id: 4, name: "No Sugar", category: "Diet", streak: 0, goal: "Daily", color: "#ef4444", // Red status: [true, true, false, false, false, false, false], trend: [80, 70, 60, 40, 30, 20, 10] } ]; const days = ["M", "T", "W", "T", "F", "S", "S"]; export default function HabitsPage() { return (
I noticed a pattern: You often break your "No Sugar" streak on Thursdays. This correlates with high-stress days marked in your Journal. AI suggests scheduling a stress-relief activity (like a walk) around 3 PM on Thursdays to curb cravings.