2021-05-23 16:02:08 +09:00
|
|
|
import Layout from "./components/Layout"
|
|
|
|
import useTranslation from 'next-translate/useTranslation'
|
|
|
|
import { useRouter } from 'next/router'
|
|
|
|
import React from "react"
|
|
|
|
import ReactMarkdown from "react-markdown"
|
|
|
|
import gfm from 'remark-gfm';
|
2021-05-23 16:09:35 +09:00
|
|
|
import input from '../docs/tos.md'
|
2021-05-23 16:02:08 +09:00
|
|
|
|
|
|
|
export default function Tos(props) {
|
|
|
|
const router = useRouter()
|
|
|
|
const { locale, locales, defaultLocale, pathname } = router
|
|
|
|
const { t, lang } = useTranslation("tos")
|
|
|
|
const tos = t('tos')
|
|
|
|
return(
|
|
|
|
<Layout title={tos}>
|
|
|
|
<div className="mx-9">
|
|
|
|
<ReactMarkdown plugins={[gfm]} children={input} />
|
|
|
|
</div>
|
|
|
|
</Layout>
|
|
|
|
)
|
|
|
|
}
|