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>
63 lines
1.4 KiB
TypeScript
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>
|
|
);
|
|
}
|