Added favicion and moved meta tags to _document

This commit is contained in:
Liam 2022-10-19 19:49:15 +01:00
parent 0064ff2f7c
commit ebbcb5751c
3 changed files with 19 additions and 20 deletions

@ -52,25 +52,6 @@ function MyApp({ Component, pageProps }) {
site: "@BeatSaber Overlay",
}}
/>
<Head>
<meta name="theme-color" content={Config.color} />
<meta
property="og:keywords"
content="BeatSaber,Overlay,OBS,Twitch,YouTube,BeatSaber Overlay,Github,"
/>
<noscript>
<Image
alt="For page analytics"
src="https://analytics.fascinated.cc/ingress/4bc413fa-a126-4860-9a6a-22d10d5cf2fb/pixel.gif"
/>
</noscript>
<script
defer={true}
src="https://analytics.fascinated.cc/ingress/4bc413fa-a126-4860-9a6a-22d10d5cf2fb/script.js"
></script>
</Head>
<Component {...pageProps} />
</NextUIProvider>
</NextThemesProvider>

@ -1,4 +1,4 @@
import { CssBaseline } from "@nextui-org/react";
import { CssBaseline, Image } from "@nextui-org/react";
import Document, { Head, Html, Main, NextScript } from "next/document";
import React from "react";
@ -24,6 +24,24 @@ class MyDocument extends Document {
href="https://fonts.googleapis.com/css2?family=Teko:wght@300&display=swap"
rel="stylesheet"
/>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="theme-color" content={Config.color} />
<meta
property="og:keywords"
content="BeatSaber,Overlay,OBS,Twitch,YouTube,BeatSaber Overlay,Github,"
/>
<noscript>
<Image
alt="For page analytics"
src="https://analytics.fascinated.cc/ingress/4bc413fa-a126-4860-9a6a-22d10d5cf2fb/pixel.gif"
/>
</noscript>
<script
defer={true}
src="https://analytics.fascinated.cc/ingress/4bc413fa-a126-4860-9a6a-22d10d5cf2fb/script.js"
></script>
</Head>
<body>
<Main />

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB