diff --git a/frontend/src/components/dashboard/CalendarWidget.tsx b/frontend/src/components/dashboard/CalendarWidget.tsx index 05732b6..fc40716 100644 --- a/frontend/src/components/dashboard/CalendarWidget.tsx +++ b/frontend/src/components/dashboard/CalendarWidget.tsx @@ -50,8 +50,10 @@ export default function CalendarWidget({ events }: CalendarWidgetProps) { return () => clearInterval(interval); }, []); + const hasCurrentEvent = events.some((e) => getEventTimeState(e, clientNow) === 'current'); + return ( - +
diff --git a/frontend/src/components/dashboard/DashboardAmbient.tsx b/frontend/src/components/dashboard/DashboardAmbient.tsx new file mode 100644 index 0000000..e348d56 --- /dev/null +++ b/frontend/src/components/dashboard/DashboardAmbient.tsx @@ -0,0 +1,30 @@ +/** + * Muted ambient background for the dashboard. + * Two accent-colored drifting orbs at very low opacity — adds depth + * and movement without distracting from content. Reuses the same + * drift keyframes as the login AmbientBackground but at ~25% opacity. + */ +export default function DashboardAmbient() { + return ( +