Introduces reusable view components for bookings and notifications Implements dynamic rendering of booking items and lists Adds corresponding CSS styles for new dashboard components Enhances dashboard user interface with interactive elements
19 lines
644 B
Text
19 lines
644 B
Text
@model PlanTempus.Application.Features.Dashboard.Components.NotificationListViewModel
|
|
|
|
<swp-card data-key="@Model.Key">
|
|
<swp-card-header>
|
|
<swp-card-title>
|
|
<i class="ph ph-bell"></i>
|
|
@Model.Title
|
|
</swp-card-title>
|
|
<swp-card-action>@Model.ActionText</swp-card-action>
|
|
</swp-card-header>
|
|
<swp-card-content>
|
|
<swp-notification-list>
|
|
@foreach (var notificationKey in Model.NotificationKeys)
|
|
{
|
|
@await Component.InvokeAsync("NotificationItem", notificationKey)
|
|
}
|
|
</swp-notification-list>
|
|
</swp-card-content>
|
|
</swp-card>
|