From d3183bf6ad68cb02ca55f4b0399c392f6e73034a Mon Sep 17 00:00:00 2001
From: Ruslan Bakiev <572431+veikab@users.noreply.github.com>
Date: Tue, 21 Apr 2026 10:34:54 +0700
Subject: [PATCH] feat(ui): copy logistics header/theme one-to-one
---
app/assets/css/tailwind.css | 21 +-
app/components/AppHeader.vue | 718 +++++++++++++------
app/components/AppLocaleCurrencySelector.vue | 107 +++
app/composables/useCalcSearchDraft.ts | 86 +++
app/composables/useLocaleCurrency.ts | 188 +++++
app/composables/useLocalizedNavigation.ts | 70 ++
i18n/locales/en/settings.json | 27 +
i18n/locales/en/ui.json | 20 +
i18n/locales/ru/settings.json | 27 +
i18n/locales/ru/ui.json | 20 +
nuxt.config.ts | 4 +
11 files changed, 1052 insertions(+), 236 deletions(-)
create mode 100644 app/components/AppLocaleCurrencySelector.vue
create mode 100644 app/composables/useCalcSearchDraft.ts
create mode 100644 app/composables/useLocaleCurrency.ts
create mode 100644 app/composables/useLocalizedNavigation.ts
create mode 100644 i18n/locales/en/settings.json
create mode 100644 i18n/locales/en/ui.json
create mode 100644 i18n/locales/ru/settings.json
create mode 100644 i18n/locales/ru/ui.json
diff --git a/app/assets/css/tailwind.css b/app/assets/css/tailwind.css
index 6949c29..d5ae965 100644
--- a/app/assets/css/tailwind.css
+++ b/app/assets/css/tailwind.css
@@ -58,15 +58,13 @@ body {
linear-gradient(135deg, #f7f5f1 0%, #f1eee8 100%);
}
-.glass-underlay,
-.glass-soft {
+.glass-underlay {
background: #ece3d3;
border: 1px solid #d7ccb7;
box-shadow: 0 14px 30px rgba(24, 20, 12, 0.1);
}
-.glass-capsule,
-.glass-bright {
+.glass-capsule {
background: #e9decb;
border: 1px solid #d5c7b0;
box-shadow: 0 8px 22px rgba(24, 20, 12, 0.1);
@@ -77,18 +75,3 @@ body {
border: 1px solid #dbcdb8;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
-
-.map-chip {
- background: #f2eadb;
- border: 1px solid #dbcdb8;
- box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
-}
-
-.manager-logistics-shell {
- min-height: 100vh;
- font-family: "Onest", "Avenir Next", "Trebuchet MS", sans-serif;
- background:
- radial-gradient(circle at 10% 0%, #fdf8ea 0%, rgba(253, 248, 234, 0) 40%),
- radial-gradient(circle at 90% 100%, #e9f2ff 0%, rgba(233, 242, 255, 0) 35%),
- linear-gradient(135deg, #f7f5f1 0%, #f1eee8 100%);
-}
diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue
index d13f874..1e47093 100644
--- a/app/components/AppHeader.vue
+++ b/app/components/AppHeader.vue
@@ -1,133 +1,275 @@
-