Added helper message component (not final). Improved stat card design. Started improving theme preview
This commit is contained in:
15
Moonlight.Client/UI/Components/HelperMessage.razor
Normal file
15
Moonlight.Client/UI/Components/HelperMessage.razor
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="alert alert-soft alert-primary border-2 flex items-center p-2.5" role="alert">
|
||||
<div class="avatar me-2">
|
||||
<div class="size-7 rounded-full">
|
||||
<img src="/_content/Moonlight.Client/img/ghost.png" alt="avatar" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-primary-content">
|
||||
@ChildContent
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code
|
||||
{
|
||||
[Parameter] public RenderFragment ChildContent { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user