From ebb6dc0b27f2ce9b3f0b7bb1ee183ddcf7bf6392 Mon Sep 17 00:00:00 2001 From: Bastian Masanek Date: Mon, 3 Nov 2025 13:18:26 +0100 Subject: [PATCH] Refactor CartFAB and CartSidebar components for improved UI and functionality - Simplified Transition component structure in CartFAB.vue for better readability. - Enhanced FAB button size and adjusted ShoppingCart icon scale for improved visibility. - Updated Badge component styling for better alignment and visual appeal. - Modified CartSidebar.vue to adjust empty state layout, improving user experience when the cart is empty. These changes aim to enhance the overall user interface and interaction within the shopping cart components. --- .claude/settings.local.json | 3 ++- app/components/Cart/CartFAB.vue | 30 ++++++++++------------------- app/components/Cart/CartSidebar.vue | 2 +- 3 files changed, 13 insertions(+), 22 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index d9535b9..4764bda 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -71,7 +71,8 @@ "Bash(pnpm shadcn-nuxt add:*)", "Bash(npm run:*)", "Bash(pnpm exec eslint:*)", - "Bash(npx -y vue-tsc:*)" + "Bash(npx -y vue-tsc:*)", + "Bash(awk:*)" ], "deny": [], "ask": [] diff --git a/app/components/Cart/CartFAB.vue b/app/components/Cart/CartFAB.vue index dcd5d48..670ffa6 100644 --- a/app/components/Cart/CartFAB.vue +++ b/app/components/Cart/CartFAB.vue @@ -34,42 +34,32 @@ function handleClick() { diff --git a/app/components/Cart/CartSidebar.vue b/app/components/Cart/CartSidebar.vue index 7a354bc..2d28fea 100644 --- a/app/components/Cart/CartSidebar.vue +++ b/app/components/Cart/CartSidebar.vue @@ -42,7 +42,7 @@ function handleCheckout() { -
+