Fixed site SEO

This commit is contained in:
Liam 2022-10-21 10:41:03 +01:00
parent 8793e81214
commit 8e607cda18
3 changed files with 17 additions and 13 deletions

View File

@ -1,9 +1,10 @@
SITE_NAME=BeatSaber Overlay
SITE_TITLE=BeatSaber Overlay - Simple and easy to use BeatSaber overlay
SITE_DESCRIPTION=Free, simple, and easy to use beat saber overlay for OBS
SITE_COLOR=#0EBFE9
SITE_URL=https://bs-overlay.fascinated.cc
HTTP_PROXY=https://proxy.fascinated.cc
NEXT_PUBLIC_HTTP_PROXY=https://proxy.fascinated.cc
NEXT_PUBLIC_SITE_NAME=BeatSaber Overlay
NEXT_PUBLIC_SITE_TITLE=BeatSaber Overlay - Simple and easy to use BeatSaber overlay
NEXT_PUBLIC_SITE_DESCRIPTION=Free, simple, and easy to use beat saber overlay for OBS
NEXT_PUBLIC_SITE_COLOR=#0EBFE9
NEXT_PUBLIC_SITE_URL=https://bs-overlay.fascinated.cc
REDIS_PORT=6379
REDIS_HOST=127.0.0.1

View File

@ -29,13 +29,13 @@ function MyApp({ Component, pageProps }) {
>
<NextUIProvider>
<NextSeo
title={process.env.SITE_NAME}
description={process.env.SITE_DESCRIPTION}
title={process.env.NEXT_PUBLIC_SITE_NAME}
description={process.env.NEXT_PUBLIC_SITE_DESCRIPTION}
openGraph={{
url: process.env.SITE_URL,
title: process.env.SITE_NAME,
description: process.env.SITE_DESCRIPTION,
site_name: process.env.SITE_NAME,
url: process.env.NEXT_PUBLIC_SITE_URL,
title: process.env.NEXT_PUBLIC_SITE_NAME,
description: process.env.NEXT_PUBLIC_SITE_DESCRIPTION,
site_name: process.env.NEXT_PUBLIC_SITE_NAME,
images: [
{
url: "https://cdn.fascinated.cc/fHknFPctAC.png?raw=true",

View File

@ -26,7 +26,10 @@ class MyDocument extends Document {
/>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="theme-color" content={process.env.SITE_COLOR} />
<meta
name="theme-color"
content={process.env.NEXT_PUBLIC_SITE_COLOR}
/>
<meta
property="og:keywords"
content="BeatSaber,Overlay,OBS,Twitch,YouTube,BeatSaber Overlay,Github,"