From 39099bb45d1ed7db974c37fdb1f4a4dc510299e8 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Mon, 4 Nov 2024 15:19:35 +0100 Subject: [PATCH] add reporting submenus to navbar --- .../js/Components/NavigationSidebarItem.vue | 122 ++++++++++++++---- .../js/Components/NavigationSidebarLink.vue | 36 ++++++ resources/js/Layouts/AppLayout.vue | 22 +++- 3 files changed, 152 insertions(+), 28 deletions(-) create mode 100644 resources/js/Components/NavigationSidebarLink.vue diff --git a/resources/js/Components/NavigationSidebarItem.vue b/resources/js/Components/NavigationSidebarItem.vue index 5c2e274c..71e36157 100644 --- a/resources/js/Components/NavigationSidebarItem.vue +++ b/resources/js/Components/NavigationSidebarItem.vue @@ -1,35 +1,109 @@ + diff --git a/resources/js/Components/NavigationSidebarLink.vue b/resources/js/Components/NavigationSidebarLink.vue new file mode 100644 index 00000000..2f5f74de --- /dev/null +++ b/resources/js/Components/NavigationSidebarLink.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/resources/js/Layouts/AppLayout.vue b/resources/js/Layouts/AppLayout.vue index 9f2fb23d..5d42c1a1 100644 --- a/resources/js/Layouts/AppLayout.vue +++ b/resources/js/Layouts/AppLayout.vue @@ -114,13 +114,27 @@ const page = usePage<{ + :href="route('reporting')"> +