mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-23 04:30:11 +09:00
26 lines
749 B
JavaScript
26 lines
749 B
JavaScript
// Tailwind CSS
|
|
import "tailwindcss/tailwind.css";
|
|
|
|
// Next.js
|
|
import Link from 'next/link';
|
|
|
|
// i18n
|
|
import { useTranslation, useLanguageQuery } from 'next-export-i18n';
|
|
|
|
export default function Footer(props) {
|
|
const { t } = useTranslation();
|
|
const [query] = useLanguageQuery();
|
|
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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</>
|
|
);
|
|
} |