broke: a private money app that runs on your own accounts and your own AI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
f550865e93
359 files changed
+34290
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Figtree } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const figtree = Figtree({ variable: "--font-figtree", subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "broke",
|
||||
description: "Where your money went.",
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<head>
|
||||
{/* Apply the saved theme before paint; no attribute means follow the system. */}
|
||||
<script dangerouslySetInnerHTML={{ __html: `try{var t=localStorage.getItem("theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}` }} />
|
||||
</head>
|
||||
<body className={`${figtree.variable} antialiased`}>{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user