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

33 lines
1.1 KiB
JavaScript
Raw Normal View History

2022-09-01 23:38:01 +00:00
// 1. import `NextUIProvider` component
import { NextUIProvider } from '@nextui-org/react';
import Head from 'next/head'
import Config from '../config.json';
2022-02-14 17:43:52 +00:00
import '../styles/globals.css'
2022-09-01 23:38:01 +00:00
2022-02-14 17:43:52 +00:00
function MyApp({ Component, pageProps }) {
2022-09-01 23:38:01 +00:00
return (
// 2. Use at the root of your app
<NextUIProvider>
<Head>
<title>{Config.title}</title>
<meta name="twitter:title" content= {Config.name} />
<meta property="og:site_name" content= {Config.name} key="title" />
<meta property="og:url" content= {Config.url} key="title" />
<meta property="og:description" content= {Config.description} key="description" />
2022-10-03 07:37:36 +00:00
<meta name="theme-color" content= {Config.color} />
<meta name="description" content= {Config.description}></meta>
2022-10-03 07:37:36 +00:00
<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>
2022-09-01 23:38:01 +00:00
<Component {...pageProps} />
</NextUIProvider>
);
2022-02-14 17:43:52 +00:00
}
2022-09-01 23:38:01 +00:00
export default MyApp;