- Goals CRUD API + AI study plan generator + progress reports - Goals frontend page with progress bars - Team tasks: assign, transfer, collaborate endpoints - Push notifications: web-push, VAPID, subscribe/send - i18n: 4 languages (cs, he, ru, ua) translation files - notifications.js + goals.js routes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
54 lines
1.4 KiB
TypeScript
54 lines
1.4 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";
|
|
import { I18nProvider } from "@/lib/i18n";
|
|
|
|
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">
|
|
<I18nProvider>
|
|
<ThemeProvider>
|
|
<AuthProvider>
|
|
<Header />
|
|
<main className="w-full max-w-4xl mx-auto py-4 sm:px-4">
|
|
{children}
|
|
</main>
|
|
<BottomNav />
|
|
</AuthProvider>
|
|
</ThemeProvider>
|
|
</I18nProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|