Files
home/src/app/layout.tsx
T
2026-10-21 23:44:08 +02:00

51 lines
1.2 KiB
TypeScript

import type { Metadata, Viewport } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { TooltipProvider } from "@/components/ui/tooltip";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Home OS — Portail Personnel",
description:
"Système d'exploitation web personnel ultra-léger (Nextcloud, Google Docs/Drive, Gitea, Gemini)",
appleWebApp: {
capable: true,
statusBarStyle: "black-translucent",
title: "Home OS",
},
};
export const viewport: Viewport = {
themeColor: "#09090b",
width: "device-width",
initialScale: 1,
maximumScale: 1,
userScalable: false,
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="fr"
className={`${geistSans.variable} ${geistMono.variable} dark h-full antialiased`}
>
<body className="min-h-full flex flex-col bg-zinc-950 text-zinc-100 overflow-hidden">
<TooltipProvider>{children}</TooltipProvider>
</body>
</html>
);
}