0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-04-04 14:17:27 +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.", "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 の下でライセンスされています。", "footer": "このページは MIT License の下でライセンスされています。",
"source": "ソースコード" "source": "ソースコード",
"source": "yude.jp サービス利用規約"
} }

View File

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