Normalize

This commit is contained in:
2023-01-29 11:50:01 -07:00
parent 88710d5c8e
commit cb37f3d996
72 changed files with 2364 additions and 1 deletions

View File

@ -0,0 +1,13 @@
@page "/"
@page "/Counter"
@using Microsoft.AspNetCore.Components.Web
@using MudBlazor
@namespace Normalize.ClientHub.Pages
<PageTitle>Counter</PageTitle>
<MudText Typo="Typo.h3" GutterBottom="true">Counter</MudText>
<MudText Class="mb-4">Current count: @_CurrentCount</MudText>
<MudButton Color="Color.Primary" Variant="Variant.Filled" @onclick="IncrementCount">Click me</MudButton>

View File

@ -0,0 +1,10 @@
namespace Normalize.ClientHub.Pages;
public partial class Counter
{
private int _CurrentCount = 0;
private void IncrementCount() => _CurrentCount++;
}

View File

@ -0,0 +1,53 @@
@page "/"
@model Normalize.ClientHub.Pages.Host
@using Microsoft.AspNetCore.Components.Web
@namespace Normalize.ClientHub.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="/" />
<link rel="stylesheet" href="lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="ClientHub.styles.css" asp-append-version="true" />
<link href="manifest.json" rel="manifest" />
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" />
<link rel="apple-touch-icon" sizes="192x192" href="icon-192.png" />
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head>
<body>
<component type="typeof(App)" render-mode="ServerPrerendered" />
<div id="blazor-error-ui">
<environment include="Staging,Production">
An error has occurred. This application may no longer respond until reloaded.
</environment>
<environment include="Development">
An unhandled exception has occurred. See browser dev tools for details.
</environment>
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="_framework/blazor.server.js"></script>
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
<script src="lib/jquery/dist/jquery.min.js"></script>
<script src="lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="js/site.js" asp-append-version="true"></script>
</body>
</html>

View File

@ -0,0 +1,6 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Normalize.ClientHub.Pages;
public partial class Host : PageModel
{ }