diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index dd4fe69..109e9c9 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -1,4 +1,4 @@ -import type { Metadata } from "next"; +import type { Metadata, Viewport } from "next"; import localFont from "next/font/local"; import "./globals.css"; import { Providers } from "@/components/providers"; @@ -37,6 +37,13 @@ export const metadata: Metadata = { description: "مسیر یادگیری واقعی پرگار", }; +export const viewport: Viewport = { + width: "device-width", + initialScale: 1, + viewportFit: "cover", + interactiveWidget: "resizes-content", +}; + export default function RootLayout({ children }: { children: React.ReactNode }) { return ( )} -
+
{allowChildren ? children : null}
-