0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-23 04:30:11 +09:00

Compare commits

...

2 Commits

Author SHA1 Message Date
ff5247999e Fix typo 2021-02-20 12:30:58 +09:00
c7eda1347a Add link to ToS 2021-02-20 12:03:48 +09:00
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": "ソースコード",
"tos": "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>