Files
LexiChain/app/layout.tsx

39 lines
909 B
TypeScript
Raw Normal View History

2026-02-14 20:21:02 +01:00
import type { Metadata } from "next";
2026-02-17 00:14:38 +01:00
import { Poppins, Geist_Mono } from "next/font/google";
2026-02-14 20:21:02 +01:00
import "./globals.css";
2026-02-14 21:47:08 +01:00
import { Providers } from "./provider";
2026-02-14 20:21:02 +01:00
2026-02-17 00:14:38 +01:00
const poppins = Poppins({
2026-02-14 20:21:02 +01:00
subsets: ["latin"],
2026-02-17 00:14:38 +01:00
weight: ["400", "500", "600", "700", "800", "900"],
variable: "--font-poppins",
display: "swap",
2026-02-14 20:21:02 +01:00
});
const geistMono = Geist_Mono({
subsets: ["latin"],
2026-02-17 00:14:38 +01:00
variable: "--font-geist-mono",
display: "swap",
2026-02-14 20:21:02 +01:00
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
2026-02-14 21:47:08 +01:00
<html lang="en" suppressHydrationWarning>
2026-02-14 20:21:02 +01:00
<body
2026-02-17 00:14:38 +01:00
className={`${poppins.variable} ${geistMono.variable} min-h-screen bg-background text-foreground antialiased`}
2026-02-14 20:21:02 +01:00
>
2026-02-14 21:47:08 +01:00
<Providers>{children}</Providers>
2026-02-14 20:21:02 +01:00
</body>
</html>
);
}