From fcbc0857238cc6b45e8f8db6135df6a6153eb9bb Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 28 Aug 2026 00:15:36 +0200 Subject: [PATCH] feat(boss-dashboard): add /(mobile)/m layout with viewport + manifest link --- src/app/(mobile)/m/layout.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/app/(mobile)/m/layout.tsx diff --git a/src/app/(mobile)/m/layout.tsx b/src/app/(mobile)/m/layout.tsx new file mode 100644 index 0000000..3b145cb --- /dev/null +++ b/src/app/(mobile)/m/layout.tsx @@ -0,0 +1,26 @@ +import type { Metadata, Viewport } from "next"; +import type { ReactNode } from "react"; + +export const metadata: Metadata = { + title: "WFDASH — Boss Phone", + description: "Boss's glance view of sales rep activity, orders placed, and driver stops.", + manifest: "/manifest-mobile.json", + icons: { + apple: "/apple-touch-icon.png", + }, +}; + +export const viewport: Viewport = { + width: "device-width", + initialScale: 1, + viewportFit: "cover", + themeColor: "#0b1020", +}; + +export default function MobileLayout({ children }: { children: ReactNode }) { + return ( +
+ {children} +
+ ); +}