Add canonical
This commit is contained in:
@@ -46,6 +46,7 @@ const BattlesuitShowPage = ({
|
||||
description={`${t('common.honkai-3rd')} ${t(
|
||||
'common.elysian-realm'
|
||||
)} ${t('battlesuit-show.battlesuit')}`}
|
||||
canonicalHref={`/honkai3rd/elysian-realm/battlesuits/${battlesuit.id}`}
|
||||
/>
|
||||
|
||||
<Box p={3}>
|
||||
|
||||
@@ -45,6 +45,7 @@ const ElysianRealmIndexPage = ({
|
||||
'common.abyss-lab'
|
||||
)}`}
|
||||
description={t('common.elysian-realm')}
|
||||
canonicalHref={`/honkai3rd/elysian-realm`}
|
||||
/>
|
||||
|
||||
<Box p={3}>
|
||||
|
||||
@@ -30,6 +30,7 @@ const ElysianRealmIndexPage = ({
|
||||
description={`${t('common.elysian-realm')} ${t(
|
||||
'elysian-realm.supports'
|
||||
)}`}
|
||||
canonicalHref={`/honkai3rd/elysian-realm/remembrance-sigils`}
|
||||
/>
|
||||
|
||||
<Box p={3}>
|
||||
|
||||
@@ -35,6 +35,7 @@ const SignetShowPage = ({ signetId, signetGroup }: SignetShowPageProps) => {
|
||||
description={`${t('common.honkai-3rd')} ${signetGroup.name} ${t(
|
||||
'elysian-realm.signets'
|
||||
)}`}
|
||||
canonicalHref={`/honkai3rd/elysian-realm/signets/${signetId}`}
|
||||
/>
|
||||
|
||||
<Box p={3}>
|
||||
|
||||
@@ -37,6 +37,7 @@ const ElysianRealmIndexPage = ({
|
||||
description={`${t('common.elysian-realm')} ${t(
|
||||
'elysian-realm.supports'
|
||||
)}`}
|
||||
canonicalHref={`/honkai3rd/elysian-realm/support-battlesuits`}
|
||||
/>
|
||||
|
||||
<Box p={3}>
|
||||
|
||||
@@ -19,6 +19,8 @@ import {
|
||||
import { listStigmata } from '../../../../server/data/honkai3rd/stigmata'
|
||||
import { listWeapons } from '../../../../server/data/honkai3rd/weapons'
|
||||
import { getI18NProps } from '../../../../server/i18n'
|
||||
import Head from '../../../../components/atoms/Head'
|
||||
import { useTranslation } from 'next-i18next'
|
||||
|
||||
interface GenerateGuidePageProps {
|
||||
weapons: WeaponData[]
|
||||
@@ -36,9 +38,16 @@ const GenerateGuidePage = ({
|
||||
sigils,
|
||||
}: GenerateGuidePageProps) => {
|
||||
const router = useRouter()
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<Box>
|
||||
<Head
|
||||
title={`ER Guide Generator- ${t('common.honkai-3rd')} - ${t(
|
||||
'common.abyss-lab'
|
||||
)}`}
|
||||
canonicalHref={`/honkai3rd/elysian-realm/utils/gen-guide`}
|
||||
/>
|
||||
<Flex m={2} sx={{ alignItems: 'center' }}>
|
||||
<Button
|
||||
onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user