chore(format): run prettier
This commit is contained in:
+31
-7
@@ -22,12 +22,14 @@ export default function HomePage() {
|
||||
</div>
|
||||
<div className="relative z-10 space-y-8 max-w-3xl mx-auto">
|
||||
<div className="space-y-4">
|
||||
<h1 className="text-4xl md:text-6xl font-bold tracking-tighter leading-tight">找到你的游戏搭档</h1>
|
||||
<h1 className="text-4xl md:text-6xl font-bold tracking-tighter leading-tight">
|
||||
找到你的游戏搭档
|
||||
</h1>
|
||||
<p className="text-lg md:text-xl text-muted-foreground leading-relaxed">
|
||||
找人一起打游戏,从这里开始
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="discover-search" className="w-full max-w-2xl mx-auto">
|
||||
<form method="get" action="/search" className="relative flex items-center w-full">
|
||||
<Search className="absolute left-4 h-5 w-5 text-muted-foreground z-10" />
|
||||
@@ -72,15 +74,37 @@ export default function HomePage() {
|
||||
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4">
|
||||
<h2 className="text-xl font-semibold">推荐内容</h2>
|
||||
<div className="flex flex-wrap items-center gap-2 text-sm">
|
||||
<Link href="/search?sort=composite" className="text-primary font-medium">综合排序</Link>
|
||||
<Link href="/search?sort=composite" className="text-primary font-medium">
|
||||
综合排序
|
||||
</Link>
|
||||
<span className="text-muted-foreground/30">|</span>
|
||||
<Link href="/search?sort=rating" className="text-muted-foreground hover:text-foreground transition-colors">评分最高</Link>
|
||||
<Link
|
||||
href="/search?sort=rating"
|
||||
className="text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
评分最高
|
||||
</Link>
|
||||
<span className="text-muted-foreground/30">|</span>
|
||||
<Link href="/search?sort=orders" className="text-muted-foreground hover:text-foreground transition-colors">接单最多</Link>
|
||||
<Link
|
||||
href="/search?sort=orders"
|
||||
className="text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
接单最多
|
||||
</Link>
|
||||
<span className="text-muted-foreground/30">|</span>
|
||||
<Link href="/search?sort=price_asc" className="text-muted-foreground hover:text-foreground transition-colors">价格最低</Link>
|
||||
<Link
|
||||
href="/search?sort=price_asc"
|
||||
className="text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
价格最低
|
||||
</Link>
|
||||
<span className="text-muted-foreground/30">|</span>
|
||||
<Link href="/search?sort=price_desc" className="text-muted-foreground hover:text-foreground transition-colors">价格最高</Link>
|
||||
<Link
|
||||
href="/search?sort=price_desc"
|
||||
className="text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
价格最高
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user