import { DashboardLayout } from "@/components/layout/sidebar"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Calendar as CalendarIcon, Clock, MapPin } from "lucide-react"; const events = [ { id: 1, title: "Yearly Anniversary", date: "February 23, 2026", time: "All day", type: "personal", description: "Anniversary celebration", }, { id: 2, title: "Grabbing Anderson's dogs", date: "February 26, 2026", time: "5:30 PM - 6:30 PM", type: "task", description: "Pet sitting duties", }, { id: 3, title: "Daily Standup", date: "Every weekday", time: "8:30 AM", type: "work", description: "Toyota iOS team standup", }, { id: 4, title: "Group Workout", date: "Every weekday", time: "10:00 AM - 11:00 AM", type: "health", description: "Gym session", }, { id: 5, title: "NWW - Cowboy Club", date: "Every Wednesday", time: "Evening", type: "social", description: "No Wives Wednesday with cigars", }, { id: 6, title: "Contract Renewal", date: "March 2026", time: "TBD", type: "work", description: "Toyota contract up for renewal", }, { id: 7, title: "Mindy Turns 60", date: "2026", time: "TBD", type: "family", description: "Family milestone birthday", }, { id: 8, title: "Bailey Turns 35", date: "2026", time: "TBD", type: "family", description: "Family milestone birthday", }, { id: 9, title: "Taylor Turns 30", date: "2026", time: "TBD", type: "family", description: "Family milestone birthday", }, ]; const typeColors: Record = { personal: "bg-pink-500/10 text-pink-500 border-pink-500/20", work: "bg-blue-500/10 text-blue-500 border-blue-500/20", health: "bg-green-500/10 text-green-500 border-green-500/20", social: "bg-purple-500/10 text-purple-500 border-purple-500/20", family: "bg-yellow-500/10 text-yellow-500 border-yellow-500/20", task: "bg-orange-500/10 text-orange-500 border-orange-500/20", }; export default function CalendarPage() { const today = new Date().toLocaleDateString("en-US", { weekday: "long", year: "numeric", month: "long", day: "numeric", }); return (

Calendar

{today}

{/* Upcoming Events */}

Upcoming Events

{events.map((event) => (
{event.date.split(" ")[0].slice(0, 3)} {event.date.match(/\d+/)?.[0] || "--"}

{event.title}

{event.type}

{event.description}

{event.time} {event.date}
))}
{/* Sidebar */}
Today's Summary
Events 3
Tasks 4
Reminders 2
Quick Actions
); }