feat(ui): refine public detail pages

This commit is contained in:
zetaloop
2026-04-25 20:12:23 +08:00
parent 93b880f932
commit 151fabe8c2
3 changed files with 97 additions and 42 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ export default async function PostDetailPage({ params }: { params: Promise<{ id:
</Link>
<Card className="hover:shadow-card-hover">
<Card className="shadow-sm border-border/80">
<CardHeader className="pb-3">
<div className="flex items-center gap-3">
<Avatar className="h-10 w-10">
@@ -76,7 +76,7 @@ export default async function PostDetailPage({ params }: { params: Promise<{ id:
<Link href={`/order/${post.linkedOrderId}`}>
<div className="rounded-lg border bg-muted/30 p-3 text-sm hover:bg-muted/50 transition-colors">
<div className="flex items-center gap-2 mb-1">
<Star className="h-3.5 w-3.5 text-yellow-500" />
<Star className="h-3.5 w-3.5 text-warning fill-warning" />
<span className="font-medium"></span>
</div>
<p className="text-muted-foreground text-xs"></p>