Scrum4Me/app/layout.tsx
Scrum4Me Agent 7b9ec6ce67 ST-cmovs8psg: notifications-sheet + iOS meta-tags in layout
notifications-sheet.tsx: PushToggle onderin met sectie
'Notificatie-instellingen' en visuele scheidslijn.
app/layout.tsx: appleWebApp.capable, statusBarStyle en
mobile-web-app-capable meta-tags toegevoegd via Next.js Metadata API.
manifest.json had al display: standalone.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 21:19:26 +02:00

63 lines
1.4 KiB
TypeScript

import type { Metadata, Viewport } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Analytics } from "@vercel/analytics/next";
import { Toaster } from "sonner";
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: {
default: "Scrum4Me",
template: "%s — Scrum4Me",
},
description: "Lichtgewicht Scrum-planner voor solo developers en kleine teams",
icons: {
icon: [
{ url: "/favicon.ico", sizes: "48x48" },
{ url: "/icon.png", sizes: "192x192", type: "image/png" },
],
apple: [
{ url: "/apple-icon.png", sizes: "180x180", type: "image/png" },
],
},
manifest: "/manifest.json",
appleWebApp: {
capable: true,
statusBarStyle: 'default',
},
other: {
'mobile-web-app-capable': 'yes',
},
};
export const viewport: Viewport = {
themeColor: '#ffffff',
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="nl"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col">
{children}
<Analytics />
<Toaster richColors position="bottom-right" />
</body>
</html>
);
}