This commit is contained in:
2025-08-23 18:40:03 +09:00
parent e79688783e
commit 7e2d94fdc0
15 changed files with 80 additions and 57 deletions
+4 -2
View File
@@ -5,10 +5,12 @@ import errorImg from '@/assets/images/not-found.gif'
import MainArea from '@/components/layout/MainArea'
import { SITE_TITLE } from '@/config'
import type { FC } from 'react'
type Props = { status: number }
export default ({ status }: Props) => {
export default (({ status }: Props) => {
const [message, rightMsg, leftMsg]: [string, string, string] = (() => {
switch (status)
{
@@ -56,4 +58,4 @@ export default ({ status }: Props) => {
<p className="mr-[-.5em]">{message}</p>
</div>
</MainArea>)
}
}) satisfies FC<Props>