51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import ChatwootWidget from "@/components/chatwoot-widget";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Smart Store Assistant - Scan",
|
|
description: "Detector inteligente de calzado con IA avanzada",
|
|
viewport: {
|
|
width: 'device-width',
|
|
initialScale: 1,
|
|
maximumScale: 1,
|
|
userScalable: false,
|
|
viewportFit: 'cover', // Safe area support for iOS notch
|
|
},
|
|
themeColor: '#000000',
|
|
appleWebApp: {
|
|
capable: true,
|
|
statusBarStyle: 'black-translucent',
|
|
title: 'SSA Scan',
|
|
},
|
|
manifest: '/manifest.json',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="es" className="dark">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased select-none overscroll-none`}
|
|
>
|
|
{children}
|
|
<ChatwootWidget />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|