Replaces `swp-section-label` with standardized `swp-card-header` and `swp-card-title` Improves component consistency across multiple features: - Adds structured card headers - Introduces more semantic HTML elements - Enhances layout and readability of card components Updates CSS and component styles to support new structure
15 lines
501 B
Text
15 lines
501 B
Text
@model PlanTempus.Application.Features.Dashboard.Components.AttentionListViewModel
|
|
|
|
<swp-card data-key="@Model.Key">
|
|
<swp-card-header>
|
|
<swp-card-title>@Model.Title</swp-card-title>
|
|
</swp-card-header>
|
|
<swp-card-content>
|
|
<swp-attention-list>
|
|
@foreach (var attentionKey in Model.AttentionKeys)
|
|
{
|
|
@await Component.InvokeAsync("AttentionItem", attentionKey)
|
|
}
|
|
</swp-attention-list>
|
|
</swp-card-content>
|
|
</swp-card>
|