Updating game data to mid season patch and made card gallery nicer

This commit is contained in:
2026-07-17 09:42:50 -04:00
parent 7b0f2ce1a5
commit 5aff9910c1
709 changed files with 1485 additions and 547 deletions
@@ -28,7 +28,7 @@
border: 1px solid var(--border);
border-radius: 16px;
padding: 0;
max-width: 720px;
max-width: 850px;
width: 92vw;
max-height: 88vh;
overflow-y: auto;
@@ -78,7 +78,7 @@
}
.detail-image {
flex: 0 0 260px;
flex: 0 0 320px;
}
.detail-image img {
+2 -3
View File
@@ -1,5 +1,4 @@
@using Model
@namespace Shared.Components
@namespace Shared.Components
<div class="deck-card-row">
@foreach (var group in Cards.GroupBy(x => x))
@@ -29,7 +28,7 @@
</div>
@code {
[Parameter][EditorRequired] public List<string> Cards { get; set; } = [];
[Parameter] [EditorRequired] public List<string> Cards { get; set; } = [];
[Parameter] public EventCallback<CardData?> OnSelectCard { get; set; }
private async Task SelectCard(CardData? card)
+1 -1
View File
@@ -13,7 +13,7 @@
</div>
@code {
[Parameter][EditorRequired] public List<(int Cost, int Count)> Distribution { get; set; } = [];
[Parameter] [EditorRequired] public List<(int Cost, int Count)> Distribution { get; set; } = [];
[Parameter] public int MaxCostLabel { get; set; } = 10;
private int MaxCount => Distribution.Count > 0 ? Distribution.Max(x => x.Count) : 0;