Skip to content

Commit

Permalink
Nicer install button and desc
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHeart committed Jan 4, 2025
1 parent 95fc1c1 commit 34ffb06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Desktop/Ui/Pages/Dash/Components/ModuleManagerItem.razor
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
@using OpenShock.Desktop.ModuleManager.Repository

<MudPaper Class="d-flex module-manager-item-root rounded-lg gap-10" Outlined="true">
<img src="@Module.IconUrl?.ToString()" alt="@Module.Name" class="icon rounded-lg"/>
<div class="d-flex flex-column justify-space-evenly">
<div class="d-flex flex-column justify-space-evenly overflow-hidden">
<MudText Typo="Typo.h4">@Module.Name</MudText>
<MudText Typo="Typo.body1">@Module.Description</MudText>
</div>

<div class="ml-auto">
<MudButton>Install</MudButton>
<MudButton Variant="Variant.Outlined" StartIcon="@Icons.Material.Filled.InstallDesktop">Install</MudButton>
</div>
</MudPaper>

Expand Down

0 comments on commit 34ffb06

Please sign in to comment.