This commit is contained in:
Janus C. H. Knudsen 2026-01-11 18:18:36 +01:00
parent abcf8ee75e
commit 12869e35bf
34 changed files with 1177 additions and 156 deletions

View file

@ -0,0 +1,18 @@
@model PlanTempus.Application.Features.Dashboard.Components.QuickStatListViewModel
<swp-card data-key="@Model.Key">
<swp-card-header>
<swp-card-title>
<i class="ph ph-@Model.Icon"></i>
@Model.Title
</swp-card-title>
</swp-card-header>
<swp-card-content>
<swp-quick-stats>
@foreach (var statKey in Model.StatKeys)
{
@await Component.InvokeAsync("QuickStat", statKey)
}
</swp-quick-stats>
</swp-card-content>
</swp-card>