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:
@@ -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">© 2025 聚玩. All rights reserved.</div>
|
||||
|
||||
Reference in New Issue
Block a user