Add interactive element to test page

This commit is contained in:
Archangel
2025-10-10 14:54:55 +02:00
parent 5670e5a123
commit 70ef0bcc7e
@@ -4,6 +4,17 @@
<img src="/TestMod/chomp.jpg" alt="Chomp!" />
@code {
<h3>Counter Test</h3>
<p>Current count: @count</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int count = 0;
private void IncrementCount()
{
count++;
}
}