Fix guides title

This commit is contained in:
Misode
2023-11-23 01:44:53 +01:00
parent 2c187e83c1
commit 32a022d3a4
2 changed files with 6 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ export function Guide({ id }: Props) {
<a class="tool-card minecraft-wiki" href={`https://minecraft.wiki/w/${guide?.link}`} target="_blank">
<img src="https://minecraft.wiki/images/Wiki@2x.png" alt="Minecraft Wiki Logo" />
<div>
<h3>This guide has moved to the <em>Minecraft Wiki</em> {Octicon.link_external}</h3>
<h3><span>This guide has moved to the <em>Minecraft Wiki</em></span> {Octicon.link_external}</h3>
</div>
</a>
</div>

View File

@@ -1,10 +1,15 @@
import { Footer, Octicon } from '../components/index.js'
import config from '../Config.js'
import { useLocale } from '../contexts/Locale.jsx'
import { useTitle } from '../contexts/Title.jsx'
interface Props {
path?: string
}
export function Guides({}: Props) {
const { locale } = useLocale()
useTitle(locale('title.guides'))
const guides = config.legacyGuides
return <main>
<div class="legacy-container guides">