From 6a9404cb5fcd7e33328f3c626bcb033a52ce73b1 Mon Sep 17 00:00:00 2001 From: Andre Fuhry Date: Tue, 31 Jan 2023 16:55:02 +0100 Subject: [PATCH 01/22] YUM04: Changed counter page to Allergene && Navbar link now points to new page --- Pages/Counter.razor | 18 ------------------ Shared/NavMenu.razor | 4 ++-- 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 Pages/Counter.razor diff --git a/Pages/Counter.razor b/Pages/Counter.razor deleted file mode 100644 index ef23cb3..0000000 --- a/Pages/Counter.razor +++ /dev/null @@ -1,18 +0,0 @@ -@page "/counter" - -Counter - -

Counter

- -

Current count: @currentCount

- - - -@code { - private int currentCount = 0; - - private void IncrementCount() - { - currentCount++; - } -} diff --git a/Shared/NavMenu.razor b/Shared/NavMenu.razor index 786bf92..b80002c 100644 --- a/Shared/NavMenu.razor +++ b/Shared/NavMenu.razor @@ -15,8 +15,8 @@