aboutsummaryrefslogtreecommitdiff
path: root/src/lib/components/GamesSection.svelte
blob: a2f4f55a3502528feece0e1b5bc7ffb0583a18c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<script>
  import GameCard from "./GameCard.svelte";
  import { getGames, getGameDescription } from "../stores/games.svelte.js";
</script>

<h1 class="title" id="Game-description">{getGameDescription()}</h1>
<div id="Game-list" class="grid-container">
  {#each getGames() as game (game.id)}
    <GameCard {game} />
  {/each}
</div>