Init game page

This commit is contained in:
2024-05-12 13:12:13 +04:00
parent 275d99bd85
commit 15247adfa3
9 changed files with 88 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ import { Section } from "@/widgets/section";
export default async function Home() {
const gameCards = await GameService.getGameCards();
return (
<div className="w-full h-full max-w-[var(--app-width)] m-auto overflow-y-auto">
<>
{gameCards && (
<Section
name="Игры"
@@ -17,6 +17,6 @@ export default async function Home() {
))}
</Section>
)}
</div>
</>
);
}