Devtest page

This commit is contained in:
Adam 2025-02-27 16:34:48 +01:00
parent 0d431f0c98
commit 1fb48cf428
3 changed files with 20 additions and 1 deletions

View File

@ -25,6 +25,11 @@
<span class="bi bi-list-nested-nav-menu" aria-hidden="true"></span> Weather
</NavLink>
</div>
<div class="nav-item px-3">
<NavLink class="nav-link" href="/devs/simulationtest">
<span class="bi bi-list-nested-nav-menu" aria-hidden="true"></span> DevTest
</NavLink>
</div>
</nav>
</div>

View File

@ -0,0 +1,14 @@
@page "/devs/simulationtest"
@using Adaeron.Shared.Services
@inject IFormFactor FormFactor
<PageTitle>Test</PageTitle>
<h1>Hello, world!</h1>
Welcome to your new app running on <em>@factor</em> using <em>@platform</em>.
@code {
private string factor => FormFactor.GetFormFactor();
private string platform => FormFactor.GetPlatform();
}

View File

@ -4,7 +4,7 @@
<PageTitle>Home</PageTitle>
<h1>Hello, world!</h1>
<h1>Hello, dev!</h1>
Welcome to your new app running on <em>@factor</em> using <em>@platform</em>.