Cleanup
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
<div class="card-shimmer"></div>
|
||||
<img src="@card.ImagePath" alt="@card.Name" loading="lazy"
|
||||
onerror="this.src='data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%22280%22><rect fill=%22%23222244%22 width=%22200%22 height=%22280%22/><text fill=%22%23686888%22 font-size=%2214%22 x=%22100%22 y=%22140%22 text-anchor=%22middle%22 dominant-baseline=%22middle%22>No Image</text></svg>'"/>
|
||||
|
||||
|
||||
@if (card.IsSpell && !string.IsNullOrEmpty(card.Speed))
|
||||
{
|
||||
<div class="card-speed-badge" title="Speed">
|
||||
|
||||
@@ -298,7 +298,9 @@
|
||||
var inDeck = deckCards.ToHashSet();
|
||||
var otherDiverSlot = activeDiverSlot == 0
|
||||
? divers.Count > 1 ? divers[1] : null
|
||||
: divers.Count > 0 ? divers[0] : null;
|
||||
: divers.Count > 0
|
||||
? divers[0]
|
||||
: null;
|
||||
|
||||
return AllCards
|
||||
.Where(c => c.Category is "Agent" or "Spell" or "Immortalized")
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Router AppAssembly="@typeof(Program).Assembly" AdditionalAssemblies="new[] { typeof(Home).Assembly, typeof(Shared.Pages.Syndicates).Assembly, typeof(Shared.Pages.Agents).Assembly }">
|
||||
<Router AppAssembly="@typeof(Program).Assembly"
|
||||
AdditionalAssemblies="new[] { typeof(Home).Assembly, typeof(Syndicates).Assembly, typeof(Agents).Assembly }">
|
||||
<Found Context="routeData">
|
||||
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
|
||||
<NotAuthorized>
|
||||
|
||||
Reference in New Issue
Block a user