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

Add link to ToS

This commit is contained in:
yude 2021-02-20 12:03:48 +09:00
parent 2206cf2526
commit c7eda1347a
3 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,5 @@
{
"footer": "This page is licensed under the MIT License.",
"source": "Source code"
"source": "Source code",
"tos": "yude.jp Terms of Service"
}

View File

@ -1,4 +1,5 @@
{
"footer": "このページは MIT License の下でライセンスされています。",
"source": "ソースコード"
"source": "ソースコード",
"source": "yude.jp サービス利用規約"
}

View File

@ -14,6 +14,7 @@ const Layout = (props) => {
const { t, lang } = useTranslation("common")
const footer = t('footer')
const source = t('source')
const tos = t('tos')
return (
<div className="page">
<Head>
@ -38,6 +39,9 @@ const Layout = (props) => {
<p className="text-sm font-bold mb-2 text-gray-400">
{footer} / <Link href="https://github.com/yudemoe/yude.jp"><a className="hover:underline">{source}</a></Link>
</p>
<p className="text-sm font-bold mb-2 text-gray-400">
<Link href="https://wiki.yude.jp/terms"><a className="hover:underline">{tos}</a></Link>
</p>
</div>
</div>
</div>