From 822c61b9823048e9f2fe1e629d418b35ab05c9c3 Mon Sep 17 00:00:00 2001 From: rakesh Date: Wed, 19 Apr 2023 11:53:53 +0530 Subject: [PATCH] fixes ui in vue3 --- .env.custom | 8 +- .env.development | 4 +- .env.production | 13 +- index.html | 84 ++++ package.json | 3 +- public/index.html | 5 +- src/App.vue | 1 - src/components/common/ConfirmationDialog.vue | 12 +- src/components/common/SubscriptionDialog.vue | 6 +- src/components/gate/GateLayout.vue | 6 +- src/components/layout/Layout.vue | 12 +- src/components/layout/NavigationBar.vue | 2 +- .../layout/footer/FooterComponent.vue | 4 +- src/components/layout/header/Header.vue | 34 +- .../header/NavigationDrawerComponent.vue | 4 +- .../layout/hero-image/HeroContainer.vue | 4 +- .../retailer/cart-product/CartProductList.vue | 8 +- .../category/CategoryBaseProducts.vue | 22 +- .../retailer/category/CategoryHeroContent.vue | 22 +- .../gift-guide/GiftGuideComponent.vue | 4 +- .../retailer/home/HomeComponent.vue | 4 +- .../retailer/home/PostScriptBlog.vue | 4 +- src/components/retailer/layout/Layout.vue | 8 +- .../retailer/layout/NavigationBar.vue | 2 +- .../retailer/layout/header/Header.vue | 10 +- .../ConfiguredProductDetailComponent.vue | 8 +- .../GiftCardDetailsComponent.vue | 6 +- .../product-detail/ProductDetailComponent.vue | 8 +- .../RecentlyViewedComponent.vue | 16 +- .../RelatedProductsComponent.vue | 16 +- .../RetailerSearchProducts.vue | 12 +- .../retailer/search/SearchProducts.vue | 18 +- .../ShippingAndDeliveryComponent.vue | 2 +- src/main.js | 44 +- src/multipages/gate.routes.js | 7 +- src/multipages/index.js | 24 +- src/multipages/retailer.routes.js | 7 +- src/plugins/vuetify.js | 19 - src/plugins/vuetify/defaults.js | 119 +++++ src/plugins/vuetify/index.js | 15 + src/plugins/vuetify/theme.js | 58 +++ src/routes/gate/signin.vue | 2 +- src/routes/retailer/address_book.vue | 20 +- src/routes/retailer/cart_products.vue | 10 +- src/routes/retailer/category_page.vue | 8 +- src/routes/retailer/checkout_page.vue | 16 +- src/routes/retailer/edit_account_info.vue | 2 +- src/routes/retailer/maintenance.vue | 4 +- src/routes/retailer/my_orders.vue | 6 +- src/routes/retailer/order_success.vue | 4 +- src/routes/retailer/product_page.vue | 18 +- src/routes/retailer/route_not_found.vue | 4 +- src/routes/retailer/search_page.vue | 8 +- src/services/auth.js | 19 +- src/services/block.service.js | 2 +- src/services/gate.service.js | 2 +- src/services/image.service.js | 4 +- src/services/nav.js | 28 +- src/services/product.service.js | 12 +- src/services/registration.service.js | 4 +- src/services/search.service.js | 10 +- src/services/user.service.js | 10 +- src/services/user_cart.service.js | 29 +- src/services/util.service.js | 5 +- src/stores/index.js | 15 +- src/stores/retailer/account.one.js | 15 +- src/stores/retailer/product.list.js | 27 +- src/stores/retailer/user_cart.one.js | 19 - src/styles/_app.scss | 3 - src/styles/custom_functions.scss | 11 - src/styles/overrides.scss | 436 ------------------ src/styles/variables1.scss | 5 - vue.config.js => vite.config.js | 6 +- yarn.lock | 138 +++++- 74 files changed, 707 insertions(+), 860 deletions(-) create mode 100644 index.html delete mode 100644 src/plugins/vuetify.js create mode 100644 src/plugins/vuetify/defaults.js create mode 100644 src/plugins/vuetify/index.js create mode 100644 src/plugins/vuetify/theme.js delete mode 100644 src/styles/_app.scss delete mode 100644 src/styles/custom_functions.scss delete mode 100644 src/styles/overrides.scss delete mode 100644 src/styles/variables1.scss rename vue.config.js => vite.config.js (97%) diff --git a/.env.custom b/.env.custom index a564fbb..023cc35 100644 --- a/.env.custom +++ b/.env.custom @@ -18,4 +18,10 @@ VITE_APP_IMAGE_CATEGORY_PARAMS=?height=600&width=600 VITE_APP_IMAGE_LIB_URL=https://imagelib-api.crane.com VITE_APP_CRANE_ORDER_URL=https://order.crane.com VITE_APP_BASE_URL=https://www.crane.com -VITE_APP_RP_AUTH_NAME=rp_auth_stg \ No newline at end of file +VITE_APP_RP_AUTH_NAME=rp_auth_stg + +VITE_ACCESS_KEY_ID=AKIAsXBHFRMEXHWQCPJGN +VITE_SECRET_ACCESS_KEY=MPsiVn466VRgFKDLIm//Ys9/2GH/xgMvSjGecr4el +VITE_S3_REGION=us-east-1 +VITE_S3_BUCKET=retailer-edge-daily-website-bucket +VITE_CLOUDFRONT_ID=E1NGW2VX0JV40Ws \ No newline at end of file diff --git a/.env.development b/.env.development index 407b199..26f3733 100644 --- a/.env.development +++ b/.env.development @@ -27,5 +27,5 @@ VITE_APP_RP_AUTH_NAME=rp_auth_stg VITE_ACCESS_KEY_ID=AKIAsXBHFRMEXHWQCPJGN VITE_SECRET_ACCESS_KEY=MPsiVn466VRgFKDLIm//Ys9/2GH/xgMvSjGecr4el VITE_S3_REGION=us-east-1 -VITE_S3_BUCKET=assets-edge-daily-website-bucket -VITE_CLOUDFRONT_ID=EJ6BUC5VUXA6Z \ No newline at end of file +VITE_S3_BUCKET=retailer-edge-daily-website-bucket +VITE_CLOUDFRONT_ID=E1NGW2VX0JV40W \ No newline at end of file diff --git a/.env.production b/.env.production index a9c8c0e..29d29e5 100644 --- a/.env.production +++ b/.env.production @@ -16,11 +16,14 @@ VITE_APP_MAINTENANCE_MODE=false VITE_APP_MAINTENANCE_PAGE_URL=/maintenance VITE_APP_IMAGE_CATEGORY_PARAMS=?height=600&width=600 VITE_APP_CRANE_ORDER_URL=https://ordertest.crane.com - -DEPLOY_S3_REGION=us-east-1 -DEPLOY_S3_BUCKET=retailer-edge-production-website-bucket -DEPLOY_CLOUDFRONT_ID=E1WSOW180GVD3S + VITE_APP_ASSETS_NODESLS_URL=https://assets-sls.crane.com VITE_APP_IMAGE_LIB_URL=https://imagelib-api.crane.com VITE_APP_BASE_URL=https://retailer.crane.com -VITE_APP_RP_AUTH_NAME=rp_auth_prod \ No newline at end of file +VITE_APP_RP_AUTH_NAME=rp_auth_prod + +VITE_ACCESS_KEY_ID=AKIAsXBHFRMEXHWQCPJGN +VITE_SECRET_ACCESS_KEY=MPsiVn466VRgFKDLIm//Ys9/2GH/xgMvSjGecr4el +VITE_S3_REGION=us-east-1 +VITE_S3_BUCKET=retailer-edge-daily-website-bucket +VITE_CLOUDFRONT_ID=E1NGW2VX0JV40W \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..6ac74e2 --- /dev/null +++ b/index.html @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + Crane Stationery + + + + + + + +
+ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/package.json b/package.json index f0b8332..77e891f 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,7 @@ "private": true, "scripts": { "serve": "vite serve --port 8092", - - "serve:daily": "NODE_ENV=staging vite --mode development --port 8092", + "serve:daily": "vite --mode daily --port 8092", "serve:custom": "vite serve --mode custom --port 8092", "serve:development": "vite serve --mode development --port 8092", "serve:staging": "vite serve --mode staging --port 8092", diff --git a/public/index.html b/public/index.html index ef41e08..6ac74e2 100644 --- a/public/index.html +++ b/public/index.html @@ -24,8 +24,9 @@
- - + + + -