refactor: remove hardcoded display values and unused lib/id.ts

Delete hardcoded marketing stats in auth layout and ¥12,800
placeholder in owner dashboard. Remove lib/id.ts which is no
longer referenced by any module.
This commit is contained in:
zetaloop
2026-05-01 04:22:33 +08:00
parent cd469d3d54
commit b6002f5691
5 changed files with 7 additions and 30 deletions
-15
View File
@@ -1,12 +1,6 @@
import { ArrowLeft, Gamepad2 } from "lucide-react"
import Link from "next/link"
const stats = [
{ value: "12,000+", label: "认证打手" },
{ value: "98.6%", label: "好评率" },
{ value: "50,000+", label: "完成订单" },
]
export default function AuthLayout({ children }: { children: React.ReactNode }) {
return (
<div className="flex min-h-screen bg-background">
@@ -28,15 +22,6 @@ export default function AuthLayout({ children }: { children: React.ReactNode })
<p className="mt-4 text-base leading-relaxed text-muted-foreground">
</p>
<div className="mt-10 grid grid-cols-3 gap-6">
{stats.map((stat) => (
<div key={stat.label}>
<div className="text-2xl font-bold">{stat.value}</div>
<div className="mt-1 text-xs text-muted-foreground">{stat.label}</div>
</div>
))}
</div>
</div>
<div className="text-xs text-muted-foreground">&copy; 2025 . All rights reserved.</div>