diff --git a/app/(main)/community/page.tsx b/app/(main)/community/page.tsx index abae0b0..42c54b8 100644 --- a/app/(main)/community/page.tsx +++ b/app/(main)/community/page.tsx @@ -4,6 +4,7 @@ import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar" import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card" +import { EmptyState } from "@/components/ui/empty-state" import { listGames, listPosts } from "@/lib/api" import { roleLabels } from "@/lib/constants" import type { Game, Post } from "@/lib/types" @@ -86,14 +87,15 @@ export default function CommunityPage() {
@@ -74,7 +72,7 @@ export default function HomePage() { type="text" name="q" placeholder="搜索陪玩、店铺、游戏..." - className="w-full border-border bg-card shadow-card transition-shadow focus:shadow-card-hover" + className="w-full border-border bg-card shadow-sm transition-shadow focus-visible:shadow-md" />
发现更多有趣的游戏日常和讨论
@@ -228,10 +230,7 @@ export default function HomePage() { {/* Shops */} {!loading && !loadingError ? shops.map((shop) => ( -{shop.description}
@@ -239,7 +238,7 @@ export default function HomePage() {- {error ? "请求失败,请稍后重试" : "尝试调整筛选条件或更换搜索关键词"} -
- -