diff --git a/docs/tos/en.md b/docs/tos/en.md new file mode 100644 index 0000000..18056cf --- /dev/null +++ b/docs/tos/en.md @@ -0,0 +1,19 @@ +# yude.jp Terms of Service +The following ToS apply to services running under the yude.jp domain. + +## About service operation +Our services are run by yude for experimental purposes and there's no guarantee on them.\ +Those may be suspended temporarily or permanently (e.g. for server maintenance) without any announcement. + +## Prohibited actions +The actions listed below are prohibited on the service running under the yude.jp domain (especially on Mastodon instance).\ +Our administrator or moderator may take some action against the violating user's account. +* Post images or movies for adults, or grotesque +* Violent language that deviates from common sense +* Chat spamming +* Cracking our server(s) +* Actions that the administrator or moderator deems inappropriate +In addition, the laws of Japan, where the server is running, apply. + +## Misc +These ToS may be updated by the administrator without any announcement, but we will always notify you with in the Mastodon instance ([mstdn.yude.jp](https://mstdn.yude.jp)) or on our Twitter account ([@yudejp](https://twitter.com/yudejp) or [@yude_jp](https://twitter.com/yude_jp)). \ No newline at end of file diff --git a/docs/tos.md b/docs/tos/ja.md similarity index 56% rename from docs/tos.md rename to docs/tos/ja.md index ca48a12..a934f89 100644 --- a/docs/tos.md +++ b/docs/tos/ja.md @@ -16,23 +16,3 @@ yude が実験的に運用しており、完全に無保証で提供されるも ## その他 この利用規約は管理者が利用者に対して了承を得ず更新することができますが、その際には必ず通知を Mastodon インスタンス内、または Twitter 上 ([@yudejp](https://twitter.com/yudejp) または [@yude_jp](https://twitter.com/yude_jp)) において行うものとします。 - -# yude.jp Terms of Service -The following ToS apply to services running under the yude.jp domain. - -## About service operation -Our services are run by yude for experimental purposes and there's no guarantee on them.\ -Those may be suspended temporarily or permanently (e.g. for server maintenance) without any announcement. - -## Prohibited actions -The actions listed below are prohibited on the service running under the yude.jp domain (especially on Mastodon instance).\ -Our administrator or moderator may take some action against the violating user's account. -* Post images or movies for adults, or grotesque -* Violent language that deviates from common sense -* Chat spamming -* Cracking our server(s) -* Actions that the administrator or moderator deems inappropriate -In addition, the laws of Japan, where the server is running, apply. - -## Misc -These ToS may be updated by the administrator without any announcement, but we will always notify you with in the Mastodon instance ([mstdn.yude.jp](https://mstdn.yude.jp)) or on our Twitter account ([@yudejp](https://twitter.com/yudejp) or [@yude_jp](https://twitter.com/yude_jp)). \ No newline at end of file diff --git a/locales/en/tos.json b/locales/en/tos.json index eab96c5..25fa453 100644 --- a/locales/en/tos.json +++ b/locales/en/tos.json @@ -1,3 +1,4 @@ { - "tos": "yude.jp Terms of Service" + "tos": "yude.jp Terms of Service", + "input": "en" } \ No newline at end of file diff --git a/locales/ja/tos.json b/locales/ja/tos.json index 97481f1..25b274d 100644 --- a/locales/ja/tos.json +++ b/locales/ja/tos.json @@ -1,3 +1,4 @@ { - "tos": "yude.jp サービス利用規約" + "tos": "yude.jp サービス利用規約", + "input": "ja" } \ No newline at end of file diff --git a/pages/tos.js b/pages/tos.js index d2eed33..038625c 100644 --- a/pages/tos.js +++ b/pages/tos.js @@ -4,7 +4,8 @@ import { useRouter } from 'next/router' import React from "react" import ReactMarkdown from "react-markdown" import gfm from 'remark-gfm'; -import input from '../docs/tos.md' +import ja from '../docs/tos/ja.md' +import en from '../docs/tos/en.md' export default function Tos(props) { const router = useRouter() @@ -14,7 +15,11 @@ export default function Tos(props) { return(
- + {lang === 'ja' ? ( + + ) : ( + + )}
)