chore(format): run prettier

This commit is contained in:
zetaloop
2026-02-25 05:37:27 +08:00
parent c301dbd3c2
commit 807c329e87
8 changed files with 210 additions and 157 deletions
+31 -7
View File
@@ -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>
+1 -4
View File
@@ -110,10 +110,7 @@ export default async function PlayerDetailPage({ params }: { params: Promise<{ i
<TabsContent value="services" className="mt-6">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
{playerServices.map((service) => (
<Card
key={service.id}
className="flex flex-col h-full"
>
<Card key={service.id} className="flex flex-col h-full">
<CardHeader>
<div className="flex justify-between items-start">
<Badge variant="outline">{service.gameName}</Badge>
-1
View File
@@ -404,7 +404,6 @@ function SearchPageContent() {
[router, searchParams],
)
useEffect(() => {
const timer = setTimeout(() => {
const urlQ = searchParams.get("q") ?? ""