Skip to content

Commit

Permalink
Fix title bar
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Dec 29, 2023
1 parent f57fa9d commit 2b468d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 8 additions & 2 deletions TicTacToeBlazor/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@

<MudLayout>
<MudAppBar>
<MudText Typo="@Typo.h4">
Tic Tac Toe Blazor
<MudText Typo="@Typo.h4" class="d-none d-lg-flex">
@AppTitle
</MudText>
<MudText Typo="@Typo.h6" class="d-none d-md-flex d-lg-none">
@AppTitle
</MudText>
<MudText Typo="@Typo.inherit" class="d-xs-flex d-md-none">
@AppTitle
</MudText>
<MudSpacer />
<MudStack Row="@true">
Expand Down
2 changes: 2 additions & 0 deletions TicTacToeBlazor/Shared/MainLayout.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ namespace TicTacToeBlazor.Shared;

public partial class MainLayout
{
private const string AppTitle = "Tic Tac Toe Blazor";

private bool isDarkMode;
private MudThemeProvider? mudThemeProvider;

Expand Down

0 comments on commit 2b468d8

Please sign in to comment.