Adding a syndicate pairing page with some notes

This commit is contained in:
2026-07-17 17:12:39 -04:00
parent 8fa0422be4
commit e64193639e
50 changed files with 1689 additions and 398 deletions
+4 -4
View File
@@ -104,7 +104,7 @@
@foreach (var s in syndicateFilter)
{
<span class="filter-chip">
<i class="bi bi-flag-fill"></i> @s
<i class="bi bi-diagram-3-fill"></i> @s
<button @onclick="() => SetSyndicate(s)"><i class="bi bi-x"></i></button>
</span>
}
@@ -147,7 +147,7 @@
<div class="card-cost-badge" title="Cost">@card.Cost</div>
}
@if (card.IsImmortalized || card.HasImmortalize)
@if (card.IsImmortalized)
{
<div class="card-immortalize-badge" title="@(card.IsImmortalized ? "Immortalized" : "Immortalizes")">
<i class="bi bi-star-fill"></i>
@@ -253,7 +253,7 @@
{
allCards = CardDatabase.Cards;
syndicates = allCards
.Select(c => c.Faction)
.Select(c => c.Syndicate)
.Where(f => f != null)
.Distinct()
.OrderBy(f => f)
@@ -265,7 +265,7 @@
var primarySet = allCards.Where(c =>
c.MatchesSearch(search) &&
(categoryFilter == "" || c.Category == categoryFilter) &&
(syndicateFilter.Count == 0 || (c.Faction != null && syndicateFilter.Contains(c.Faction))) &&
(syndicateFilter.Count == 0 || (c.Syndicate != null && syndicateFilter.Contains(c.Syndicate))) &&
(costFilter == "" || c.Cost?.ToString() == costFilter)
);