import { Card, CardContent, CardHeader, CardTitle } from "@/shared/components/ui/card"; import { Badge } from "@/shared/components/ui/badge"; import { Clock, MapPin, CalendarX } from "lucide-react"; import { EmptyState } from "@/shared/components/ui/empty-state"; interface ScheduleItem { id: string; course: string; time: string; location: string; type: "Lecture" | "Workshop" | "Lab"; } // MOCK_SCHEDULE can be empty to test empty state const MOCK_SCHEDULE: ScheduleItem[] = [ { id: "1", course: "Advanced Web Development", time: "09:00 AM - 10:30 AM", location: "Room 304", type: "Lecture", }, { id: "2", course: "UI/UX Design Principles", time: "11:00 AM - 12:30 PM", location: "Design Studio A", type: "Workshop", }, { id: "3", course: "Frontend Frameworks", time: "02:00 PM - 03:30 PM", location: "Online (Zoom)", type: "Lecture", }, ]; export function TeacherSchedule() { const hasSchedule = MOCK_SCHEDULE.length > 0; return ( Today's Schedule {!hasSchedule ? ( ) : (
{MOCK_SCHEDULE.map((item) => (

{item.course}

{item.time} {item.location}
{item.type}
))}
)}
); }