31 lines
649 B
TypeScript
31 lines
649 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./[locale]/globals.css";
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
display: 'swap',
|
|
preload: true,
|
|
fallback: ['system-ui', 'arial']
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "NetidHub",
|
|
description: "NetidHub Platform",
|
|
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'),
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="in">
|
|
<body className={`${inter.className} dashcode-app`}>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|