2024-01-05 06:57:30 +00:00
|
|
|
import "@/styles/globals.css";
|
|
|
|
|
import { Metadata } from "next";
|
|
|
|
|
import { siteConfig } from "@/config/site";
|
|
|
|
|
import { fontSans } from "@/config/fonts";
|
|
|
|
|
import { Providers } from "./providers";
|
|
|
|
|
import { Navbar } from "@/components/navbar";
|
|
|
|
|
import { Link } from "@nextui-org/link";
|
|
|
|
|
import clsx from "clsx";
|
2024-01-29 06:38:26 +00:00
|
|
|
import Image from "next/image";
|
|
|
|
|
import Footer from "@/components/Landing Page/Footer";
|
2024-01-05 06:57:30 +00:00
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: {
|
|
|
|
|
default: siteConfig.name,
|
|
|
|
|
template: `%s - ${siteConfig.name}`,
|
|
|
|
|
},
|
|
|
|
|
description: siteConfig.description,
|
|
|
|
|
themeColor: [
|
|
|
|
|
{ media: "(prefers-color-scheme: light)", color: "white" },
|
|
|
|
|
{ media: "(prefers-color-scheme: dark)", color: "black" },
|
|
|
|
|
],
|
|
|
|
|
icons: {
|
|
|
|
|
icon: "/favicon.ico",
|
|
|
|
|
shortcut: "/favicon-16x16.png",
|
|
|
|
|
apple: "/apple-touch-icon.png",
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<head />
|
|
|
|
|
<body
|
|
|
|
|
className={clsx(
|
|
|
|
|
"min-h-screen bg-background font-sans antialiased",
|
|
|
|
|
fontSans.variable
|
|
|
|
|
)}
|
|
|
|
|
>
|
|
|
|
|
<Providers themeProps={{ attribute: "class", defaultTheme: "dark" }}>
|
2024-01-29 06:38:26 +00:00
|
|
|
<div className="relative">
|
2024-01-05 06:57:30 +00:00
|
|
|
<Navbar />
|
2024-01-29 06:38:26 +00:00
|
|
|
<section className="md:absolute md:top-0 w-full ">
|
|
|
|
|
<img
|
|
|
|
|
alt="banner"
|
|
|
|
|
src="/headerbannerpng.png"
|
|
|
|
|
className=" w-full"
|
|
|
|
|
/>
|
|
|
|
|
<main className="pt-8 px-2 md:px-6 flex-grow">
|
|
|
|
|
{children}
|
|
|
|
|
</main>
|
|
|
|
|
<Footer />
|
|
|
|
|
</section>
|
2024-01-05 06:57:30 +00:00
|
|
|
</div>
|
|
|
|
|
</Providers>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|