Skip to content

Commit

Permalink
Web: Fixing broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMcLean committed Nov 9, 2024
1 parent 50054dc commit 7271ae1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Voxel2Pixel.Web/Components/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<MudLink Href="" Color="Color.Inherit" Underline="Underline.None">
<MudText Typo="Typo.h6">Voxel2Pixel</MudText>
</MudLink>
<MudLink Href="/"
Color="@(IsCurrentPage("/") || IsCurrentPage("/render") ? Color.Secondary : Color.Inherit)"
<MudLink Href="" Match="NavLinkMatch.All"
Color="@(IsCurrentPage("") || IsCurrentPage("/render") ? Color.Secondary : Color.Inherit)"
Underline="Underline.Hover"
Class="@(IsCurrentPage("/") || IsCurrentPage("/render") ? "active-link" : "")">
Class="@(IsCurrentPage("") || IsCurrentPage("/render") ? "active-link" : "")">
<div class="d-flex align-center">
<MudIcon Icon="@Icons.Material.Filled.Image" Class="mr-2" />
Render
Expand Down

0 comments on commit 7271ae1

Please sign in to comment.