0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 20:20:09 +09:00

Add server version

This commit is contained in:
yude 2021-05-31 10:06:04 +09:00
parent 6d28753dd7
commit 02aa9e97e1
Signed by: yude
GPG Key ID: EB0FE5D925C4A968
3 changed files with 7 additions and 2 deletions

View File

@ -5,5 +5,6 @@
"offline": "Server is down.", "offline": "Server is down.",
"address": "Server address", "address": "Server address",
"fail": "Failed to retrieve server status.", "fail": "Failed to retrieve server status.",
"loading": "Retrieving server status..." "loading": "Retrieving server status...",
"version": "Version"
} }

View File

@ -5,5 +5,6 @@
"offline": "サーバーがオフラインのようです。", "offline": "サーバーがオフラインのようです。",
"address": "サーバー アドレス", "address": "サーバー アドレス",
"fail": "サーバーの状態を取得できませんでした。", "fail": "サーバーの状態を取得できませんでした。",
"loading": "サーバーの状態を取得しています..." "loading": "サーバーの状態を取得しています...",
"version": "バージョン"
} }

View File

@ -14,6 +14,8 @@ export default function About(props) {
const { t, lang } = useTranslation("minecraft") const { t, lang } = useTranslation("minecraft")
const title = t('title') const title = t('title')
const address = t('address') const address = t('address')
const version = t('version')
return ( return (
<Layout title={title}> <Layout title={title}>
<div> <div>
@ -30,6 +32,7 @@ export default function About(props) {
<div className="text-center"> <div className="text-center">
<Minecraft /> <Minecraft />
<p>{address}: <code>yude.jp</code></p> <p>{address}: <code>yude.jp</code></p>
<p>{version}: 1.16.x</p>
<Link href="https://dynmap.yude.jp"> <Link href="https://dynmap.yude.jp">
<a> <a>
<button <button