Fetch games

This commit is contained in:
Maxime Adler
2025-04-16 14:52:43 +02:00
parent 6180be8ee7
commit c768c92397
14 changed files with 110 additions and 35 deletions

View File

@@ -13,17 +13,21 @@
<GameHeader AddTypeChanged="HandleAddClicked">
<GameFilter Categories="Categories"
@bind-DisplayType=DisplayType
@bind-Value=GameFilter/>
@bind-DisplayType=DisplayType
@bind-Value=GameFilter/>
</GameHeader>
<div class="container">
<div class="content">
@foreach (var game in GamesDto)
{
<GameRow GameDto="game" />
}
</div>
<AdvancedGameFilter @bind-GameFilter=GameFilter Categories="Categories" />
</div>
<Popup @ref=ManualAddPopup BackdropFilterClicked="HandleBackdropManualAddClicked" Closable=false>
<GameCreationForm Categories="Categories" OnSubmit="HandleFetchCategories" />
<GameCreationForm Categories="Categories" OnSubmit="HandleFetchDatas" />
</Popup>