2023-10-19 04:21:35 +00:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
import { Inter } from "next/font/google";
|
2023-10-19 13:17:55 +00:00
|
|
|
import Image from "next/image";
|
2023-10-19 04:21:35 +00:00
|
|
|
import "./globals.css";
|
2023-10-18 06:58:40 +00:00
|
|
|
|
2023-10-19 13:17:55 +00:00
|
|
|
const font = Inter({ subsets: ["latin-ext"], weight: "500" });
|
2023-10-18 06:58:40 +00:00
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2023-10-19 04:21:35 +00:00
|
|
|
title: {
|
|
|
|
template: "Scoresaber Reloaded - %s",
|
|
|
|
default: "Scoresaber Reloaded",
|
|
|
|
},
|
|
|
|
};
|
2023-10-18 06:58:40 +00:00
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
children,
|
|
|
|
}: {
|
2023-10-19 04:21:35 +00:00
|
|
|
children: React.ReactNode;
|
2023-10-18 06:58:40 +00:00
|
|
|
}) {
|
|
|
|
return (
|
|
|
|
<html lang="en">
|
2023-10-19 13:17:55 +00:00
|
|
|
<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>
|
2023-10-18 06:58:40 +00:00
|
|
|
</html>
|
2023-10-19 04:21:35 +00:00
|
|
|
);
|
2023-10-18 06:58:40 +00:00
|
|
|
}
|