46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
<section class="panel tooling-surface tool-page-frame">
|
|
<header class="tool-page-header">
|
|
<div class="tool-page-heading">
|
|
@if (!string.IsNullOrWhiteSpace(Eyebrow))
|
|
{
|
|
<span class="tool-page-eyebrow">@Eyebrow</span>
|
|
}
|
|
|
|
<h1 class="panel-title">@Title</h1>
|
|
|
|
@if (!string.IsNullOrWhiteSpace(Summary))
|
|
{
|
|
<div class="tool-page-summary">@Summary</div>
|
|
}
|
|
</div>
|
|
|
|
@if (Actions is not null)
|
|
{
|
|
<div class="tool-page-actions">
|
|
@Actions
|
|
</div>
|
|
}
|
|
</header>
|
|
|
|
<div class="tool-page-body">
|
|
@ChildContent
|
|
</div>
|
|
</section>
|
|
|
|
@code {
|
|
[Parameter]
|
|
public string? Eyebrow { get; set; }
|
|
|
|
[Parameter, EditorRequired]
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
[Parameter]
|
|
public string? Summary { get; set; }
|
|
|
|
[Parameter]
|
|
public RenderFragment? Actions { get; set; }
|
|
|
|
[Parameter, EditorRequired]
|
|
public RenderFragment ChildContent { get; set; } = default!;
|
|
}
|