Liam ae96719976
All checks were successful
deploy / deploy (push) Successful in 56s
show percentage
2023-10-20 19:43:54 +01:00

47 lines
1.0 KiB
TypeScript

import { Metadata } from "next";
import { Inter } from "next/font/google";
import Image from "next/image";
import "./globals.css";
const font = Inter({ subsets: ["latin-ext"], weight: "500" });
export const metadata: Metadata = {
title: {
template: "Scoresaber Reloaded - %s",
default: "Scoresaber Reloaded",
},
openGraph: {
title: "Next.js",
description: "The React Framework for the Web",
url: "https://nextjs.org",
siteName: "Next.js",
locale: "en_US",
type: "website",
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={font.className}>
<div className="fixed left-0 top-0 z-0 h-full w-full blur-sm">
<Image
alt="Background image"
src={"https://cdn.fascinated.cc/W9jC5MLf.jpg"}
layout="fill"
objectFit="cover"
objectPosition="center"
quality={100}
/>
</div>
{children}
</body>
</html>
);
}