Skip to content

Commit

Permalink
Design tweaks, upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Dec 19, 2023
1 parent ce1c71c commit f57fa9d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
28 changes: 24 additions & 4 deletions TicTacToeBlazor/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,31 @@

<MudLayout>
<MudAppBar>
Tic Tac Toe Blazor
<MudText Typo="@Typo.h4">
Tic Tac Toe Blazor
</MudText>
<MudSpacer />
<MudSwitch @bind-Checked="@isDarkMode"
Color="Color.Primary"
Label="@(isDarkMode ? "Dark" : "Light")" />
<MudStack Row="@true">
<MudSwitch @bind-Value="@isDarkMode"
Color="Color.Primary"
Label="@(isDarkMode ? "Dark" : "Light")" />
<MudButton Class="d-none d-md-flex"
EndIcon="@Icons.Custom.Brands.GitHub"
Href="https://github.com/codemonkey85/TicTacToeBlazor"
Target="_blank"
title="Source code on GitHub"
Color="@Color.Inherit"
Variant="@Variant.Outlined">
Source code on GitHub
</MudButton>
<MudIconButton Class="d-md-none"
Icon="@Icons.Custom.Brands.GitHub"
Href="https://github.com/codemonkey85/TicTacToeBlazor"
Target="_blank"
Title="Source code on GitHub"
Color="@Color.Inherit"
Variant="@Variant.Outlined" />
</MudStack>
</MudAppBar>
<MudContainer MaxWidth="MaxWidth.False">
@Body
Expand Down
2 changes: 1 addition & 1 deletion TicTacToeBlazor/TicTacToeBlazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="MudBlazor" Version="6.11.1" />
<PackageReference Include="MudBlazor" Version="6.11.2" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit f57fa9d

Please sign in to comment.