|
@@ -43,8 +43,10 @@ const MyApp = ({ Component, pageProps }: AppPropsWithLayout) => {
|
|
|
url: `https://${siteConfig.host}`,
|
|
url: `https://${siteConfig.host}`,
|
|
|
canonical: `https://${siteConfig.host}`,
|
|
canonical: `https://${siteConfig.host}`,
|
|
|
jsonLd: JSON.stringify(siteConfig.jsonLd),
|
|
jsonLd: JSON.stringify(siteConfig.jsonLd),
|
|
|
|
|
+ siteName: siteConfig.siteName,
|
|
|
|
|
+ img: siteConfig.touchIcon,
|
|
|
};
|
|
};
|
|
|
- }, [siteConfig.description, siteConfig.host, siteConfig.jsonLd, siteConfig.keywords, siteConfig.title]);
|
|
|
|
|
|
|
+ }, [siteConfig.description, siteConfig.host, siteConfig.jsonLd, siteConfig.keywords, siteConfig.siteName, siteConfig.title, siteConfig.touchIcon]);
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
useEffect(() => {
|
|
|
const handleRouteChange = (url: string) => {
|
|
const handleRouteChange = (url: string) => {
|
|
@@ -67,51 +69,6 @@ const MyApp = ({ Component, pageProps }: AppPropsWithLayout) => {
|
|
|
name="viewport"
|
|
name="viewport"
|
|
|
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
|
|
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
|
|
|
/>
|
|
/>
|
|
|
- <title>{siteConfig.title}</title>
|
|
|
|
|
- <meta name="description" content={siteConfig.description} />
|
|
|
|
|
- <meta name="keywords" content={siteConfig.keywords} />
|
|
|
|
|
- <meta
|
|
|
|
|
- property="og:url"
|
|
|
|
|
- key="og:url"
|
|
|
|
|
- content={`https://${siteConfig.host}`}
|
|
|
|
|
- />
|
|
|
|
|
- <meta
|
|
|
|
|
- property="og:site_name"
|
|
|
|
|
- key="og:site_name"
|
|
|
|
|
- content={siteConfig.siteName}
|
|
|
|
|
- />
|
|
|
|
|
- <meta property="og:title" content={siteConfig.title} key="og:title" />
|
|
|
|
|
- <meta
|
|
|
|
|
- property="og:description"
|
|
|
|
|
- key="og:description"
|
|
|
|
|
- content={siteConfig.description}
|
|
|
|
|
- />
|
|
|
|
|
- <meta
|
|
|
|
|
- property="og:image"
|
|
|
|
|
- key="og:image"
|
|
|
|
|
- content={siteConfig.touchIcon}
|
|
|
|
|
- />
|
|
|
|
|
- <meta
|
|
|
|
|
- name="twitter:title"
|
|
|
|
|
- key="twitter:title"
|
|
|
|
|
- content={siteConfig.title}
|
|
|
|
|
- />
|
|
|
|
|
- <meta
|
|
|
|
|
- name="twitter:description"
|
|
|
|
|
- key="twitter:description"
|
|
|
|
|
- content={siteConfig.description}
|
|
|
|
|
- />
|
|
|
|
|
- <meta name="twitter:card" key="twitter:card" content="summary" />
|
|
|
|
|
- <meta
|
|
|
|
|
- name="twitter:image"
|
|
|
|
|
- key="twitter:image"
|
|
|
|
|
- content={siteConfig.touchIcon}
|
|
|
|
|
- />
|
|
|
|
|
- <link
|
|
|
|
|
- rel="canonical"
|
|
|
|
|
- key="canonical"
|
|
|
|
|
- href={`https://${siteConfig.host}`}
|
|
|
|
|
- />
|
|
|
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<link rel="manifest" href="/manifest.json" />
|
|
|
<link rel="icon" href="/logo.svg" type="image/svg+xml" />
|
|
<link rel="icon" href="/logo.svg" type="image/svg+xml" />
|
|
|
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
|
|
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
|
|
@@ -148,13 +105,6 @@ const MyApp = ({ Component, pageProps }: AppPropsWithLayout) => {
|
|
|
<meta name="msapplication-TileColor" content="#5b5b5b" />
|
|
<meta name="msapplication-TileColor" content="#5b5b5b" />
|
|
|
<meta name="msapplication-TileImage" content={siteConfig.touchIcon} />
|
|
<meta name="msapplication-TileImage" content={siteConfig.touchIcon} />
|
|
|
<meta name="msapplication-tooltip" content={siteConfig.title} />
|
|
<meta name="msapplication-tooltip" content={siteConfig.title} />
|
|
|
- <script
|
|
|
|
|
- type="application/ld+json"
|
|
|
|
|
- key="application/ld+json"
|
|
|
|
|
- dangerouslySetInnerHTML={{
|
|
|
|
|
- __html: JSON.stringify(siteConfig.jsonLd),
|
|
|
|
|
- }}
|
|
|
|
|
- />
|
|
|
|
|
</SeoHead>
|
|
</SeoHead>
|
|
|
<Script
|
|
<Script
|
|
|
strategy="afterInteractive"
|
|
strategy="afterInteractive"
|