Skip to content

Commit

Permalink
add logo to test viewer home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Anu6is committed Apr 8, 2024
1 parent 6a789f2 commit 54be873
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<MudThemeProvider Theme="@customTheme" />

<MudLayout>
<MudDrawer Open="true" Elevation="1">
<MudDrawer Open="true" Elevation="1" Breakpoint="Breakpoint.None" Fixed="true" Variant="DrawerVariant.Persistent">
<MudDrawerHeader>
<MudText Typo="Typo.h6">Static Input Tests</MudText>
</MudDrawerHeader>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

<PageTitle>@(TestComponent ?? "Home")</PageTitle>

@if (string.IsNullOrEmpty(TestComponent))
{
<MudContainer Class="d-flex align-content-center justify-center pt-8" MaxWidth="MaxWidth.Medium">
<MudImage Src="./logo.png" Fluid="true" ObjectFit="ObjectFit.ScaleDown" ObjectPosition="ObjectPosition.Center" Width="500" />
</MudContainer>
}
<PageScript Src="./Components/Pages/Index.razor.js" />

@RenderFragment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
<ProjectReference Include="..\..\src\MudBlazor.StaticInput.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="BlazorPageScript" Version="1.0.0" />
</ItemGroup>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 54be873

Please sign in to comment.