0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-10-13 03:38:36 +09:00

Update minecraft/

This commit is contained in:
2021-06-14 18:44:59 +09:00
parent e2fe3cd998
commit 72b2043164
8 changed files with 65 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ import Image from 'next/image'
import { faMap, faCopy } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import Link from 'next/link'
import ReactMarkdown from "react-markdown"
import gfm from 'remark-gfm';
import ja from '../docs/minecraft/ja.md'
import en from '../docs/minecraft/en.md'
export default function About(props) {
const router = useRouter()
@@ -53,6 +57,13 @@ export default function About(props) {
</a>
</Link>
</div>
{lang === 'ja' ? (
<ReactMarkdown plugins={[gfm]} children={ja} />
) : (
<ReactMarkdown plugins={[gfm]} children={en} />
)}
</div>
</Layout>
)