nextjs_zzyxyz/app/not-found.tsx
ZZY 73917d6001 dev feat(markcard, static): 实现书签卡片功能和静态资源获取
- 书签卡片相关的组件和页面
- 实现书签数据的获取、添加、编辑和删除功能
- 添加用户验证和权限控制
- 优化页面布局和样式
2024-12-22 15:21:07 +08:00

20 lines
1.2 KiB
TypeScript

import { Button } from '@/components/ui/button'
import Link from 'next/link'
export default function NotFound() {
return (
<div className="flex flex-col items-center
gap-4
justify-center min-h-screen bg-white text-black dark:bg-black dark:text-white">
<div className="text-6xl font-bold text-red-500">404</div>
<h2 className="text-xl font-semibold">Not Found</h2>
<p className="text-gray-600 dark:text-gray-400">Could not find requested resource</p>
<Button variant="secondary">
<Link href="/">
Return Home
</Link>
</Button>
</div>
// <div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border - right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border - right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display: inline-block; margin: 0px 20px 0px 0px; padding: 0px 23px 0px 0px; font-size: 24px; font-weight: 500; vertical-align: top; line-height: 49px;">404</h1><div style="display: inline-block;"><h2 style="font-size: 14px; font-weight: 400; line-height: 49px; margin: 0px;">This page could not be found.</h2></div></div>
)
}