- PM2 v6: 2x API cluster + 1x web, zero-downtime reload - Redis cache: 30s TTL on GET /tasks, X-Cache header - Nginx gzip compression - Mobile touch targets 44px - Czech diacritics throughout UI - TaskModal slide-up animation - StatusBadge color dots - GroupSelector emoji icons Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
51 lines
1.3 KiB
TypeScript
51 lines
1.3 KiB
TypeScript
import type { Metadata, Viewport } from "next";
|
|
import "./globals.css";
|
|
import ThemeProvider from "@/components/ThemeProvider";
|
|
import AuthProvider from "@/components/AuthProvider";
|
|
import Header from "@/components/Header";
|
|
import BottomNav from "@/components/BottomNav";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Task Team",
|
|
description: "Sprava ukolu pro tym",
|
|
manifest: "/manifest.json",
|
|
appleWebApp: {
|
|
capable: true,
|
|
statusBarStyle: "black-translucent",
|
|
title: "Task Team",
|
|
},
|
|
other: { "mobile-web-app-capable": "yes" },
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
maximumScale: 1,
|
|
themeColor: [
|
|
{ media: "(prefers-color-scheme: light)", color: "#ffffff" },
|
|
{ media: "(prefers-color-scheme: dark)", color: "#0a0a0a" },
|
|
],
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="cs" suppressHydrationWarning>
|
|
<body className="antialiased min-h-screen">
|
|
<ThemeProvider>
|
|
<AuthProvider>
|
|
<Header />
|
|
<main className="w-full max-w-4xl mx-auto py-4 sm:px-4">
|
|
{children}
|
|
</main>
|
|
<BottomNav />
|
|
</AuthProvider>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|