mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-23 06:58:19 +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 @@
|
||||
/**
|
||||
* ResponsiveOrders - Wrapper for automatic mobile/desktop detection
|
||||
*/
|
||||
import { useScreenSize } from "@/hooks/use-screen-size";
|
||||
import Orders from "@/pages/Orders";
|
||||
import MobileOrdersPage from "@/pages/mobile/OrdersPage";
|
||||
|
||||
export default function ResponsiveOrders() {
|
||||
const { isMobile } = useScreenSize();
|
||||
|
||||
if (isMobile) {
|
||||
return <MobileOrdersPage />;
|
||||
}
|
||||
|
||||
return <Orders />;
|
||||
}
|
||||
Reference in new issue
Block a user