mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-02 21:52:54 +00:00
Fix guides title
This commit is contained in:
@@ -16,7 +16,7 @@ export function Guide({ id }: Props) {
|
|||||||
<a class="tool-card minecraft-wiki" href={`https://minecraft.wiki/w/${guide?.link}`} target="_blank">
|
<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" />
|
<img src="https://minecraft.wiki/images/Wiki@2x.png" alt="Minecraft Wiki Logo" />
|
||||||
<div>
|
<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>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
import { Footer, Octicon } from '../components/index.js'
|
import { Footer, Octicon } from '../components/index.js'
|
||||||
import config from '../Config.js'
|
import config from '../Config.js'
|
||||||
|
import { useLocale } from '../contexts/Locale.jsx'
|
||||||
|
import { useTitle } from '../contexts/Title.jsx'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
path?: string
|
path?: string
|
||||||
}
|
}
|
||||||
export function Guides({}: Props) {
|
export function Guides({}: Props) {
|
||||||
|
const { locale } = useLocale()
|
||||||
|
useTitle(locale('title.guides'))
|
||||||
|
|
||||||
const guides = config.legacyGuides
|
const guides = config.legacyGuides
|
||||||
return <main>
|
return <main>
|
||||||
<div class="legacy-container guides">
|
<div class="legacy-container guides">
|
||||||
|
|||||||
Reference in New Issue
Block a user