From 6c6f8ad72bc10b6c978d215df34bd698c8e65e52 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 14 May 2024 03:05:40 +0530 Subject: [PATCH 1/2] feature_of_wishlist_added --- src/App.jsx | 13 ++++ src/Components/Navbar.jsx | 10 +++ src/Components/ProductDisplay.jsx | 15 +++- src/Components/SavedItems.jsx | 109 ++++++++++++++++++++++++++++++ src/Context/SavedContext.jsx | 75 ++++++++++++++++++++ src/Pages/WishList.jsx | 13 ++++ src/assets/wishlist_icon.png | Bin 0 -> 3900 bytes src/main.jsx | 6 +- 8 files changed, 239 insertions(+), 2 deletions(-) create mode 100644 src/Components/SavedItems.jsx create mode 100644 src/Context/SavedContext.jsx create mode 100644 src/Pages/WishList.jsx create mode 100644 src/assets/wishlist_icon.png diff --git a/src/App.jsx b/src/App.jsx index 557f163..4927037 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -10,6 +10,7 @@ import Login from "./Pages/Login"; import Product from "./Pages/Product"; import Shop from "./Pages/Shop"; import ShopCategory from "./Pages/ShopCategory"; +import Saved from "./Pages/WishList" import "./index.css"; import Signup from "./Pages/Signup"; @@ -27,11 +28,14 @@ const App = () => { } /> } /> } /> + } /> ); }; + + const LoginWithFooter = () => ( <> @@ -67,4 +71,13 @@ const ShopCategoryWithFooter = ({ banner, category }) => ( ); +const WishlistWithFooter=()=>( + + <> + +