INIT REPO
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
"use client";
|
||||
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "../i18n";
|
||||
import TitleBar from "@/components/titlebar";
|
||||
import Footer from "@/components/footer";
|
||||
import InaccessabilityPopup from "@/components/inacessability/inaccessabilityPopup";
|
||||
import Glasses from "@/components/inacessability/glasses";
|
||||
import CookieConsent from "@/components/cookie-consent";
|
||||
import Nudge from "@/components/inacessability/nudge";
|
||||
import { useState } from "react";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
const [nudgeOpen, setNudgeOpen] = useState(false);
|
||||
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Evil Inc. | Providing Security Solutions Inaccessibly</title>
|
||||
</head>
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||
>
|
||||
<CookieConsent />
|
||||
<Nudge open={nudgeOpen} setOpen={setNudgeOpen} />
|
||||
<div className="main">
|
||||
<TitleBar />
|
||||
|
||||
<div className="px-6">
|
||||
{children}
|
||||
</div>
|
||||
<Footer />
|
||||
</div>
|
||||
<Glasses setNudgeOpen={setNudgeOpen} size={200} />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user