From d9b694e76a07604d5e339b20c2367c600ca177fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D0=BD=D1=81=D1=82=D0=B0=D0=BD=D1=82=D0=B8?= =?UTF-8?q?=D0=BD=20=D0=A3=D0=BA=D0=BE=D0=BB=D0=BE=D0=B2?= <“ukolov.konst@gmail.com”> Date: Mon, 5 Aug 2024 12:30:18 +0300 Subject: [PATCH] feat: add footer and header --- app.config.ts | 2 +- app.vue | 8 +++++++ src/entities/product/ui/ProductCard.vue | 2 +- src/pages/catalog/ui/CatalogPage.vue | 23 ++++++++++++++----- src/pages/position/ui/PositionPage.vue | 23 ++++++++++++++----- src/pages/product/ui/ProductPage.vue | 29 ++++++++++++++++-------- src/shared/ui/index.ts | 1 + src/shared/ui/layouts/StandardLayout.vue | 17 ++++++++++++++ src/shared/ui/layouts/index.ts | 1 + src/widgets/footer/index.ts | 1 + src/widgets/footer/ui/Footer.vue | 29 ++++++++++++++++++++++++ src/widgets/footer/ui/index.ts | 1 + src/widgets/header/index.ts | 1 + src/widgets/header/ui/Header.vue | 26 +++++++++++++++++++++ src/widgets/header/ui/index.ts | 1 + 15 files changed, 142 insertions(+), 23 deletions(-) create mode 100644 src/shared/ui/layouts/StandardLayout.vue create mode 100644 src/shared/ui/layouts/index.ts create mode 100644 src/widgets/footer/index.ts create mode 100644 src/widgets/footer/ui/Footer.vue create mode 100644 src/widgets/footer/ui/index.ts create mode 100644 src/widgets/header/index.ts create mode 100644 src/widgets/header/ui/Header.vue create mode 100644 src/widgets/header/ui/index.ts diff --git a/app.config.ts b/app.config.ts index 260e93b..aa0e765 100644 --- a/app.config.ts +++ b/app.config.ts @@ -1,6 +1,6 @@ export default defineAppConfig({ ui: { - primary: 'lime', + primary: 'pink', gray: 'neutral', }, }) diff --git a/app.vue b/app.vue index c6e094a..4ceff66 100644 --- a/app.vue +++ b/app.vue @@ -4,3 +4,11 @@ + + diff --git a/src/entities/product/ui/ProductCard.vue b/src/entities/product/ui/ProductCard.vue index 8b2591c..10000f9 100644 --- a/src/entities/product/ui/ProductCard.vue +++ b/src/entities/product/ui/ProductCard.vue @@ -56,7 +56,7 @@ updatePrices()