import React, { useState, useEffect } from 'react'; import Layout from "./components/Layout" import useTranslation from 'next-translate/useTranslation' import { useRouter } from 'next/router' import Minecraft from './components/Minecraft' 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() const { locale, locales, defaultLocale, pathname } = router const { t, lang } = useTranslation("minecraft") const copyText = () => { navigator.clipboard.writeText("yude.jp"); }; return (

{t('title')}

Dynmap Header

{t('address')}: yude.jp

{t('version')}: 1.17

{lang === 'ja' ? ( ) : ( )}
) }