0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 12:10:11 +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.",
"address": "Server address",
"fail": "Failed to retrieve server status.",
"loading": "Retrieving server status..."
"loading": "Retrieving server status...",
"version": "Version"
}

View File

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

View File

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