Skip to content

Commit

Permalink
fix(links): Fixed the github icon button to open the repository on a …
Browse files Browse the repository at this point in the history
…new tab
  • Loading branch information
AriDevK committed Feb 20, 2024
1 parent 302e23d commit 74027e3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/HashMyPass/Layout/MainLayout.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@inherits LayoutComponentBase

<MudThemeProvider @ref="@_mudThemeProvider" @bind-IsDarkMode="_isDark"/>
<MudDialogProvider
FullWidth="true"
Expand All @@ -11,7 +12,12 @@
<MudLayout>
<MudAppBar>
<MudSpacer/>
<MudIconButton Icon="@Icons.Custom.Brands.GitHub" Color="Color.Default" aria-label="github"></MudIconButton>
<MudIconButton Icon="@Icons.Custom.Brands.GitHub"
Href="https://github.com/AriDevK/HashMyPass"
Target="_blank"
Color="Color.Default"
aria-label="github">
</MudIconButton>
<MudToggleIconButton @bind-Toggled="@_isDark"
Icon="@Icons.Material.Filled.LightMode" Title="Off"
ToggledIcon="@Icons.Material.Filled.DarkMode" ToggledTitle="On"/>
Expand Down Expand Up @@ -39,4 +45,4 @@
StateHasChanged();
}
}
}
}

0 comments on commit 74027e3

Please sign in to comment.