From a826ea1344b0f2ee5fb7bd7e6b7dd329d4970885 Mon Sep 17 00:00:00 2001 From: Bastian Masanek Date: Sat, 1 Nov 2025 20:08:28 +0100 Subject: [PATCH] Implement experimenta product listing page and enhance navigation components - Added a new page for displaying experimenta annual passes, integrating ProductCard and ProductGrid components for product presentation. - Updated API to filter products by category, allowing for specific product queries. - Enhanced navigation components, including AreaTabs and RoleSwitcher, to improve user experience and accessibility. - Refactored existing components for better styling consistency and responsiveness. - Improved dropdown menu components with updated styles and hover effects for better usability. --- app/components/UserMenu.vue | 18 +-- app/components/navigation/AreaTabs.vue | 67 ++++----- app/components/navigation/RoleSwitcher.vue | 4 +- .../ui/dropdown-menu/DropdownMenuContent.vue | 2 +- .../ui/dropdown-menu/DropdownMenuItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuLabel.vue | 2 +- app/pages/experimenta/index.vue | 142 ++++++++++++++++++ app/pages/products/index.vue | 14 +- server/api/products/index.get.ts | 20 ++- 9 files changed, 207 insertions(+), 64 deletions(-) create mode 100644 app/pages/experimenta/index.vue diff --git a/app/components/UserMenu.vue b/app/components/UserMenu.vue index fdbb0af..0bf11d7 100644 --- a/app/components/UserMenu.vue +++ b/app/components/UserMenu.vue @@ -43,12 +43,9 @@ async function handleLogout() {