From 74f551ef1314481e3aa8c20fedb48033255617b9 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 6 Apr 2024 04:06:58 +0200 Subject: Initial commit --- BugMine.Web/Layout/NavMenu.razor | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 BugMine.Web/Layout/NavMenu.razor (limited to 'BugMine.Web/Layout/NavMenu.razor') diff --git a/BugMine.Web/Layout/NavMenu.razor b/BugMine.Web/Layout/NavMenu.razor new file mode 100644 index 0000000..64246f4 --- /dev/null +++ b/BugMine.Web/Layout/NavMenu.razor @@ -0,0 +1,40 @@ + + + + +@code { + private bool collapseNavMenu = true; + + private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null; + + private void ToggleNavMenu() + { + collapseNavMenu = !collapseNavMenu; + } + +} \ No newline at end of file -- cgit 1.4.1