Add project files.
This commit is contained in:
14
MauiApp2/MauiApp2.Shared/Pages/Home.razor
Normal file
14
MauiApp2/MauiApp2.Shared/Pages/Home.razor
Normal file
@@ -0,0 +1,14 @@
|
||||
@page "/"
|
||||
@using MauiApp2.Shared.Services
|
||||
@inject IFormFactor FormFactor
|
||||
|
||||
<PageTitle>Home</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();
|
||||
}
|
||||
Reference in New Issue
Block a user