From 4b8beb9713a5fde88dea917d9e5126b48e211755 Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Fri, 21 May 2021 22:04:10 +0900 Subject: [PATCH] fix: seo --- pages/_app.tsx | 46 +++++++++++++++++++++++++++++++++++++++++++-- pages/_document.tsx | 44 +------------------------------------------ 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index c4f8fe4..65126fb 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -8,7 +8,7 @@ import NProgress from 'nprogress' import Logger from '@utils/Logger' import { handlePWA, parseCookie, systemTheme } from '@utils/Tools' -import { shortcutKeyMap, TITLE } from '@utils/Constants' +import { DESCRIPTION, shortcutKeyMap, THEME_COLOR, TITLE } from '@utils/Constants' import { Theme } from '@types' const Footer = dynamic(() => import('@components/Footer')) @@ -60,8 +60,50 @@ const KoreanbotsApp = ({ Component, pageProps, err, cookie }: KoreanbotsProps): return
- {TITLE} + {/* META */} + + + + + + + + + + + {/* Android */} + + + + {/* iOS */} + + + + + {/* Windows */} + + + + + + {/* Pinned Sites */} + + + + + {/* Tap highlighting */} + + + {/* UC Mobile Browser */} + + + + + + + +
diff --git a/pages/_document.tsx b/pages/_document.tsx index 737b3da..950ea75 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -1,4 +1,4 @@ -import { DESCRIPTION, THEME_COLOR, TITLE } from '@utils/Constants' +import { TITLE } from '@utils/Constants' import Document, { DocumentContext, Html, Head, Main, NextScript } from 'next/document' class MyDocument extends Document { @@ -11,48 +11,6 @@ class MyDocument extends Document { return ( - {/* META */} - - - - - - - - - - {/* Android */} - - - - {/* iOS */} - - - - - {/* Windows */} - - - - - - {/* Pinned Sites */} - - - - - {/* Tap highlighting */} - - - {/* UC Mobile Browser */} - - - - - - - - {/* LINK */}