This commit is contained in:
2025-08-14 22:40:20 -04:00
parent 664663cf29
commit daa785c721
2 changed files with 62 additions and 118 deletions

View File

@@ -1,21 +1,13 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const inter = Inter({ subsets: ['latin'], variable: "--font-inter" })
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export const metadata = {
title: 'iCal PWA',
description: 'Minimal PWA for calendar events',
}
export default function RootLayout({
children,
@@ -25,9 +17,12 @@ export default function RootLayout({
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={`${inter.variable} antialiased min-h-screen flex flex-col bg-gray-50 text-gray-900`}
>
{children}
<header className="bg-blue-600 text-white px-4 py-3 font-bold shadow">
iCal PWA
</header>
<main className="flex-1 p-4">{children}</main>
</body>
</html>
);