feat: add mobile layout and bottom navigation components

This commit is contained in:
Michael committed 2025-12-10 13:42:05 +01:00
1 parent 69773e3d2f
commit 946b5f30bd
12 files changed
+1219 -4

No files matched your search

@@ -0,0 +1,16 @@
/**
* ResponsiveCalendar - Wrapper for automatic mobile/desktop detection
*/
import { useScreenSize } from "@/hooks/use-screen-size";
import Calendar from "@/pages/Calendar";
import MobileCalendarPage from "@/pages/mobile/CalendarPage";
export default function ResponsiveCalendar() {
const { isMobile } = useScreenSize();
if (isMobile) {
return <MobileCalendarPage />;
}
return <Calendar />;
}