From 8706c705b66406c22d1dad87fa9706d459145f09 Mon Sep 17 00:00:00 2001 From: Rishi Mondal <146999057+MAVRICK-1@users.noreply.github.com> Date: Thu, 23 May 2024 18:37:24 +0530 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20"feat=20#199=20:=20implement?= =?UTF-8?q?=20the=20shipping=20Addresses=20feature=20(#209)"=20=E2=80=A6"?= =?UTF-8?q?=20(#217)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a983b908c06a1e70176943302689846d54f789a1. --- package.json | 1 + src/App.js | 16 +- src/components/AccountDetails/Account.js | 137 +++++++++-- .../ShippingAddress/AddressData.jsx | 49 ++++ src/components/ShippingAddress/Shipping.css | 113 +++++++++ .../ShippingAddress/ShippingForm.jsx | 216 ++++++++++++++++++ src/components/footer/footer.js | 2 +- src/components/header/header.js | 10 +- src/components/header/nav/nav.css | 2 +- src/components/header/nav/nav.js | 2 +- src/components/search/SearchResults.jsx | 150 ++++++------ src/pages/About/about.css | 4 +- src/pages/About/index.js | 2 +- src/pages/Compare/index.js | 127 +++++----- src/pages/Compare/style.css | 152 ++++++------ src/pages/Details/index.js | 14 +- src/pages/Home/style.css | 2 +- src/pages/ResetPassword/index.js | 2 +- src/pages/ResetPassword/style.css | 2 +- src/pages/SignIn/index.js | 2 +- src/pages/wishList/index.js | 2 +- src/useFetchData.js | 2 +- 22 files changed, 749 insertions(+), 260 deletions(-) create mode 100644 src/components/ShippingAddress/AddressData.jsx create mode 100644 src/components/ShippingAddress/Shipping.css create mode 100644 src/components/ShippingAddress/ShippingForm.jsx diff --git a/package.json b/package.json index 6a50fcd..f664376 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@testing-library/user-event": "^13.5.0", "axios": "^1.5.1", "bootstrap": "^4.6.2", + "country-state-city": "^3.2.1", "custom-react-inner-image-zoom": "^3.0.6", "firebase": "^10.8.0", "leaflet": "^1.9.4", diff --git a/src/App.js b/src/App.js index 8c718ab..c6d4429 100644 --- a/src/App.js +++ b/src/App.js @@ -24,6 +24,8 @@ import MapComponent from './components/map/ITEMmap'; import { db } from './firebase'; import SellerForm from './pages/SellerRegistration'; import SearchResults from './components/search/SearchResults'; +import Shipping from './components/ShippingAddress/ShippingForm'; +import { Account } from './components/AccountDetails/Account'; const MyContext = createContext(); @@ -291,6 +293,18 @@ function App() { } /> {/* search route */} } /> + + } + /> + } + /> + } />