Skip to content

Commit

Permalink
Added GitHub link to footer, updated size, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
BerntA committed Jun 15, 2024
1 parent 69da195 commit aa27269
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions GameServerList.App/Components/Layout/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@
@Body
</article>
<footer>
<MudContainer Class="mt-3" MaxWidth="MaxWidth.ExtraExtraLarge">
<MudSwitch @bind-Value="@_isDarkMode" @bind-Value:after="UpdateLocalStorage" Color="Color.Primary" Class="ma-4" T="bool" Label="Toggle Dark Mode" />
<MudContainer Class="mt-5" Fixed="true">
<MudGrid>
<MudItem xs="11" Class="pl-5">
<MudSwitch @bind-Value="@_isDarkMode" @bind-Value:after="UpdateLocalStorage" Color="Color.Primary" T="bool" Label="Toggle Dark Mode" />
</MudItem>
<MudItem xs="1" Class="pr-5" Style="text-align:right">
<MudLink Href="https://github.com/BerntA/GameServerBrowser" Target="_blank"><MudIcon Icon="@Icons.Custom.Brands.GitHub" Title="GitHub" /></MudLink>
</MudItem>
</MudGrid>
</MudContainer>
</footer>
</main>
Expand Down

0 comments on commit aa27269

Please sign in to comment.