43 lines
985 B
TypeScript
43 lines
985 B
TypeScript
import type { Metadata, Viewport } from "next/types";
|
|
import "./globals.css";
|
|
import Providers from "@/components/Providers";
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: "JuanitoSport",
|
|
template: "%s | JuanitoSport",
|
|
},
|
|
description:
|
|
"JuanitoSport - Muay Thai & Yog4Fight à Bazainville. Cours d'essai gratuit, ambiance familiale.",
|
|
manifest: "/manifest.json",
|
|
appleWebApp: {
|
|
capable: true,
|
|
statusBarStyle: "black-translucent",
|
|
title: "JuanitoSport",
|
|
},
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
maximumScale: 1,
|
|
themeColor: "#0f0f0f",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="fr">
|
|
<head>
|
|
<link rel="apple-touch-icon" href="/icons/icon-192x192.png" />
|
|
</head>
|
|
<body className="bg-dark-900 text-white antialiased">
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|