14 lines
595 B
Plaintext
14 lines
595 B
Plaintext
@* Usage: @await Html.PartialAsync("_SectionHeader", (Kicker: "FLOOR", Title: "Active jobs", Meta: (string?)null))
|
|
Replaces: <div class="card-header fw-bold">…</div> *@
|
|
@model (string Kicker, string Title, string? Meta)
|
|
<div class="pcl-section-header d-flex align-items-baseline justify-content-between gap-3">
|
|
<div>
|
|
<div class="pcl-metric-kicker">@Model.Kicker</div>
|
|
<h2 class="pcl-section-title mb-0">@Model.Title</h2>
|
|
</div>
|
|
@if (!string.IsNullOrEmpty(Model.Meta))
|
|
{
|
|
<span class="mono pcl-section-meta text-nowrap">@Model.Meta</span>
|
|
}
|
|
</div>
|