Consolidate tools and fix static assets

This commit is contained in:
2026-04-12 01:18:26 +02:00
parent 7843073d13
commit f625cdae0d
14 changed files with 639 additions and 221 deletions

View File

@@ -0,0 +1,45 @@
<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!;
}