import { GameService } from "@/entities/game"; import { GameCard } from "@/features/gameCard"; import { Section } from "@/widgets/section"; export default async function Home() { const gameCards = await GameService.getGameCards(); return ( <> {gameCards && gameCards.length > 0 && (
{gameCards.map((card) => ( ))}
)} ); }