mirror of
https://github.com/block/bitcoin-treasury.git
synced 2025-04-23 01:01:24 +00:00
30 lines
777 B
TypeScript
30 lines
777 B
TypeScript
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 (
|
|
<html lang="en" suppressHydrationWarning className="h-full">
|
|
<body
|
|
className={`h-full font-mono bg-black text-textStandard relative antialiased`}
|
|
>
|
|
<ThemeProvider attribute="data-theme">
|
|
<div className="h-full flex justify-center items-center">
|
|
<main className="h-full">{children}</main>
|
|
</div>
|
|
<Footer />
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|