This repository has been archived on 2023-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
beatsaber-overlay/pages/_app.js

54 lines
1.2 KiB
JavaScript
Raw Normal View History

2022-10-14 19:00:47 +00:00
import { NextUIProvider } from "@nextui-org/react";
import { NextSeo } from "next-seo";
import Head from "next/head";
2022-10-14 19:00:47 +00:00
import Config from "../config.json";
2022-10-14 19:00:47 +00:00
import "../styles/globals.css";
2022-10-10 18:53:39 +00:00
2022-02-14 17:43:52 +00:00
function MyApp({ Component, pageProps }) {
2022-10-14 19:00:47 +00:00
return (
<NextUIProvider>
<NextSeo
title={Config.name}
description={Config.description}
openGraph={{
url: Config.url,
title: Config.name,
description: Config.description,
site_name: Config.name,
images: [
{
url: "https://cdn.fascinated.cc/YrATaLjUOP.png?raw=true",
alt: "Site Example",
},
],
}}
twitter={{
cardType: "summary_large_image",
site: "@BeatSaber Overlay",
}}
2022-10-14 18:15:03 +00:00
/>
2022-10-14 19:00:47 +00:00
<Head>
<meta name="theme-color" content={Config.color} />
<meta
property="og:keywords"
content="BeatSaber,Overlay,OBS,Twitch,YouTube,BeatSaber Overlay,Github,"
/>
<noscript>
<img src="https://analytics.fascinated.cc/ingress/4bc413fa-a126-4860-9a6a-22d10d5cf2fb/pixel.gif" />
</noscript>
<script
defer
src="https://analytics.fascinated.cc/ingress/4bc413fa-a126-4860-9a6a-22d10d5cf2fb/script.js"
></script>
</Head>
<Component {...pageProps} />
</NextUIProvider>
);
2022-02-14 17:43:52 +00:00
}
2022-09-01 23:38:01 +00:00
export default MyApp;