YUM04: Changed counter page to Allergene && Navbar link now points to new page

This commit is contained in:
Andre Fuhry 2023-01-31 16:55:02 +01:00 committed by FUH22860
parent e6a5ad5270
commit 797eec085c

View File

@ -1,18 +0,0 @@
@page "/counter"
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
}
}