generated from nhcarrigan/template
Reviewed-on: https://codeberg.org/nhcarrigan/portfolio/pulls/28 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
59 lines
1.7 KiB
TypeScript
59 lines
1.7 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import { ClientNavigation } from "@/components/navigation";
|
|
import Script from "next/script";
|
|
import PlausibleProvider from "next-plausible";
|
|
|
|
const inter = Inter({ subsets: ["latin"] });
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Naomi's Portfolio",
|
|
description:
|
|
"This page tells you everything you could ever want to know about Naomi and her consulting firm nhcarrigan.",
|
|
openGraph: {
|
|
images: "https://cdn.nhcarrigan.com/background.png",
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
site: "@naomi_lgbt",
|
|
images: "https://cdn.nhcarrigan.com/background.png",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<PlausibleProvider domain="nhcarrigan.com" customDomain="https://analytics.nhcarrigan.com" trackFileDownloads={true} trackOutboundLinks={true}>
|
|
<link rel="icon" href="https://cdn.nhcarrigan.com/logo.png" sizes="any" />
|
|
<body className={inter.className}>
|
|
<header>
|
|
<ClientNavigation />
|
|
</header>
|
|
{children}
|
|
<video
|
|
src="https://cdn.nhcarrigan.com/overlay.webm"
|
|
autoPlay
|
|
loop
|
|
muted
|
|
playsInline
|
|
className="fixed top-0 left-0 w-full h-full object-cover opacity-25"
|
|
style={{ pointerEvents: "none" }}
|
|
/>
|
|
</body>
|
|
<Script
|
|
type="text/javascript"
|
|
id="hs-script-loader"
|
|
async
|
|
defer
|
|
src="//js.hs-scripts.com/47086586.js"
|
|
></Script>
|
|
</PlausibleProvider>
|
|
</html>
|
|
);
|
|
}
|