Files
jiang13-bbs/frontend/app/not-found.tsx
freefire 833bcd33a1 chore: 去掉未上线前的旧兼容垫片,板块流收口到首页
鉴权只认 cookie、SEO 只走 Next、sort 与推荐对齐;删除 Bearer、Go sitemap、post_type 回填等冗余路径。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 05:04:47 +08:00

33 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import Link from "next/link";
import { Compass, Home } from "lucide-react";
export default function NotFound() {
return (
<div className="max-w-md mx-auto text-center py-20 sm:py-28">
<span
className="inline-flex w-16 h-16 rounded-full items-center justify-center mb-6"
style={{ background: "var(--accent-soft)", color: "var(--accent)" }}
>
<Compass size={30} />
</span>
<p className="text-[15px] font-extrabold tracking-wide mb-1" style={{ color: "var(--accent)" }}>
404
</p>
<h1 className="text-2xl font-extrabold mb-2" style={{ color: "var(--ink)" }}>
这一页走丢了
</h1>
<p className="text-sm mb-8" style={{ color: "var(--ink-2)" }}>
链接可能已失效,或帖子已被作者删除
</p>
<div className="flex items-center justify-center gap-3">
<Link href="/" className="btn btn-primary">
<Home size={15} /> 返回首页
</Link>
<Link href="/" className="btn btn-line">
逛逛讨论
</Link>
</div>
</div>
);
}