style: redesign hero section and auth split layout

This commit is contained in:
zetaloop
2026-02-20 21:26:52 +08:00
parent c49ba63d1f
commit b0e2728aa9
4 changed files with 62 additions and 25 deletions
+21 -13
View File
@@ -10,19 +10,27 @@ import { mockGames, mockPlayers, mockShops } from "@/lib/mock-data"
export default function HomePage() {
return (
<div className="container mx-auto py-8 px-4 space-y-12">
<section className="text-center space-y-4 py-8">
<h1 className="text-4xl font-bold tracking-tight"></h1>
<p className="text-lg text-muted-foreground max-w-xl mx-auto"></p>
<div className="flex justify-center gap-2 pt-2">
<Button size="lg" asChild>
<Link href="/search">
<Search className="mr-2 h-4 w-4" />
</Link>
</Button>
<Button size="lg" variant="outline" asChild>
<Link href="/community"></Link>
</Button>
<section className="relative overflow-hidden rounded-3xl bg-linear-to-b from-primary/10 via-primary/5 to-transparent px-6 py-16 md:py-24 text-center">
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full h-full -z-10">
<div className="absolute top-[-10%] left-[-10%] w-[40%] h-[40%] rounded-full bg-primary/10 blur-[100px]" />
<div className="absolute bottom-[-10%] right-[-10%] w-[40%] h-[40%] rounded-full bg-primary/10 blur-[100px]" />
</div>
<div className="relative z-10 space-y-6">
<h1 className="text-4xl md:text-6xl font-extrabold tracking-tight"></h1>
<p className="text-lg md:text-xl text-muted-foreground max-w-xl mx-auto">
</p>
<div className="flex flex-col sm:flex-row justify-center gap-3 pt-2">
<Button size="lg" className="rounded-full px-8" asChild>
<Link href="/search">
<Search className="mr-2 h-4 w-4" />
</Link>
</Button>
<Button size="lg" variant="outline" className="rounded-full px-8" asChild>
<Link href="/community"></Link>
</Button>
</div>
</div>
</section>