feat: Footer component (#255)

This commit is contained in:
kimatata
2025-07-26 15:28:40 +09:00
committed by GitHub
parent 64a3867a1e
commit 93d0f7fe7a
2 changed files with 93 additions and 80 deletions

View File

@@ -1,3 +1,4 @@
import Image from 'next/image';
import { Link, NextUiLinkClasses } from '@/src/i18n/routing';
import { LocaleCodeType } from '@/types/locale';
@@ -7,10 +8,18 @@ type Props = {
export default function Footer({ locale }: Props) {
return (
<div className="w-full text-center py-2 px-6 flex flex-wrap justify-center items-center gap-4">
<div>Copyright © 2024-present UnitTCMS</div>
<div className="w-full text-center py-2 px-6 flex flex-wrap justify-center items-center gap-4 text-gray-500">
<Link href="https://unittcms.org">
<Image src="/favicon/icon-192.png" width={32} height={32} alt="Logo" />
</Link>
<div>
<span>Copyright © 2024-present </span>
<Link href="https://unittcms.org" className={`${NextUiLinkClasses} !text-gray-500 hover:text-gray-700`}>
UnitTCMS
</Link>
</div>
<Link href={'/health'} locale={locale} className={`${NextUiLinkClasses} text-gray-500 hover:text-gray-700`}>
<Link href={'/health'} locale={locale} className={`${NextUiLinkClasses} !text-gray-500 hover:text-gray-700`}>
Status
</Link>
</div>