From 63e8d47b79eb6ebb15ca48331c325fc041d41024 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Wed, 28 Jan 2026 09:11:18 +0700 Subject: [PATCH] feat(clientarea): modernize orders and addresses pages with new map layout - Create ClientAreaMapPage component for client area pages with glass effect - Update orders page to use new ClientAreaMapPage with filter dropdown - Update addresses page to use new ClientAreaMapPage with add button - Remove Profile and Team tabs from MainNavigation (already in user menu) --- app/components/navigation/MainNavigation.vue | 14 - app/components/page/ClientAreaMapPage.vue | 294 +++++++++++++++++++ app/pages/clientarea/addresses/index.vue | 104 ++----- app/pages/clientarea/orders/index.vue | 270 ++++++----------- 4 files changed, 407 insertions(+), 275 deletions(-) create mode 100644 app/components/page/ClientAreaMapPage.vue diff --git a/app/components/navigation/MainNavigation.vue b/app/components/navigation/MainNavigation.vue index 9c831c9..0b25d1a 100644 --- a/app/components/navigation/MainNavigation.vue +++ b/app/components/navigation/MainNavigation.vue @@ -75,20 +75,6 @@ > {{ $t('cabinetNav.addresses') }} - - {{ $t('cabinetNav.profile') }} - - - {{ $t('cabinetNav.team') }} - diff --git a/app/components/page/ClientAreaMapPage.vue b/app/components/page/ClientAreaMapPage.vue new file mode 100644 index 0000000..21ee03a --- /dev/null +++ b/app/components/page/ClientAreaMapPage.vue @@ -0,0 +1,294 @@ + + + + + + + + {{ $t('catalogLanding.states.loading') }} + + + + + + + + + + + + + + + {{ $t('catalog.list') }} + + + + + + + + + + {{ title }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('catalog.showing') }} {{ displayItems.length }} {{ $t('catalog.of') }} {{ totalCount }} + + + + + + + + + + + + + {{ $t('catalog.list') }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/pages/clientarea/addresses/index.vue b/app/pages/clientarea/addresses/index.vue index a5bf0cb..f698c18 100644 --- a/app/pages/clientarea/addresses/index.vue +++ b/app/pages/clientarea/addresses/index.vue @@ -1,66 +1,57 @@ - - - - - - - + + {{ t('profileAddresses.actions.add') }} - + - - - {{ item.name }} - {{ item.address }} - - {{ isoToEmoji(item.countryCode) }} + + + {{ isoToEmoji(item.countryCode) }} + + {{ item.name }} + {{ item.address }} - + - + + 📍 + {{ t('profileAddresses.empty.title') }} + {{ t('profileAddresses.empty.description') }} + + + + {{ t('profileAddresses.empty.cta') }} + + + - +