neroshitron/app/layout.tsx

38 lines
1.2 KiB
TypeScript
Raw Normal View History

2024-05-24 17:57:03 -04:00
import { GeistSans } from "geist/font/sans";
import "./globals.css";
import NavigationBar from "@/components/neroshitron/navigation_bar";
2024-05-27 23:47:49 -04:00
import { SpeedInsights } from "@vercel/speed-insights/next"
2024-05-28 00:04:45 -04:00
import { Analytics } from "@vercel/analytics/react"
2024-06-02 06:12:04 -04:00
import RightHandLayoutImage from "@/components/neroshitron/right_hand_layout_image";
2024-05-24 17:57:03 -04:00
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">
2024-06-02 06:12:04 -04:00
<RightHandLayoutImage/>
2024-05-27 23:16:08 -04:00
<div className="w-full fixed z-30 text-white white">
<NavigationBar/>
2024-05-27 23:47:49 -04:00
<SpeedInsights/>
2024-05-28 00:04:45 -04:00
<Analytics/>
2024-05-24 19:03:20 -04:00
</div>
2024-06-02 01:24:14 -04:00
<main className="min-h-screen flex flex-col items-center bg-gradient-to-r from-primary to-secondary overflow-hidden">
2024-05-24 20:52:39 -04:00
{children}
2024-05-24 17:57:03 -04:00
</main>
</body>
</html>
);
}