bitcoin-treasury/app/layout.tsx
Ryan Loomba e6b3d1248f initial commit
Co-authored-by: Nahiyan Khan <nahiyan.khan@gmail.com>
2025-04-03 09:44:30 -07:00

30 lines
765 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>
<body
className={`font-mono bg-black text-textStandard relative antialiased`}
>
<ThemeProvider attribute="data-theme">
<div className="h-[calc(100vh-54px)] flex justify-center items-center">
<main className="h-full">{children}</main>
</div>
<Footer />
</ThemeProvider>
</body>
</html>
);
}