feat: add health check page (#244)

This commit is contained in:
kimatata
2025-07-12 18:33:45 +09:00
committed by GitHub
parent ed1e90c714
commit f3ebaafdf6
12 changed files with 176 additions and 12 deletions

View File

@@ -0,0 +1,18 @@
import { Link, NextUiLinkClasses } from '@/src/i18n/routing';
import { LocaleCodeType } from '@/types/locale';
type Props = {
locale: LocaleCodeType;
};
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>
<Link href={'/health'} locale={locale} className={`${NextUiLinkClasses} text-gray-500 hover:text-gray-700`}>
Status
</Link>
</div>
);
}