feat(catalog): fetch players, services, shops

This commit is contained in:
zetaloop
2026-02-28 16:37:15 +08:00
parent f4365668ab
commit f1ae3e04bb
11 changed files with 234 additions and 57 deletions
+1 -3
View File
@@ -9,9 +9,7 @@ import { ArrowRight, Search, ShoppingBag, Star } from "lucide-react"
import Link from "next/link"
export default async function HomePage() {
const games = await listGames()
const players = listPlayers()
const shops = listShops()
const [games, players, shops] = await Promise.all([listGames(), listPlayers(), listShops()])
return (
<div className="container mx-auto py-8 px-4 space-y-12">