scoresaber-reloaded-v2/src/app/layout.tsx
Liam dc2c70ff3a
All checks were successful
deploy / deploy (push) Successful in 54s
update embed
2023-10-21 22:38:09 +01:00

48 lines
1.1 KiB
TypeScript

import { Metadata } from "next";
import { Inter } from "next/font/google";
import Image from "next/image";
import "react-toastify/dist/ReactToastify.css";
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: "Scoresaber Reloaded",
description: "Aggregate your scores with other leaderboards together!",
url: "https://ssrdev.fascinated.cc",
locale: "en_US",
type: "website",
},
themeColor: "#3B82F6",
};
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>
);
}