refactor: rewrite and expand mock data into modular files

This commit is contained in:
zetaloop
2026-02-21 00:24:03 +08:00
parent 44669d5606
commit 7ed7bad975
47 changed files with 1891 additions and 767 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import { Badge } from "@/components/ui/badge"
import { Button } from "@/components/ui/button"
import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card"
import { roleLabels } from "@/lib/constants"
import { mockGames, mockPosts } from "@/lib/mock-data"
import { mockGames, mockPosts } from "@/lib/mock"
export default function CommunityPage() {
const [sortMode, setSortMode] = useState<"latest" | "hot">("latest")