From 45cd6c174decb1ad2a59c8a31c4a8b61408a0426 Mon Sep 17 00:00:00 2001 From: rakesh Date: Wed, 17 May 2023 13:37:02 +0530 Subject: [PATCH] fixes ui --- .env.daily | 3 +- package.json | 6 +-- .../layout/hero-image/HeroContainer.scss | 6 +-- .../category/CategoryBaseProducts.vue | 11 +++-- .../gift-guide/GiftGuideComponent.vue | 4 +- .../retailer/home/HomeComponent.scss | 10 ++-- .../retailer/home/HomeComponent.vue | 12 ++--- .../retailer/home/PostScriptBlog.scss | 10 ++-- .../retailer/home/PostScriptBlog.vue | 4 +- .../ConfiguredProductDetailComponent.vue | 8 +--- .../GiftCardDetailsComponent.vue | 6 +-- .../product-detail/ProductDetailComponent.vue | 6 +-- .../retailer/search/SearchProducts.vue | 4 +- .../ShippingAndDeliveryComponent.vue | 8 ++-- src/routes/gate/reset.password.vue | 2 +- src/routes/gate/signup.vue | 2 +- src/routes/retailer/address_book.vue | 7 ++- src/routes/retailer/product_page.vue | 2 +- vite.config.js | 11 +++-- yarn.lock | 46 ++++++++++++++++++- 20 files changed, 106 insertions(+), 62 deletions(-) diff --git a/.env.daily b/.env.daily index f745c09..cddabca 100644 --- a/.env.daily +++ b/.env.daily @@ -1,7 +1,8 @@ +NODE_ENV=production VITE_APP_MAGENTO_API_URL=https://m2-stg.crane.com VITE_APP_CRANE_URL=/shop VITE_APP_GATE_URL=/gate -VITE_APP_ME_URL=/retailer +VITE_APP_ME_URL=/b2b VITE_APP_LOGIN_URL=/gate/sign-in VITE_APP_PERSONALIZE_URL=https://personalize-daily.crane.com/personalize VITE_APP_PROVISION_URL=http://manager-daily.crane.com/manager diff --git a/package.json b/package.json index 5568959..2f5fa95 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,10 @@ "copy:git-info": "node copyGitInfo.js", "index-catalog": "node indexCatalog.js", "build": "vite build", - "build:daily": "NODE_ENV=production vite build --mode daily", + "build:daily": "AWS_PROFILE=crane NODE_ENV=production vite build --mode daily --debug", "build:staging": "NODE_ENV=production vite build --mode staging", "build:production": "NODE_ENV=production vite build --mode production", - "deploy:daily": "AWS_PROFILE=crane vite s3-deploy --mode daily", + "deploy:daily": "AWS_PROFILE=crane vite s3-deploy --mode daily --debug", "deploy:production": "AWS_PROFILE=crane vite s3-deploy --mode production", "deploy:staging": "AWS_PROFILE=crane vite s3-deploy --mode staging", "lint": "vite lint" @@ -30,7 +30,6 @@ "js-base64": "^2.5.1", "lodash-humps": "^3.1.5", "vite-plugin-s3": "^0.3.0", - "vite-plugin-vuetify": "^1.0.2", "vue": "^3.2.47", "vue-meta": "^2.4.0", "vue-router": "4", @@ -46,6 +45,7 @@ "devDependencies": { "@vitejs/plugin-vue": "^4.1.0", "vite-plugin-vuetify": "^1.0.2", + "vite-plugin-webpackchunkname":"^0.2.4", "babel-eslint": "^10.0.3", "eslint": "^7.32.0", "eslint-plugin-vue": "^8.0.3", diff --git a/src/components/layout/hero-image/HeroContainer.scss b/src/components/layout/hero-image/HeroContainer.scss index cdfb5ba..ac356e2 100644 --- a/src/components/layout/hero-image/HeroContainer.scss +++ b/src/components/layout/hero-image/HeroContainer.scss @@ -82,19 +82,19 @@ } .home-right-icon { - background-image: url('../../../assets/right-arrow.png'); + background-image: url('@/assets/right-arrow.png'); max-width: 22px; height: 24px; } .home-right-hover-icon { - background-image: url('../../../assets/right-hover-arrow.png'); + background-image: url('@/assets/right-hover-arrow.png'); max-width: 22px; height: 24px; } .homepage-route-link:active .home-right-hover-icon { - background-image: url('../../../assets/right-arrow.png'); + background-image: url('@/assets/right-arrow.png'); max-width: 22px; height: 24px; } diff --git a/src/components/retailer/category/CategoryBaseProducts.vue b/src/components/retailer/category/CategoryBaseProducts.vue index f7e578c..6804411 100644 --- a/src/components/retailer/category/CategoryBaseProducts.vue +++ b/src/components/retailer/category/CategoryBaseProducts.vue @@ -565,11 +565,14 @@