32 lines
737 B
TypeScript
32 lines
737 B
TypeScript
|
|
import type { Metadata } from "next";
|
||
|
|
import "./globals.css";
|
||
|
|
import Providers from "@/components/Providers";
|
||
|
|
import localFont from "next/font/local";
|
||
|
|
|
||
|
|
const inter = localFont({
|
||
|
|
src: "../public/fonts/InterVariable.woff2",
|
||
|
|
variable: "--font-inter",
|
||
|
|
display: "swap",
|
||
|
|
});
|
||
|
|
|
||
|
|
export const metadata: Metadata = {
|
||
|
|
title: "Asset Homepage",
|
||
|
|
description: "Asset management platform homepage",
|
||
|
|
};
|
||
|
|
|
||
|
|
export default function RootLayout({
|
||
|
|
children,
|
||
|
|
}: Readonly<{
|
||
|
|
children: React.ReactNode;
|
||
|
|
}>) {
|
||
|
|
return (
|
||
|
|
<html lang="en" className={inter.variable}>
|
||
|
|
<body className={`antialiased ${inter.className}`}>
|
||
|
|
<Providers>
|
||
|
|
{children}
|
||
|
|
</Providers>
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
);
|
||
|
|
}
|