2021-12-11 18:17:20 +09:00
|
|
|
// Tailwind CSS
|
2021-05-23 14:02:27 +09:00
|
|
|
import "tailwindcss/tailwind.css";
|
2021-12-11 18:17:20 +09:00
|
|
|
|
|
|
|
// Next.js
|
2021-05-23 14:02:27 +09:00
|
|
|
import Link from 'next/link';
|
2021-12-11 18:17:20 +09:00
|
|
|
|
2021-12-11 18:07:22 +09:00
|
|
|
// i18n
|
2021-12-11 18:17:20 +09:00
|
|
|
import { useTranslation, useLanguageQuery } from 'next-export-i18n';
|
2021-06-14 12:36:18 +09:00
|
|
|
|
2021-12-11 18:07:22 +09:00
|
|
|
export default function Footer(props) {
|
2021-12-11 18:17:20 +09:00
|
|
|
const { t } = useTranslation();
|
|
|
|
const [query] = useLanguageQuery();
|
2021-06-14 12:36:18 +09:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<div className="container mx-auto px-6">
|
|
|
|
<div className="flex flex-col items-center">
|
|
|
|
<div className="sm:w-full text-center py-6">
|
|
|
|
<p className="text-sm font-bold mb-2">
|
|
|
|
{t('footer')} / <Link href="https://github.com/yudejp/yude.jp"><a className="hover:underline">{t('source')}</a></Link>
|
|
|
|
</p>
|
2021-12-22 06:28:44 +09:00
|
|
|
<p>
|
|
|
|
<span>
|
|
|
|
<Link href="yude3mzscyufx5u3zup72ium7tgecy3bd67p7t6vqhaywvr7e2gqpcqd.onion"><a className="hover:underline">Tor</a></Link>
|
|
|
|
</span>
|
|
|
|
<span className="text-xs">
|
|
|
|
⚫
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
<Link href="http://yudejp.i2p/?i2paddresshelper=55ivoba6mo3mqlwvw5lqz7lchxqew2kh77kwkn5shefrj2dp3coq.b32.i2p"><a className="hover:underline">I2P</a></Link>
|
|
|
|
</span>
|
|
|
|
</p>
|
2021-05-23 14:02:27 +09:00
|
|
|
</div>
|
2021-06-14 12:36:18 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</>
|
|
|
|
);
|
2021-05-23 14:02:27 +09:00
|
|
|
}
|