From 6970867f7b757cb93a9f65de15e3134dc8af557f Mon Sep 17 00:00:00 2001 From: aserrador Date: Thu, 28 May 2026 23:05:57 -0500 Subject: [PATCH] feat: transform catalog to modern grid layout with compact product cards - Transform Card.vue from horizontal to vertical compact design - Reduce card height with fixed image max-height (160-240px responsive) - Center all text content (product name, prices, actions) - Style product name with semibold font-weight, 2-line ellipsis - Redesign price labels: subtle gray uppercase for labels, bold primary for values - Style quantity controls: tonal icon buttons with smooth animations - Redesign input field: solo-filled variant, compact density, subtle shadow - Transform catalog.vue list layout to responsive grid (v-row/v-col) - Implement responsive columns: 1 col mobile, 2 cols tablet, 3 cols desktop - Clean up obsolete .catalog-item styles, use native Vuetify grid spacing - Add hover effects: translateY(-6px), scale(1.08) on image, border highlight - Add footer background (#fafafa) for visual separation - Optimize breakpoints: 6 responsive sizes (374px, 559px, 959px, 1280px, 1920px) - Result: Professional, compact, balanced e-commerce catalog design --- src/components/catalog/Card.vue | 670 +++++++++++++++----------------- src/pages/catalog.vue | 86 ++-- 2 files changed, 372 insertions(+), 384 deletions(-) diff --git a/src/components/catalog/Card.vue b/src/components/catalog/Card.vue index 375cb36..960c678 100644 --- a/src/components/catalog/Card.vue +++ b/src/components/catalog/Card.vue @@ -1,64 +1,99 @@ @@ -102,400 +137,325 @@ export default { diff --git a/src/pages/catalog.vue b/src/pages/catalog.vue index a599d56..dfe7027 100644 --- a/src/pages/catalog.vue +++ b/src/pages/catalog.vue @@ -60,21 +60,27 @@ position="top" /> - - - - + + + + + +