Files
UHD_Media_Tool/apps/web/app/routes/not-found.tsx
T
rootandClaude Opus 5.5 52402864d6 style(copy): punctuation rules and site-wide fix with a CI check (QA U11)
- glossary: 10 punctuation rules (full-width in Chinese, CJK/Latin spacing,
  full-width parens around Chinese, single ellipsis, 「」 quotes, period rules)
- scripts/check-copy-punctuation.mjs: checks string literals, templates and JSX
  text (not comments, types, keys, match/compare strings); --fix, --strict,
  --by-file; wired into deno task ci as check:copy in warn mode
- --fix applied to web, server and contracts; files other lanes were editing
  (subscriptions, sites, browser, agent, auth/account, inventory) left for them
- tests updated for the changed messages

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-28 20:09:29 +08:00

20 lines
577 B
TypeScript

import { Link } from "react-router";
import { EmptyState } from "~/components/console/empty-state.tsx";
import { buttonVariants } from "~/components/ui/button.tsx";
export default function NotFound() {
return (
<div className="grid min-h-screen place-items-center bg-background px-4">
<EmptyState
title="页面不存在"
description="检查地址,或回到首页。"
action={
<Link to="/console" className={buttonVariants({ variant: "outline" })}>
回到首页
</Link>
}
/>
</div>
);
}