- Add R2 credentials (.env.local) - Create /api/upload with presigned URLs - Memories gallery UI with grid view and upload - Images stored in tia bucket
38 lines
No EOL
886 B
TypeScript
38 lines
No EOL
886 B
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import { ThemeProvider } from "./ThemeProvider";
|
|
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: "Tia - Baby Tracking",
|
|
description: "Your baby tracking companion",
|
|
manifest: "/manifest.json",
|
|
icons: {
|
|
icon: "/icon.svg",
|
|
apple: "/icon.svg",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className={`${geistSans.variable} ${geistMono.variable} min-h-full antialiased`}>
|
|
<ThemeProvider>{children}</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
} |