mirror of
https://github.com/D4M13N-D3V/neroshitron.git
synced 2025-03-14 10:05:04 +00:00
29 lines
712 B
TypeScript
29 lines
712 B
TypeScript
|
import { GeistSans } from "geist/font/sans";
|
||
|
import "./globals.css";
|
||
|
|
||
|
const defaultUrl = process.env.VERCEL_URL
|
||
|
? `https://${process.env.VERCEL_URL}`
|
||
|
: "http://localhost:3000";
|
||
|
|
||
|
export const metadata = {
|
||
|
metadataBase: new URL(defaultUrl),
|
||
|
title: "Next.js and Supabase Starter Kit",
|
||
|
description: "The fastest way to build apps with Next.js and Supabase",
|
||
|
};
|
||
|
|
||
|
export default function RootLayout({
|
||
|
children,
|
||
|
}: {
|
||
|
children: React.ReactNode;
|
||
|
}) {
|
||
|
return (
|
||
|
<html lang="en" className={GeistSans.className}>
|
||
|
<body className="bg-background text-foreground">
|
||
|
<main className="min-h-screen flex flex-col items-center">
|
||
|
{children}
|
||
|
</main>
|
||
|
</body>
|
||
|
</html>
|
||
|
);
|
||
|
}
|