switch to parcel building
This commit is contained in:
+11
-28
@@ -1,6 +1,5 @@
|
||||
"use client";
|
||||
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "../i18n";
|
||||
import TitleBar from "@/components/titlebar";
|
||||
@@ -11,15 +10,6 @@ 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,
|
||||
@@ -29,25 +19,18 @@ export default function RootLayout({
|
||||
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 />
|
||||
<>
|
||||
<CookieConsent />
|
||||
<Nudge open={nudgeOpen} setOpen={setNudgeOpen} />
|
||||
<div className="main">
|
||||
<TitleBar />
|
||||
|
||||
<div className="px-6">
|
||||
{children}
|
||||
<div className="px-6">
|
||||
{children}
|
||||
</div>
|
||||
<Footer />
|
||||
</div>
|
||||
<Footer />
|
||||
</div>
|
||||
<Glasses setNudgeOpen={setNudgeOpen} size={200} />
|
||||
</body>
|
||||
</html>
|
||||
<Glasses setNudgeOpen={setNudgeOpen} size={200} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user