mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-21 14:08:15 +02:00
feat: add mobile layout and bottom navigation components
This commit is contained in:
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 />;
|
||||
}
|
||||
Reference in new issue
Block a user