bitcoin-treasury/app/layout.tsx

30 lines
777 B
TypeScript
Raw Permalink Normal View History

import type { Metadata } from "next";
import { ThemeProvider } from "next-themes";
import "./styles/main.css";
import Footer from "./components/layout/footer";
export const metadata: Metadata = {
title: "Bitcoin Holdings",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
2025-04-09 20:59:34 -04:00
<html lang="en" suppressHydrationWarning className="h-full">
<body
2025-04-09 20:59:34 -04:00
className={`h-full font-mono bg-black text-textStandard relative antialiased`}
>
<ThemeProvider attribute="data-theme">
2025-04-09 20:59:34 -04:00
<div className="h-full flex justify-center items-center">
<main className="h-full">{children}</main>
</div>
<Footer />
</ThemeProvider>
</body>
</html>
);
}