feat(boss-dashboard): add /(mobile)/m layout with viewport + manifest link
This commit is contained in:
parent
b755ad34d6
commit
fcbc085723
1 changed files with 26 additions and 0 deletions
26
src/app/(mobile)/m/layout.tsx
Normal file
26
src/app/(mobile)/m/layout.tsx
Normal file
|
|
@ -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 (
|
||||
<main className="min-h-screen bg-background text-foreground antialiased">
|
||||
{children}
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue