From 0b9d65782dda0bc615b47d4f47b6c8d52f28ea10 Mon Sep 17 00:00:00 2001 From: nikhildeora Date: Fri, 20 Jan 2023 22:58:21 +0530 Subject: [PATCH 1/4] yes --- db.json | 594 ++++++++++++++++- src/App.js | 2 +- src/assets/findstoreimg.png | Bin 0 -> 24938 bytes src/components/AllRoutes.jsx | 4 +- src/components/Arrival/Arrival.jsx | 214 ++++--- src/components/Arrival/Arrival.module.css | 210 ++---- src/components/Homepage/Homepage.jsx | 4 + src/components/Navbar/Navbar.jsx | 28 +- src/components/Navbar/navbar.module.css | 38 +- .../SingleProduct/SingleProduct.jsx | 51 ++ .../SingleProduct/singleproduct.module.css | 51 ++ src/components/loginsignup/Detail.jsx | 3 + src/db.json | 601 ------------------ 13 files changed, 918 insertions(+), 882 deletions(-) create mode 100644 src/assets/findstoreimg.png create mode 100644 src/components/SingleProduct/SingleProduct.jsx create mode 100644 src/components/SingleProduct/singleproduct.module.css delete mode 100644 src/db.json diff --git a/db.json b/db.json index f2ae48d..381c893 100644 --- a/db.json +++ b/db.json @@ -1,19 +1,593 @@ { - "posts": [ + "jewellery": [ { "id": 1, - "title": "json-server", - "author": "typicode" + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03126-WGP900_11_listfront.jpg", + "price": 61481, + "name": "Emma Flora Diamond Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + }, + { + "id": 2, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07311-1YP6P0_11_listfront.jpg", + "price": 35176, + "name": "Mutyaa Pearl Ring", + "shipping": "Sold by BHFO", + "star": 3, + "category": "rings" + }, + { + "id": 3, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07313-1YP6P0_11_listfront.jpg", + "price": 44612, + "name": "Muktya Dual Pearl Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "rings" + }, + { + "id": 4, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03673-PTP900_11_listfront.jpg", + "price": 31205, + "name": "Jack Platinum Ring for Men", + "shipping": "Sold by BHFO", + "star": 3, + "category": "rings" + }, + { + "id": 5, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07315-1YP6P0_11_listfront.jpg", + "price": 69949, + "name": "Malaya Pearl Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + }, + { + "id": 6, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/R/UR00473-PT0000_11_listfront.jpg", + "price": 40022, + "name": "Ben Platinum Band for Men", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + }, + { + "id": 7, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07312-1YP6P0_11_listfront.jpg", + "price": 59867, + "name": "Meher Pearl Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + }, + { + "id": 8, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07508-1YP6P0_11_listfront.jpg", + "price": 42472, + "name": "Pearly Twig Ring", + "shipping": "Sold by BHFO", + "star": 2, + "category": "rings" + }, + { + "id": 9, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/R/UR00214-YG0000_11_listfront.jpg", + "price": 48060, + "name": "Romeo Gold Band for Men", + "shipping": "Sold by BHFO", + "star": 5, + "category": "rings" + }, + { + "id": 10, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02496-WGP4HA_11_listfront.jpg", + "price": 142668, + "name": "Inaya Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "rings" + }, + { + "id": 11, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07603-1YP6P0_11_listfront.jpg", + "price": 35795, + "name": "Moiz Pearl Drop Earrings ", + "shipping": "Sold by BHFO", + "star": 3, + "category": "earrings" + }, + { + "id": 12, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07601-1YP6P0_11_listfront.jpg", + "price": 118833, + "name": "Madesha Drop Earrings", + "shipping": "Sold by BHFO", + "star": 2, + "category": "earrings" + }, + { + "id": 13, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE06891-1YP600_11_listfront.jpg", + "price": 40963, + "name": "Borja Diamond Stud Earrings", + "shipping": "Sold by BHFO", + "star": 5, + "category": "earrings" + }, + { + "id": 14, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07813-1YP6P0_11_listfront.jpg", + "price": 58952, + "name": "Swirl Pearl Drop Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "earrings" + }, + { + "id": 15, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE06694-1YP600_11_listfront.png", + "price": 36266, + "name": "Siria Diamond Stud Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "earrings" + }, + { + "id": 16, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07604-1YP6P0_11_listfront.jpg", + "price": 40402, + "name": "Meghraa Pearl Drop Earrings", + "shipping": "Sold by BHFO", + "star": 2, + "category": "earrings" + }, + { + "id": 17, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07606-1YP6P0_11_listfront.jpg", + "price": 44097, + "name": "Mehek Pearl Hoop Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "earrings" + }, + { + "id": 18, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE04937-1RP900_11_listfront.jpg", + "price": 8973, + "name": "Amira Leaf Diamond Drop Earrings", + "shipping": "Sold by BHFO", + "star": 5, + "category": "earrings" + }, + { + "id": 19, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07812-1YP6P0_11_listfront.jpg ", + "price": 51669, + "name": "Bell Pearl Drop Earrings ", + "shipping": "Sold by BHFO", + "star": 5, + "category": "earrings" + }, + { + "id": 20, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/E/SE00019-WGP900_11_listfront.jpg", + "price": 98049, + "name": "Celeste Solitaire Stud Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "earrings" + }, + { + "id": 21, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00702-1Y0000_11_listfront.jpg", + "price": 6692, + "name": "Chopper Personalised Kids' Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "bracelet" + }, + { + "id": 22, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01374-1YP600_11_listfront.jpg", + "price": 11660, + "name": "Pretty Classic Diamond Bracelet", + "shipping": "Sold by BHFO", + "star": 3, + "category": "bracelet" + }, + { + "id": 23, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01725-1YP6P0_11_listfront.jpg", + "price": 30689, + "name": "Pearly Dangle Diamond Bracelet", + "shipping": "Sold by BHFO", + "star": 5, + "category": "bracelet" + }, + { + "id": 24, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00842-1Y0000_11_listfront.jpg", + "price": 7643, + "name": "Butterflies Baby Nazaria Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 3, + "category": "bracelet" + }, + { + "id": 25, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00997-1Y0000_11_listfront.jpg", + "price": 91210, + "name": "Peppa Fairy Kids' Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "bracelet" + }, + { + "id": 26, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01727-1YP6P0_11_listfront.jpg", + "price": 98341, + "name": "Mohana Pearl Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "bracelet" + }, + { + "id": 27, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00753-1C0000_11_listfront.jpg", + "price": 11632, + "name": "Celestial Adjustable Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "bracelet" + }, + { + "id": 28, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00843-1Y0000_11_listfront.jpg", + "price": 8700, + "name": "Car Baby Nazaria Gold Bracelet", + "shipping": "Sold bye BHFO", + "star": 2, + "category": "bracelet" + }, + { + "id": 29, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00989-1YP600_11_listfront.jpg", + "price": 14533, + "name": "Sway Diamond Adjustable Bracelet", + "shipping": "Sold by BHFO", + "star": 5, + "category": "bracelet" + }, + { + "id": 30, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01127-1YP900_12_listhover.jpg", + "price": 34341, + "name": "Nazia Sparkle Diamond Bracelet", + "shipping": "Sold by BHFO", + "star": 5, + "category": "bracelet" + }, + { + "id": 31, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03331-YGP900_11_listfront.jpg", + "price": 97685, + "name": "Prin Diamond Solitaire Ring ", + "shipping": "Sold by BHFO", + "star": 3, + "category": "solitaire" + }, + { + "id": 32, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02226-YGP900_11_listfront.jpg", + "price": 91268, + "name": "Mark Solitaire Ring for Men", + "shipping": "Sold by BHFO", + "star": 2, + "category": "solitaire" + }, + { + "id": 33, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02271-WGP900_11_listfront.jpg", + "price": 112904, + "name": "Eleanor Hoop Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "solitaire" + }, + { + "id": 34, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03304-RGP900_11_listfront.jpg", + "price": 90320, + "name": "Proz Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "solitaire" + }, + { + "id": 35, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02040-PT0000_11_listfront.jpg", + "price": 85708, + "name": "Precious Platinum Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "solitaire" + }, + { + "id": 36, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR00134-YGP900_11_listfront.jpg", + "price": 123749, + "name": "Turia Solitaire Ring for Men", + "shipping": "Sold by BHFO", + "star": 2, + "category": "solitaire" + }, + { + "id": 37, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03302-YGP900_11_listfront.jpg", + "price": 54260, + "name": "Mold Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "solitaire" + }, + { + "id": 38, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03004-YGP900_11_listfront.jpg", + "price": 68638, + "name": "Indea Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "solitaire" + }, + { + "id": 39, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02279-WGP900_11_listfront.jpg", + "price": 184390, + "name": "Cristina Quad Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "solitaire" + }, + { + "id": 40, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03324-YGP900_11_listfront.jpg", + "price": 114390, + "name": "Emmo Diamond Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "solitaire" + }, + { + "id": 41, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01113-1YP900_11_listfront.jpg", + "price": 23599, + "name": "Milda Infinity Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 4, + "category": "mangalsutra" + }, + { + "id": 42, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01071-1YP900_11_listfront.jpg", + "price": 59029, + "name": "Paavi Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 3, + "category": "mangalsutra" + }, + { + "id": 43, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01094-1YP900_11_listfront.jpg", + "price": 24127, + "name": "Zuri Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 5, + "category": "mangalsutra" + }, + { + "id": 44, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00735-1YP600_11_listfront.jpg", + "price": 41697, + "name": "Dikshita Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 3, + "category": "mangalsutra" + }, + { + "id": 45, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01091-1YP900_11_listfront.jpg", + "price": 25537, + "name": "Shomili Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 4, + "category": "mangalsutra" + }, + { + "id": 46, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00298-YGP600_11_listfront.jpg", + "price": 42554, + "name": "Aashika Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 4, + "category": "mangalsutra" + }, + { + "id": 47, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01095-1YP900_11_listfront.jpg", + "price": 29551, + "name": "Freya Infinity Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 4, + "category": "mangalsutra" + }, + { + "id": 48, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00891-1YP900_11_listfront.jpg", + "price": 56173, + "name": "Eka Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 2, + "category": "mangalsutra" + }, + { + "id": 49, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01112-1YP600_11_listfront.jpg", + "price": 30758, + "name": "Aaliya Infinity Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 5, + "category": "mangalsutra" + }, + { + "id": 50, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00296-RGP600_11_listfront.jpg", + "price": 40637, + "name": "Vyoma Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 5, + "category": "mangalsutra" + }, + { + "id": 51, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00816-YG0000_11_listfront.jpg", + "price": 14074, + "name": "Om Baby Nazaria Gold Bracelet Set of 2 ", + "shipping": "Sold by BHFO", + "star": 3, + "category": "kids" + }, + { + "id": 52, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04855-1Y0000_11_listfront.jpg", + "price": 3433, + "name": "Flutter Beam Kids' Gold Earrings", + "shipping": "Sold by BHFO", + "star": 2, + "category": "kids" + }, + { + "id": 53, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/P/JP03456-YGP900_11_listfront.jpg", + "price": 17117, + "name": "Bal Hanuman Kids' Diamond Pendant", + "shipping": "Sold by BHFO", + "star": 5, + "category": "kids" + }, + { + "id": 54, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04499-1Y0000_11_listfront.jpg", + "price": 5800, + "name": "Magical Unicorn Kids' Gold Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "kids" + }, + { + "id": 55, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00739-1RP9RS_11_listfront.jpg", + "price": 13104, + "name": "Tiara Kids' Gemstone Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "kids" + }, + { + "id": 56, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00168-YG0000_11_listfront.jpg", + "price": 8359, + "name": "Ornate Om Baby Nazaria Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 2, + "category": "kids" + }, + { + "id": 57, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04852-1Y0000_11_listfront.jpg", + "price": 2620, + "name": "Little Star Kids' Gold Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "kids" + }, + { + "id": 58, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00742-1YP600_11_listfront.jpg", + "price": 11919, + "name": "Bumblebee Kids' Diamond Bracelet", + "shipping": "Sold by BHFO", + "star": 5, + "category": "kids" + }, + { + "id": 59, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04655-1Y0000_11_listfront.jpg", + "price": 5635, + "name": "Enchanted Unicorn Kids' Gold Earrings ", + "shipping": "Sold by BHFO", + "star": 5, + "category": "kids" + }, + { + "id": 60, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04660-1Y0000_11_listfront.jpg", + "price": 5258, + "name": "Pink Strawberry Kids' Stud Gold Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "kids" } ], - "comments": [ + "cart": [ { - "id": 1, - "body": "some comment", - "postId": 1 + "id": 31, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03331-YGP900_11_listfront.jpg", + "price": 97685, + "name": "Prin Diamond Solitaire Ring ", + "shipping": "Sold by BHFO", + "star": 3, + "category": "solitaire" + }, + { + "id": 2, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07311-1YP6P0_11_listfront.jpg", + "price": 35176, + "name": "Mutyaa Pearl Ring", + "shipping": "Sold by BHFO", + "star": 3, + "category": "rings" + }, + { + "id": 21, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00702-1Y0000_11_listfront.jpg", + "price": 6692, + "name": "Chopper Personalised Kids' Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "bracelet" } ], - "profile": { - "name": "typicode" - } + "wishlist": [ + { + "id": 1, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03126-WGP900_11_listfront.jpg", + "price": 61481, + "name": "Emma Flora Diamond Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + }, + { + "id": 5, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07315-1YP6P0_11_listfront.jpg", + "price": 69949, + "name": "Malaya Pearl Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + } + ] } \ No newline at end of file diff --git a/src/App.js b/src/App.js index 667f8e2..ba7c7e1 100644 --- a/src/App.js +++ b/src/App.js @@ -20,7 +20,7 @@ function App() {
- + {/* */} diff --git a/src/assets/findstoreimg.png b/src/assets/findstoreimg.png new file mode 100644 index 0000000000000000000000000000000000000000..fe5137fbab7185b136b3e707a465e694bb17c995 GIT binary patch literal 24938 zcmeFZXH-+$*EfpCqj*F>M2du>2L%-YBhm?|2&gm>=@6QTNbjAX9BL>EQltt<@4XWg zl1L3bNR@=%LTDkRy#devxnJ)6@Qi!!`{jN17!0!8+Iy`v=Ul(}n{)2S=UQsa=XuUE zFfcGbee(DP0|R3)1H&o8xwG^m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aR`}f?GY5ZhTmJ1ld&r#LuaNl*bOMBgCJ}l5#4nibfwPh1F|K zzyhHzZf+{1*y{Aoq=}wGok#5B;&vc?pj@*XK2PlXQ{k$CQA znmfZ%>?f8H<5hRD0&h7t_2^78m{pu!RL0z@4g?@;K_6nZp~cm@oe$T1mi$!TKGy!h z&L8qdp)e@#5Sv7Wf7C}3u~swck#D^61uMJ68w^yKa1OEw7b1Xv+bCM-n)nq2_uoz^0vT|9j29 zcbfnNedpkR?D_56|JykK{}U7cpT`vx{ww6;Z)4?qwCC>W9#}fIohsVdI-aXLbLrQA E0TCl=i~s-t literal 0 HcmV?d00001 diff --git a/src/components/AllRoutes.jsx b/src/components/AllRoutes.jsx index 5e81ee1..d68f1d1 100644 --- a/src/components/AllRoutes.jsx +++ b/src/components/AllRoutes.jsx @@ -15,8 +15,8 @@ const AllRoutes = () => { } /> } /> } /> - } /> - } /> + } /> + } /> ) } diff --git a/src/components/Arrival/Arrival.jsx b/src/components/Arrival/Arrival.jsx index d65c2ce..aa889d2 100644 --- a/src/components/Arrival/Arrival.jsx +++ b/src/components/Arrival/Arrival.jsx @@ -1,95 +1,159 @@ import React from 'react' -import { Box,Text, Image, Checkbox} from '@chakra-ui/react' +import { Box, Text, Image, Checkbox } from '@chakra-ui/react' import Styles from "./Arrival.module.css" import { Select } from '@chakra-ui/react' import { useState } from 'react' import { useEffect } from 'react' +import { useParams } from 'react-router-dom' +import findstore from "../../assets/findstoreimg.png" +import SingleProduct from '../SingleProduct/SingleProduct' +import { async } from 'q' function Arrival() { - let[data,setData]=useState([]); + + let [data, setData] = useState([]); + const { category } = useParams(); + const [heroimg, setHeroimg] = useState("") + const [pselect,setPselect] = useState(1) +const [categ,setCateg] = useState("all") - const getData=async()=>{ - let resp=await fetch(` http://localhost:8080/jewellery`); - let apiData=await resp.json(); - setData(apiData) + useEffect(() => { + if (category === "all") { + setHeroimg("https://cdn.caratlane.com/media/static/images/V4/2022/CL/12-DEC/AppBanner/Newin/05/Desktop_1920-x560_toplisting.jpg") + setCateg("all") + } else if (category === "rings") { + setHeroimg("https://banner.caratlane.com/live-images/10c2cf82f2ad425b960f2587933652a7.jpg") + setCateg("rings") + } else if (category === "earrings") { + setHeroimg("https://banner.caratlane.com/live-images/4320a30823014770b49d6c35ba3508c9.jpg") + setCateg("earrings") + } else if (category === "bracelet") { + setHeroimg("https://banner.caratlane.com/live-images/dab8c9bccb50479fbad968e7ea6ea450.webp") + setCateg("bracelet") + } else if (category === "solitaire") { + setHeroimg("https://banner.caratlane.com/live-images/9aeed0015ab544ce98770daec556e90b.jpg") + setCateg("solitaire") + } else if (category === "mangalsutra") { + setHeroimg("https://banner.caratlane.com/live-images/ed19e9fc6ddd4de592b67776543499c1.jpg") + setCateg("mangalsutra") + } else if (category === "kids") { + setHeroimg("https://banner.caratlane.com/live-images/2f288a36fca243239f60f94730c6b49c.webp") + setCateg("kids") + } else if (category === "ready") { + setHeroimg("https://cdn.caratlane.com/media/static/images/V4/2022/CL/12-DEC/AppBanner/RTS/02/Desktop_1920-x560_toplisting.jpg") + setCateg("all") + } else if (category === "gifts") { + setHeroimg("https://banner.caratlane.com/live-images/5d89e218eb56457c9814f8e2f7b8b6ec.jpg") + setCateg("all") + } else if (category === "findstore") { + setHeroimg(findstore) + setCateg("all") } - useEffect(()=>{ - getData() - },[]) - console.log(data) + const getData = async () => { + let resp; + if (category === "all" || category === "ready" || category === "gifts" || category === "findstore") { + resp = await fetch(`http://localhost:8080/jewellery`); + } else { + resp = await fetch(`http://localhost:8080/jewellery?category=${category}`); + } + let apiData = await resp.json(); + setData(apiData) + } + getData() + setPselect(1) + }, [category]) + +async function sorrtbygte(gte,lte){ + if(gte===0){ + setPselect(1) + }else if(gte===5000){ + setPselect(2) + }else if(gte===10000){ + setPselect(3) + }else if(gte===20000){ + setPselect(4) + }else if(gte===30000){ + setPselect(5) + }else if(gte===40000){ + setPselect(6) + } + + + let resp; + if (category === "all" || category === "ready" || category === "gifts" || category === "findstore") { + resp = await fetch(`http://localhost:8080/jewellery?price_gte=${gte}&price_lte=${lte}`); + setCateg("all") + } else { + resp = await fetch(`http://localhost:8080/jewellery?category=${category}&price_gte=${gte}&price_lte=${lte}`); + } + let apiData = await resp.json(); + setData(apiData) + +} + +async function changeCateg(switchcateg){ + + if (category === "all" || category === "ready" || category === "gifts" || category === "findstore") { + let res = await fetch(`http://localhost:8080/jewellery?category=${switchcateg}`); + let apiData = await res.json(); + setData(apiData) + setCateg(switchcateg) + setPselect(1) + } + +} + return ( -
-
- - Dan Abramov - -
- - - {/* sliding data */} - {/* - -

15 Day Money Back

-
-
*/} - {/* data */} - -
-
-
Filter By
-
Price
-
-

₹ 5000- ₹ 10000

-

₹ 100001- ₹ 20000

-

₹ 200001- ₹ 30000

-

₹ 300001- ₹ 40000

-

₹ 400001- ₹ 50000

-
- -
Product
-
-

Rings

-

Earrings

-

Bracelets

-

Solitaires

-

Manglasutra

-

Kids

-
-
-
- - { - data.map((el)=>( -
- {/* da */} - im -
- ₹ : {el.price} - {el.name} -
-
-
- - -
-
-
- )) - } - - -
-
- - +
+
+ + Dan Abramov + + +
+ + +
+
+

Filter By

+
+

Price

+ + + + + + +
+
+

Category

+ + + + + + +
+
+
+ {data?.map((el)=>( + + ))} +
+
+ + +
) } -export default Arrival \ No newline at end of file +export default Arrival + + diff --git a/src/components/Arrival/Arrival.module.css b/src/components/Arrival/Arrival.module.css index c4f127a..e842a2a 100644 --- a/src/components/Arrival/Arrival.module.css +++ b/src/components/Arrival/Arrival.module.css @@ -1,186 +1,58 @@ -.filterbar{ +.arrival__maindiv{ + width: 93%; + gap: 3rem; + margin: auto; display: flex; - gap: 30px; - padding: 25px 18px; + margin-top: 2rem; + margin-bottom: 2rem; } -.filterContainer{ - display: flex; - justify-content: space-between; - background-image: linear-gradient(to right, rgb(255, 246, 200) 0%, rgb(255, 215, 245) 48%, rgb(190, 179, 255) 100%); + +.arrival__sortdiv{ + flex : 2; + box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; + padding-bottom: 1.6rem; + height: fit-content; + border-radius: 1.4rem; } -.selectData{ - display: flex; - /* justify-content: flex-start; */ - margin: 15px 0px; - - /* padding-right: 12px; */ + +.arrival__sortdiv button{ + width: 70%; + margin: auto; + display: block; + border: 1px solid rgb(222, 87, 229); + padding: 0.3rem 0rem; + margin: 0.4rem auto; + border-radius: 1rem; } -.sidebar{ - display: flex; - flex-direction: column; +.arrival__sortdiv button:hover{ + background: linear-gradient(to right, rgb(222, 87, 229) 0%, rgb(136, 99, 251) 100%) 0px 0px / auto; } -.Data_container{ - display: grid; - grid-template-columns: 30% 70%; - -} -.box{ - /* background-color: rebeccapurple; */ +.arrival__datadiv{ + flex: 7; display: grid; grid-template-columns: repeat(3,1fr); - gap:10px; -} -.selectOption{ - display: flex; - flex-direction: column; + gap: 2rem; } -.filterByPrice { - - display: flex; - flex-direction: column; - row-gap: 15px; -} -.Priceheading{ - color: black; - font-weight: 500; - font-size: 22px; - margin-top: 15px; - margin-bottom: 15px; - /* background-color: lightgray; */ - display: inline; - -} -.priceData{ - font-size: larger; - line-height: 30px; - - /* background-color: blueviolet; */ -} -.priceData p{ - /* background-color: aquamarine ; */ - margin-bottom: 5px; - cursor: pointer; -} -.priceData p:hover{ - background-image: linear-gradient(to right, rgb(222, 87, 229) 0%, rgb(136, 99, 251) 100%); - +.arrival__filterbytag{ + background-color: #d8d5db; + padding: 1rem 0rem ; + margin-bottom: 0.6rem; + border-top-right-radius: 1.4rem; + border-top-left-radius: 1.4rem; } -.filterByPrice div{ - display: flex; - flex-direction: column; - margin: auto; - row-gap: 15px; - margin-top: 25px; - -} -.priceHeading{ - background-color: lightgray; - padding: 12px 35px; - font-size: 25px; - font-weight: 600; - width: 100%; -} -.Filter{ - font-weight: 600; - font-size: 25px; - margin-top: 25px; - background-color: lightgray; - padding: 15px 0px; -} -.priceCheckbox{ - font-weight: 500; - font-size: 20px; -} -.marquee{ - display: none; -} -.button_container{ - display: flex; - align-items: center; - justify-content: center; - margin-bottom: 25px; - margin-top: 15px; -} -.button_container Button{ - background-image: linear-gradient(to right, rgb(222, 87, 229) 0%, rgb(136, 99, 251) 100%); - cursor: pointer; - color: white; - border: none; - font-size: 1.2rem; - color: rgb(29, 27, 27); - outline: none; - font-weight: 500; - display: flex; - padding: 5px 12px !important; - margin-left: 15px; - padding-bottom: 10px; - margin-bottom: 10px; - border-radius: 5px; -} -.card{ - /* border: 1px solid red; */ - width: 325px; - box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; - margin-top: 15px; - line-height: 45px; - border-radius: 5px; -} -.price{ - margin-top: 10px; - font-size: 20px; -} -.name{ - margin-bottom: 7px; - font-size: 20px; - color: gray; -} -/* Media Query */ - -@media screen and (max-width: 560px) { - .box{ - +@media screen and (max-width:990px) { + .arrival__datadiv{ grid-template-columns: repeat(2,1fr); - + } - .Data_container{ +} + +@media screen and (max-width:560px) { + .arrival__datadiv{ grid-template-columns: repeat(1,1fr); } - .filterbar{ - display: flex; - justify-content: space-around; - - } - .selectData{ - display: none; - } - .filterbar{ - font-size: 10px; - font-weight: 600; - /* padding: 15px; */ - display: flex; - gap: 10px; - - } - .sidebar{ - display: none; - } - .navlink{ - background-color: azure; - padding: 5px 8px; - border-radius: 5px; - } - .marquee{ - display: block; - } - .button_container Button{ - background-color: aquamarine; - display: flex; - margin-left: 10px; - padding: 5px 8px !important; - overflow: hidden; - } - } +} \ No newline at end of file diff --git a/src/components/Homepage/Homepage.jsx b/src/components/Homepage/Homepage.jsx index 3173b9e..a87f0ce 100644 --- a/src/components/Homepage/Homepage.jsx +++ b/src/components/Homepage/Homepage.jsx @@ -39,7 +39,11 @@ import insta5 from "../../assets/HomeImage/insta5.jpg"; import insta6 from "../../assets/HomeImage/insta6.jpg"; import insta7 from "../../assets/HomeImage/insta7.jpg"; + const Homepage = () => { + + + return (
{ const [toggle, setToggle] = useState(false) @@ -21,7 +21,7 @@ const Navbar = () => {
  • - FIND STORE + FIND STORE
  • @@ -40,8 +40,8 @@ const Navbar = () => {
      -
    • {" "}Login
    • -
    • {" "}Singup
    • +
    • {" "}Login
    • +
    • {" "}Singup
    @@ -51,34 +51,34 @@ const Navbar = () => {
    • navbarimage -

      NEW ARRIVALS

    • +

      NEW ARRIVALS

    • navbarimage -

      RINGS

    • +

      RINGS

    • navbarimage -

      EARRINGS

    • +

      EARRINGS

    • navbarimage -

      BRACELETS & BANGLES

    • +

      BRACELETS & BANGLES

    • navbarimage -

      SOLITAIRES

    • +

      SOLITAIRES

    • navbarimage -

      MANGALSUTRA

    • +

      MANGALSUTRA

    • navbarimage -

      READY TO SHIP

    • +

      READY TO SHIP

    • navbarimage -

      KIDS

    • +

      KIDS

    • navbarimage -

      OTHER JEWELLERY

    • +

      OTHER JEWELLERY

    • navbarimage -

      GIFTING

    • +

      GIFTING

  • diff --git a/src/components/Navbar/navbar.module.css b/src/components/Navbar/navbar.module.css index d96a351..04a1b6a 100644 --- a/src/components/Navbar/navbar.module.css +++ b/src/components/Navbar/navbar.module.css @@ -41,7 +41,10 @@ justify-content: space-evenly; } - +.navbar__mainthirdpart a{ + text-decoration: none; + color: black; +} .Indiaflag{ width: 1.4rem; @@ -50,12 +53,22 @@ .navbar__pagesroutes_link_div{ color: #4a1a85; - font-size: 0.8rem; - display: flex; - justify-content: center; - align-items: center; - gap: 0.3rem; - cursor: pointer; + font-size: 0.8rem; + display: flex; + justify-content: center; + align-items: center; + gap: 0.3rem; + cursor: pointer; +} + +.navbar__pagesroutes_link_div a{ + color: #4a1a85; + text-decoration: none; +} +.navbar__pagesroutes_link_div a:hover{ + color: black; + transition: 0.3s; + } .navbar__pagesroutes_link_div:hover{ @@ -119,11 +132,16 @@ gap: 1rem; } -.navbar__secondmenu>li>p{ +.navbar__secondmenu>li a{ + text-decoration: none; + color: black ; +} + +.navbar__secondmenu>li p{ margin: 0px; } -.navbar__secondmenu>li>p:hover{ +.navbar__secondmenu>li p:hover{ color: rgb(222, 87, 229); text-decoration: underline; transition-duration: 0.3s; @@ -221,7 +239,7 @@ } - .navbar__secondmenu>li>p{ + .navbar__secondmenu>li p{ margin: 0px; width: 69%; text-align: start; diff --git a/src/components/SingleProduct/SingleProduct.jsx b/src/components/SingleProduct/SingleProduct.jsx new file mode 100644 index 0000000..7f3c391 --- /dev/null +++ b/src/components/SingleProduct/SingleProduct.jsx @@ -0,0 +1,51 @@ +import React from 'react' +import styles from "./singleproduct.module.css" +import { useNavigate } from "react-router-dom" + +const SingleProduct = (props) => { + const { id, image, price, name, shipping, star, category } = props; + const navigate = useNavigate() + + const addtocart = async () => { + let res = await fetch(`http://localhost:8080/cart`, { + method: "POST", + body: JSON.stringify({ ...props }), + headers: { + 'Content-Type': 'application/json' + } + }) + } + + const navigatefun = () => { + navigate(`/product/${id}`) + } + +const addtowishlist = async () => { + let res = await fetch(`http://localhost:8080/wishlist`, { + method: "POST", + body: JSON.stringify({ ...props }), + headers: { + 'Content-Type': 'application/json' + } + }) +} + + return ( + <> +
    + name +
    +

    ₹{" "}{price}

    +

    +
    +

    {name}

    +
    + + +
    +
    + + ) +} + +export default SingleProduct; diff --git a/src/components/SingleProduct/singleproduct.module.css b/src/components/SingleProduct/singleproduct.module.css new file mode 100644 index 0000000..5a0e02c --- /dev/null +++ b/src/components/SingleProduct/singleproduct.module.css @@ -0,0 +1,51 @@ +.single__maindiv{ + box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; +} + +.single__image{ + width: 100%; +} + +.single__buttondiv{ + display: flex; + width: 80%; + justify-content: space-between; + margin: auto; + margin-top: 1rem; + margin-bottom: 1rem; + +} + +.single__buttondiv button{ + background: linear-gradient(to right,#fff6c8 0%,#ffd7f5 48%); + padding: 0.3rem 1rem; + margin: 0.4rem auto; + border-radius: 0.4rem; +} + + +.single__buttondiv button:hover{ + background: linear-gradient(to right, rgb(222, 87, 229) 0%, rgb(136, 99, 251) 100%) 0px 0px / auto; +} + +.single__pricetag{ + font-size: 1.4rem; +} + +.single__anchor{ + border: 1px solid black; + text-decoration: none; + color: black; +} + +.single__name_heart{ + display: flex; + width: 60%; + margin-left: 0.2rem; + flex-flow: row-reverse; + justify-content: space-between; +} + +.single__wishlist{ + color: red; +} \ No newline at end of file diff --git a/src/components/loginsignup/Detail.jsx b/src/components/loginsignup/Detail.jsx index 276554f..dfa4371 100644 --- a/src/components/loginsignup/Detail.jsx +++ b/src/components/loginsignup/Detail.jsx @@ -4,6 +4,9 @@ import React from 'react' import styles from "../loginsignup/Detail.module.css" + + + export default function Detail() { return (
    diff --git a/src/db.json b/src/db.json deleted file mode 100644 index 5cfc846..0000000 --- a/src/db.json +++ /dev/null @@ -1,601 +0,0 @@ -{ - "jewellery": [ - { - "id": 1, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03126-WGP900_11_listfront.jpg", - "price": 61481, - "name": "Emma Flora Diamond Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - }, - { - "id": 2, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07311-1YP6P0_11_listfront.jpg", - "price": 35176, - "name": "Mutyaa Pearl Ring", - "shipping": "Sold by BHFO", - "star": 3, - "category": "rings" - }, - { - "id": 3, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07313-1YP6P0_11_listfront.jpg", - "price": 44612, - "name": "Muktya Dual Pearl Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "rings" - }, - { - "id": 4, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03673-PTP900_11_listfront.jpg", - "price": 31205, - "name": "Jack Platinum Ring for Men", - "shipping": "Sold by BHFO", - "star": 3, - "category": "rings" - }, - { - "id": 5, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07315-1YP6P0_11_listfront.jpg", - "price": 69949, - "name": "Malaya Pearl Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - }, - { - "id": 6, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/R/UR00473-PT0000_11_listfront.jpg", - "price": 40022, - "name": "Ben Platinum Band for Men", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - }, - { - "id": 7, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07312-1YP6P0_11_listfront.jpg", - "price": 59867, - "name": "Meher Pearl Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - }, - { - "id": 8, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07508-1YP6P0_11_listfront.jpg", - "price": 42472, - "name": "Pearly Twig Ring", - "shipping": "Sold by BHFO", - "star": 2, - "category": "rings" - }, - { - "id": 9, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/R/UR00214-YG0000_11_listfront.jpg", - "price": 48060, - "name": "Romeo Gold Band for Men", - "shipping": "Sold by BHFO", - "star": 5, - "category": "rings" - }, - { - "id": 10, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02496-WGP4HA_11_listfront.jpg", - "price": 1442668, - "name": "Inaya Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "rings" - }, - { - "id": 11, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07603-1YP6P0_11_listfront.jpg", - "price": 35795, - "name": "Moiz Pearl Drop Earrings ", - "shipping": "Sold by BHFO", - "star": 3, - "category": "earrings" - }, - { - "id": 12, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07601-1YP6P0_11_listfront.jpg", - "price": 118833, - "name": "Madesha Drop Earrings", - "shipping": "Sold by BHFO", - "star": 2, - "category": "earrings" - }, - { - "id": 13, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE06891-1YP600_11_listfront.jpg", - "price": 40963, - "name": "Borja Diamond Stud Earrings", - "shipping": "Sold by BHFO", - "star": 5, - "category": "earrings" - }, - { - "id": 14, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07813-1YP6P0_11_listfront.jpg", - "price": 58952, - "name": "Swirl Pearl Drop Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 15, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE06694-1YP600_11_listfront.png", - "price": 36266, - "name": "Siria Diamond Stud Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 16, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07604-1YP6P0_11_listfront.jpg", - "price": 40402, - "name": "Meghraa Pearl Drop Earrings", - "shipping": "Sold by BHFO", - "star": 2, - "category": "earrings" - }, - { - "id": 17, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07606-1YP6P0_11_listfront.jpg", - "price": 44097, - "name": "Mehek Pearl Hoop Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 18, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE04937-1RP900_11_listfront.jpg", - "price": 8973, - "name": "Amira Leaf Diamond Drop Earrings", - "shipping": "Sold by BHFO", - "star": 5, - "category": "earrings" - }, - { - "id": 19, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07812-1YP6P0_11_listfront.jpg ", - "price": 51669, - "name": "Bell Pearl Drop Earrings ", - "shipping": "Sold by BHFO", - "star": 5, - "category": "earrings" - }, - - { - "id": 20, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/E/SE00019-WGP900_11_listfront.jpg", - "price": 98049, - "name": "Celeste Solitaire Stud Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 21, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00702-1Y0000_11_listfront.jpg", - "price": 6692, - "name": "Chopper Personalised Kids' Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "bracelet" - }, - { - "id": 22, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01374-1YP600_11_listfront.jpg", - "price": 11660, - "name": "Pretty Classic Diamond Bracelet", - "shipping": "Sold by BHFO", - "star": 3, - "category": "bracelet" - }, - { - "id": 23, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01725-1YP6P0_11_listfront.jpg", - "price": 30689, - "name": "Pearly Dangle Diamond Bracelet", - "shipping": "Sold by BHFO", - "star": 5, - "category": "bracelet" - }, - { - "id": 24, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00842-1Y0000_11_listfront.jpg", - "price": 7643, - "name": "Butterflies Baby Nazaria Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 3, - "category": "bracelet" - }, - { - "id": 25, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00997-1Y0000_11_listfront.jpg", - "price": 91210, - "name": "Peppa Fairy Kids' Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "bracelet" - }, - { - "id": 26, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01727-1YP6P0_11_listfront.jpg", - "price": 98341, - "name": "Mohana Pearl Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "bracelet" - }, - { - "id": 27, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00753-1C0000_11_listfront.jpg", - "price": 11632, - "name": "Celestial Adjustable Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "bracelet" - }, - { - "id": 28, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00843-1Y0000_11_listfront.jpg", - "price": 8700, - "name": "Car Baby Nazaria Gold Bracelet", - "shipping": "Sold bye BHFO", - "star": 2, - "category": "bracelet" - }, - { - "id": 29, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00989-1YP600_11_listfront.jpg", - "price": 14533, - "name": "Sway Diamond Adjustable Bracelet", - "shipping": "Sold by BHFO", - "star": 5, - "category": "bracelet" - }, - { - "id": 30, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01127-1YP900_12_listhover.jpg", - "price": 34341, - "name": "Nazia Sparkle Diamond Bracelet", - "shipping": "Sold by BHFO", - "star": 5, - "category": "bracelet" - }, - { - "id": 31, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03331-YGP900_11_listfront.jpg", - "price": 97685, - "name": "Prin Diamond Solitaire Ring ", - "shipping": "Sold by BHFO", - "star": 3, - "category": "solitaire" - }, - { - "id": 32, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02226-YGP900_11_listfront.jpg", - "price": 91268, - "name": "Mark Solitaire Ring for Men", - "shipping": "Sold by BHFO", - "star": 2, - "category": "solitaire" - }, - { - "id": 33, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02271-WGP900_11_listfront.jpg", - "price": 112904, - "name": "Eleanor Hoop Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "solitaire" - }, - { - "id": 34, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03304-RGP900_11_listfront.jpg", - "price": 90320, - "name": "Proz Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "solitaire" - }, - { - "id": 35, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02040-PT0000_11_listfront.jpg", - "price": 85708, - "name": "Precious Platinum Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "solitaire" - }, - { - "id": 36, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR00134-YGP900_11_listfront.jpg", - "price": 123749, - "name": "Turia Solitaire Ring for Men", - "shipping": "Sold by BHFO", - "star": 2, - "category": "solitaire" - }, - { - "id": 37, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03302-YGP900_11_listfront.jpg", - "price": 54260, - "name": "Mold Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "solitaire" - }, - { - "id": 38, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03004-YGP900_11_listfront.jpg", - "price": 68638, - "name": "Indea Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "solitaire" - }, - { - "id": 39, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02279-WGP900_11_listfront.jpg", - "price": 184390, - "name": "Cristina Quad Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "solitaire" - }, - - { - "id": 40, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03324-YGP900_11_listfront.jpg", - "price": 114390, - "name": "Emmo Diamond Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "solitaire" - }, - { - "id": 41, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01113-1YP900_11_listfront.jpg", - "price": 23599, - "name": "Milda Infinity Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 4, - "category": "mangalsutra" - }, - { - "id": 42, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01071-1YP900_11_listfront.jpg", - "price": 59029, - "name": "Paavi Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 3, - "category": "mangalsutra" - }, - { - "id": 43, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01094-1YP900_11_listfront.jpg", - "price": 24127, - "name": "Zuri Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 5, - "category": "mangalsutra" - }, - { - "id": 44, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00735-1YP600_11_listfront.jpg", - "price": 41697, - "name": "Dikshita Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 3, - "category": "mangalsutra" - }, - { - "id": 45, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01091-1YP900_11_listfront.jpg", - "price": 25537, - "name": "Shomili Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 4, - "category": "mangalsutra" - }, - { - "id": 46, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00298-YGP600_11_listfront.jpg", - "price": 42554, - "name": "Aashika Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 4, - "category": "mangalsutra" - }, - { - "id": 47, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01095-1YP900_11_listfront.jpg", - "price": 29551, - "name": "Freya Infinity Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 4, - "category": "mangalsutra" - }, - { - "id": 48, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00891-1YP900_11_listfront.jpg", - "price": 56173, - "name": "Eka Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 2, - "category": "mangalsutra" - }, - { - "id": 49, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01112-1YP600_11_listfront.jpg", - "price": 30758, - "name": "Aaliya Infinity Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 5, - "category": "mangalsutra" - }, - { - "id": 50, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00296-RGP600_11_listfront.jpg", - "price": 40637, - "name": "Vyoma Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 5, - "category": "mangalsutra" - }, - { - "id": 51, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00816-YG0000_11_listfront.jpg", - "price": 14074, - "name": "Om Baby Nazaria Gold Bracelet Set of 2 ", - "shipping": "Sold by BHFO", - "star": 3, - "category": "earrings" - }, - { - "id": 52, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04855-1Y0000_11_listfront.jpg", - "price": 3433, - "name": "Flutter Beam Kids' Gold Earrings", - "shipping": "Sold by BHFO", - "star": 2, - "category": "earrings" - }, - { - "id": 53, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/P/JP03456-YGP900_11_listfront.jpg", - "price": 17117, - "name": "Bal Hanuman Kids' Diamond Pendant", - "shipping": "Sold by BHFO", - "star": 5, - "category": "earrings" - }, - { - "id": 54, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04499-1Y0000_11_listfront.jpg", - "price": 5800, - "name": "Magical Unicorn Kids' Gold Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 55, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00739-1RP9RS_11_listfront.jpg", - "price": 13104, - "name": "Tiara Kids' Gemstone Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 56, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00168-YG0000_11_listfront.jpg", - "price": 8359, - "name": "Ornate Om Baby Nazaria Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 2, - "category": "earrings" - }, - { - "id": 57, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04852-1Y0000_11_listfront.jpg", - "price": 2620, - "name": "Little Star Kids' Gold Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 58, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00742-1YP600_11_listfront.jpg", - "price": 11919, - "name": "Bumblebee Kids' Diamond Bracelet", - "shipping": "Sold by BHFO", - "star": 5, - "category": "earrings" - }, - { - "id": 59, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04655-1Y0000_11_listfront.jpg", - "price": 5635, - "name": "Enchanted Unicorn Kids' Gold Earrings ", - "shipping": "Sold by BHFO", - "star": 5, - "category": "earrings" - }, - - { - "id": 60, - - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04660-1Y0000_11_listfront.jpg", - "price": 5258, - "name": "Pink Strawberry Kids' Stud Gold Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - } - ] -} From 03189f07698b8af32b8ca0617fbbb842a7638002 Mon Sep 17 00:00:00 2001 From: nikhildeora Date: Fri, 20 Jan 2023 23:02:45 +0530 Subject: [PATCH 2/4] yes --- db.json | 47 +---------- src/components/loginsignup/Detail.jsx | 116 +++++++++++++------------- 2 files changed, 60 insertions(+), 103 deletions(-) diff --git a/db.json b/db.json index 381c893..4de94e2 100644 --- a/db.json +++ b/db.json @@ -542,52 +542,9 @@ } ], "cart": [ - { - "id": 31, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03331-YGP900_11_listfront.jpg", - "price": 97685, - "name": "Prin Diamond Solitaire Ring ", - "shipping": "Sold by BHFO", - "star": 3, - "category": "solitaire" - }, - { - "id": 2, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07311-1YP6P0_11_listfront.jpg", - "price": 35176, - "name": "Mutyaa Pearl Ring", - "shipping": "Sold by BHFO", - "star": 3, - "category": "rings" - }, - { - "id": 21, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00702-1Y0000_11_listfront.jpg", - "price": 6692, - "name": "Chopper Personalised Kids' Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "bracelet" - } + ], "wishlist": [ - { - "id": 1, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03126-WGP900_11_listfront.jpg", - "price": 61481, - "name": "Emma Flora Diamond Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - }, - { - "id": 5, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07315-1YP6P0_11_listfront.jpg", - "price": 69949, - "name": "Malaya Pearl Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - } + ] } \ No newline at end of file diff --git a/src/components/loginsignup/Detail.jsx b/src/components/loginsignup/Detail.jsx index dfa4371..21c831f 100644 --- a/src/components/loginsignup/Detail.jsx +++ b/src/components/loginsignup/Detail.jsx @@ -2,64 +2,64 @@ - import React from 'react' - import styles from "../loginsignup/Detail.module.css" - - - - export default function Detail() { - return ( -
    -
    -
    - -
    -
    -
    - -
    7 Ratings - / Reviews
    -
    -

    Oleria Tulip Pearl Necklace


    - -
    -

    Set in 18 KT Yellow Gold(4.440 g) with diamonds (0.090 ct ,IJ-SI)


    -
    - -

    -
    SPOTLIGHTS

    -

    ₹42,034

    -
    - - -
    -

    Upon Price Drop, Notify Me

    -
    -
    -
    -

    Product Details

    -
    -
    -

    Product Information

    -
      -
    • Length - 43.18cm (17 inches)
    • -
    • Height - 12.25 mm
    • -
    • Purity - 18 KT
    • -
    • Gross Weight - 4.638 g
    • - -
    - -
    -

    Set in 18 KT Yellow Gold(4.440 g) with diamonds (0.090 ct ,IJ-SI)

    -
    -
    -
    - - - -
    - ) - } +import React from 'react' +import styles from "../loginsignup/Detail.module.css" + + + +export default function Detail() { + return ( +
    +
    +
    + +
    +
    +
    + +
    7 Ratings + / Reviews
    +
    +

    Oleria Tulip Pearl Necklace


    + +
    +

    Set in 18 KT Yellow Gold(4.440 g) with diamonds (0.090 ct ,IJ-SI)


    +
    + +

    +
    SPOTLIGHTS

    +

    ₹42,034

    +
    + + +
    +

    Upon Price Drop, Notify Me

    +
    +
    +
    +

    Product Details

    +
    +
    +

    Product Information

    +
      +
    • Length - 43.18cm (17 inches)
    • +
    • Height - 12.25 mm
    • +
    • Purity - 18 KT
    • +
    • Gross Weight - 4.638 g
    • + +
    + +
    +

    Set in 18 KT Yellow Gold(4.440 g) with diamonds (0.090 ct ,IJ-SI)

    +
    +
    +
    + + + +
    + ) +} // Length - 43.18cm (17 inches) // Height - 12.25 mm From 9791a3d6eabf0a7b483e0191aa59a64146a93fad Mon Sep 17 00:00:00 2001 From: nikhildeora Date: Fri, 20 Jan 2023 23:10:03 +0530 Subject: [PATCH 3/4] yes --- db.json | 550 ------------------ src/components/Arrival/Arrival.jsx | 2 +- .../SingleItem.jsx} | 2 +- .../singleitem.module.css} | 0 4 files changed, 2 insertions(+), 552 deletions(-) delete mode 100644 db.json rename src/components/{SingleProduct/SingleProduct.jsx => SingleItem/SingleItem.jsx} (97%) rename src/components/{SingleProduct/singleproduct.module.css => SingleItem/singleitem.module.css} (100%) diff --git a/db.json b/db.json deleted file mode 100644 index 4de94e2..0000000 --- a/db.json +++ /dev/null @@ -1,550 +0,0 @@ -{ - "jewellery": [ - { - "id": 1, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03126-WGP900_11_listfront.jpg", - "price": 61481, - "name": "Emma Flora Diamond Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - }, - { - "id": 2, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07311-1YP6P0_11_listfront.jpg", - "price": 35176, - "name": "Mutyaa Pearl Ring", - "shipping": "Sold by BHFO", - "star": 3, - "category": "rings" - }, - { - "id": 3, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07313-1YP6P0_11_listfront.jpg", - "price": 44612, - "name": "Muktya Dual Pearl Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "rings" - }, - { - "id": 4, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03673-PTP900_11_listfront.jpg", - "price": 31205, - "name": "Jack Platinum Ring for Men", - "shipping": "Sold by BHFO", - "star": 3, - "category": "rings" - }, - { - "id": 5, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07315-1YP6P0_11_listfront.jpg", - "price": 69949, - "name": "Malaya Pearl Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - }, - { - "id": 6, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/R/UR00473-PT0000_11_listfront.jpg", - "price": 40022, - "name": "Ben Platinum Band for Men", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - }, - { - "id": 7, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07312-1YP6P0_11_listfront.jpg", - "price": 59867, - "name": "Meher Pearl Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "rings" - }, - { - "id": 8, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07508-1YP6P0_11_listfront.jpg", - "price": 42472, - "name": "Pearly Twig Ring", - "shipping": "Sold by BHFO", - "star": 2, - "category": "rings" - }, - { - "id": 9, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/R/UR00214-YG0000_11_listfront.jpg", - "price": 48060, - "name": "Romeo Gold Band for Men", - "shipping": "Sold by BHFO", - "star": 5, - "category": "rings" - }, - { - "id": 10, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02496-WGP4HA_11_listfront.jpg", - "price": 142668, - "name": "Inaya Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "rings" - }, - { - "id": 11, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07603-1YP6P0_11_listfront.jpg", - "price": 35795, - "name": "Moiz Pearl Drop Earrings ", - "shipping": "Sold by BHFO", - "star": 3, - "category": "earrings" - }, - { - "id": 12, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07601-1YP6P0_11_listfront.jpg", - "price": 118833, - "name": "Madesha Drop Earrings", - "shipping": "Sold by BHFO", - "star": 2, - "category": "earrings" - }, - { - "id": 13, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE06891-1YP600_11_listfront.jpg", - "price": 40963, - "name": "Borja Diamond Stud Earrings", - "shipping": "Sold by BHFO", - "star": 5, - "category": "earrings" - }, - { - "id": 14, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07813-1YP6P0_11_listfront.jpg", - "price": 58952, - "name": "Swirl Pearl Drop Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 15, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE06694-1YP600_11_listfront.png", - "price": 36266, - "name": "Siria Diamond Stud Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 16, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07604-1YP6P0_11_listfront.jpg", - "price": 40402, - "name": "Meghraa Pearl Drop Earrings", - "shipping": "Sold by BHFO", - "star": 2, - "category": "earrings" - }, - { - "id": 17, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07606-1YP6P0_11_listfront.jpg", - "price": 44097, - "name": "Mehek Pearl Hoop Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 18, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE04937-1RP900_11_listfront.jpg", - "price": 8973, - "name": "Amira Leaf Diamond Drop Earrings", - "shipping": "Sold by BHFO", - "star": 5, - "category": "earrings" - }, - { - "id": 19, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07812-1YP6P0_11_listfront.jpg ", - "price": 51669, - "name": "Bell Pearl Drop Earrings ", - "shipping": "Sold by BHFO", - "star": 5, - "category": "earrings" - }, - { - "id": 20, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/E/SE00019-WGP900_11_listfront.jpg", - "price": 98049, - "name": "Celeste Solitaire Stud Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "earrings" - }, - { - "id": 21, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00702-1Y0000_11_listfront.jpg", - "price": 6692, - "name": "Chopper Personalised Kids' Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "bracelet" - }, - { - "id": 22, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01374-1YP600_11_listfront.jpg", - "price": 11660, - "name": "Pretty Classic Diamond Bracelet", - "shipping": "Sold by BHFO", - "star": 3, - "category": "bracelet" - }, - { - "id": 23, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01725-1YP6P0_11_listfront.jpg", - "price": 30689, - "name": "Pearly Dangle Diamond Bracelet", - "shipping": "Sold by BHFO", - "star": 5, - "category": "bracelet" - }, - { - "id": 24, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00842-1Y0000_11_listfront.jpg", - "price": 7643, - "name": "Butterflies Baby Nazaria Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 3, - "category": "bracelet" - }, - { - "id": 25, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00997-1Y0000_11_listfront.jpg", - "price": 91210, - "name": "Peppa Fairy Kids' Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "bracelet" - }, - { - "id": 26, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01727-1YP6P0_11_listfront.jpg", - "price": 98341, - "name": "Mohana Pearl Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "bracelet" - }, - { - "id": 27, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00753-1C0000_11_listfront.jpg", - "price": 11632, - "name": "Celestial Adjustable Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "bracelet" - }, - { - "id": 28, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00843-1Y0000_11_listfront.jpg", - "price": 8700, - "name": "Car Baby Nazaria Gold Bracelet", - "shipping": "Sold bye BHFO", - "star": 2, - "category": "bracelet" - }, - { - "id": 29, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00989-1YP600_11_listfront.jpg", - "price": 14533, - "name": "Sway Diamond Adjustable Bracelet", - "shipping": "Sold by BHFO", - "star": 5, - "category": "bracelet" - }, - { - "id": 30, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01127-1YP900_12_listhover.jpg", - "price": 34341, - "name": "Nazia Sparkle Diamond Bracelet", - "shipping": "Sold by BHFO", - "star": 5, - "category": "bracelet" - }, - { - "id": 31, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03331-YGP900_11_listfront.jpg", - "price": 97685, - "name": "Prin Diamond Solitaire Ring ", - "shipping": "Sold by BHFO", - "star": 3, - "category": "solitaire" - }, - { - "id": 32, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02226-YGP900_11_listfront.jpg", - "price": 91268, - "name": "Mark Solitaire Ring for Men", - "shipping": "Sold by BHFO", - "star": 2, - "category": "solitaire" - }, - { - "id": 33, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02271-WGP900_11_listfront.jpg", - "price": 112904, - "name": "Eleanor Hoop Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "solitaire" - }, - { - "id": 34, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03304-RGP900_11_listfront.jpg", - "price": 90320, - "name": "Proz Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "solitaire" - }, - { - "id": 35, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02040-PT0000_11_listfront.jpg", - "price": 85708, - "name": "Precious Platinum Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "solitaire" - }, - { - "id": 36, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR00134-YGP900_11_listfront.jpg", - "price": 123749, - "name": "Turia Solitaire Ring for Men", - "shipping": "Sold by BHFO", - "star": 2, - "category": "solitaire" - }, - { - "id": 37, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03302-YGP900_11_listfront.jpg", - "price": 54260, - "name": "Mold Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "solitaire" - }, - { - "id": 38, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03004-YGP900_11_listfront.jpg", - "price": 68638, - "name": "Indea Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "solitaire" - }, - { - "id": 39, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02279-WGP900_11_listfront.jpg", - "price": 184390, - "name": "Cristina Quad Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 5, - "category": "solitaire" - }, - { - "id": 40, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03324-YGP900_11_listfront.jpg", - "price": 114390, - "name": "Emmo Diamond Solitaire Ring", - "shipping": "Sold by BHFO", - "star": 4, - "category": "solitaire" - }, - { - "id": 41, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01113-1YP900_11_listfront.jpg", - "price": 23599, - "name": "Milda Infinity Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 4, - "category": "mangalsutra" - }, - { - "id": 42, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01071-1YP900_11_listfront.jpg", - "price": 59029, - "name": "Paavi Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 3, - "category": "mangalsutra" - }, - { - "id": 43, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01094-1YP900_11_listfront.jpg", - "price": 24127, - "name": "Zuri Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 5, - "category": "mangalsutra" - }, - { - "id": 44, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00735-1YP600_11_listfront.jpg", - "price": 41697, - "name": "Dikshita Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 3, - "category": "mangalsutra" - }, - { - "id": 45, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01091-1YP900_11_listfront.jpg", - "price": 25537, - "name": "Shomili Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 4, - "category": "mangalsutra" - }, - { - "id": 46, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00298-YGP600_11_listfront.jpg", - "price": 42554, - "name": "Aashika Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 4, - "category": "mangalsutra" - }, - { - "id": 47, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01095-1YP900_11_listfront.jpg", - "price": 29551, - "name": "Freya Infinity Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 4, - "category": "mangalsutra" - }, - { - "id": 48, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00891-1YP900_11_listfront.jpg", - "price": 56173, - "name": "Eka Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 2, - "category": "mangalsutra" - }, - { - "id": 49, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01112-1YP600_11_listfront.jpg", - "price": 30758, - "name": "Aaliya Infinity Diamond Mangalsutra ", - "shipping": "Sold by BHFO", - "star": 5, - "category": "mangalsutra" - }, - { - "id": 50, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00296-RGP600_11_listfront.jpg", - "price": 40637, - "name": "Vyoma Diamond Mangalsutra", - "shipping": "Sold by BHFO", - "star": 5, - "category": "mangalsutra" - }, - { - "id": 51, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00816-YG0000_11_listfront.jpg", - "price": 14074, - "name": "Om Baby Nazaria Gold Bracelet Set of 2 ", - "shipping": "Sold by BHFO", - "star": 3, - "category": "kids" - }, - { - "id": 52, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04855-1Y0000_11_listfront.jpg", - "price": 3433, - "name": "Flutter Beam Kids' Gold Earrings", - "shipping": "Sold by BHFO", - "star": 2, - "category": "kids" - }, - { - "id": 53, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/P/JP03456-YGP900_11_listfront.jpg", - "price": 17117, - "name": "Bal Hanuman Kids' Diamond Pendant", - "shipping": "Sold by BHFO", - "star": 5, - "category": "kids" - }, - { - "id": 54, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04499-1Y0000_11_listfront.jpg", - "price": 5800, - "name": "Magical Unicorn Kids' Gold Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "kids" - }, - { - "id": 55, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00739-1RP9RS_11_listfront.jpg", - "price": 13104, - "name": "Tiara Kids' Gemstone Bracelet", - "shipping": "Sold by BHFO", - "star": 4, - "category": "kids" - }, - { - "id": 56, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00168-YG0000_11_listfront.jpg", - "price": 8359, - "name": "Ornate Om Baby Nazaria Gold Bracelet", - "shipping": "Sold by BHFO", - "star": 2, - "category": "kids" - }, - { - "id": 57, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04852-1Y0000_11_listfront.jpg", - "price": 2620, - "name": "Little Star Kids' Gold Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "kids" - }, - { - "id": 58, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00742-1YP600_11_listfront.jpg", - "price": 11919, - "name": "Bumblebee Kids' Diamond Bracelet", - "shipping": "Sold by BHFO", - "star": 5, - "category": "kids" - }, - { - "id": 59, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04655-1Y0000_11_listfront.jpg", - "price": 5635, - "name": "Enchanted Unicorn Kids' Gold Earrings ", - "shipping": "Sold by BHFO", - "star": 5, - "category": "kids" - }, - { - "id": 60, - "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04660-1Y0000_11_listfront.jpg", - "price": 5258, - "name": "Pink Strawberry Kids' Stud Gold Earrings", - "shipping": "Sold by BHFO", - "star": 4, - "category": "kids" - } - ], - "cart": [ - - ], - "wishlist": [ - - ] -} \ No newline at end of file diff --git a/src/components/Arrival/Arrival.jsx b/src/components/Arrival/Arrival.jsx index aa889d2..1a878bd 100644 --- a/src/components/Arrival/Arrival.jsx +++ b/src/components/Arrival/Arrival.jsx @@ -10,7 +10,7 @@ import { useState } from 'react' import { useEffect } from 'react' import { useParams } from 'react-router-dom' import findstore from "../../assets/findstoreimg.png" -import SingleProduct from '../SingleProduct/SingleProduct' +import SingleProduct from '../SingleItem/SingleItem' import { async } from 'q' function Arrival() { diff --git a/src/components/SingleProduct/SingleProduct.jsx b/src/components/SingleItem/SingleItem.jsx similarity index 97% rename from src/components/SingleProduct/SingleProduct.jsx rename to src/components/SingleItem/SingleItem.jsx index 7f3c391..d294ba3 100644 --- a/src/components/SingleProduct/SingleProduct.jsx +++ b/src/components/SingleItem/SingleItem.jsx @@ -1,5 +1,5 @@ import React from 'react' -import styles from "./singleproduct.module.css" +import styles from "./singleitem.module.css" import { useNavigate } from "react-router-dom" const SingleProduct = (props) => { diff --git a/src/components/SingleProduct/singleproduct.module.css b/src/components/SingleItem/singleitem.module.css similarity index 100% rename from src/components/SingleProduct/singleproduct.module.css rename to src/components/SingleItem/singleitem.module.css From 85c312944a3982b5dd439de6b768c823a913df7a Mon Sep 17 00:00:00 2001 From: nikhildeora Date: Fri, 20 Jan 2023 23:30:53 +0530 Subject: [PATCH 4/4] done --- db.json | 545 +++++++++++++++++++++++++++++ src/components/Arrival/Arrival.jsx | 9 +- 2 files changed, 549 insertions(+), 5 deletions(-) create mode 100644 db.json diff --git a/db.json b/db.json new file mode 100644 index 0000000..4c3459f --- /dev/null +++ b/db.json @@ -0,0 +1,545 @@ +{ + "jewellery": [ + { + "id": 1, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03126-WGP900_11_listfront.jpg", + "price": 61481, + "name": "Emma Flora Diamond Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + }, + { + "id": 2, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07311-1YP6P0_11_listfront.jpg", + "price": 35176, + "name": "Mutyaa Pearl Ring", + "shipping": "Sold by BHFO", + "star": 3, + "category": "rings" + }, + { + "id": 3, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07313-1YP6P0_11_listfront.jpg", + "price": 44612, + "name": "Muktya Dual Pearl Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "rings" + }, + { + "id": 4, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR03673-PTP900_11_listfront.jpg", + "price": 31205, + "name": "Jack Platinum Ring for Men", + "shipping": "Sold by BHFO", + "star": 3, + "category": "rings" + }, + { + "id": 5, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07315-1YP6P0_11_listfront.jpg", + "price": 69949, + "name": "Malaya Pearl Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + }, + { + "id": 6, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/R/UR00473-PT0000_11_listfront.jpg", + "price": 40022, + "name": "Ben Platinum Band for Men", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + }, + { + "id": 7, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07312-1YP6P0_11_listfront.jpg", + "price": 59867, + "name": "Meher Pearl Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "rings" + }, + { + "id": 8, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/R/JR07508-1YP6P0_11_listfront.jpg", + "price": 42472, + "name": "Pearly Twig Ring", + "shipping": "Sold by BHFO", + "star": 2, + "category": "rings" + }, + { + "id": 9, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/R/UR00214-YG0000_11_listfront.jpg", + "price": 48060, + "name": "Romeo Gold Band for Men", + "shipping": "Sold by BHFO", + "star": 5, + "category": "rings" + }, + { + "id": 10, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02496-WGP4HA_11_listfront.jpg", + "price": 1442668, + "name": "Inaya Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "rings" + }, + { + "id": 11, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07603-1YP6P0_11_listfront.jpg", + "price": 35795, + "name": "Moiz Pearl Drop Earrings ", + "shipping": "Sold by BHFO", + "star": 3, + "category": "earrings" + }, + { + "id": 12, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07601-1YP6P0_11_listfront.jpg", + "price": 118833, + "name": "Madesha Drop Earrings", + "shipping": "Sold by BHFO", + "star": 2, + "category": "earrings" + }, + { + "id": 13, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE06891-1YP600_11_listfront.jpg", + "price": 40963, + "name": "Borja Diamond Stud Earrings", + "shipping": "Sold by BHFO", + "star": 5, + "category": "earrings" + }, + { + "id": 14, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07813-1YP6P0_11_listfront.jpg", + "price": 58952, + "name": "Swirl Pearl Drop Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "earrings" + }, + { + "id": 15, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE06694-1YP600_11_listfront.png", + "price": 36266, + "name": "Siria Diamond Stud Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "earrings" + }, + { + "id": 16, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07604-1YP6P0_11_listfront.jpg", + "price": 40402, + "name": "Meghraa Pearl Drop Earrings", + "shipping": "Sold by BHFO", + "star": 2, + "category": "earrings" + }, + { + "id": 17, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07606-1YP6P0_11_listfront.jpg", + "price": 44097, + "name": "Mehek Pearl Hoop Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "earrings" + }, + { + "id": 18, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE04937-1RP900_11_listfront.jpg", + "price": 8973, + "name": "Amira Leaf Diamond Drop Earrings", + "shipping": "Sold by BHFO", + "star": 5, + "category": "earrings" + }, + { + "id": 19, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/E/JE07812-1YP6P0_11_listfront.jpg ", + "price": 51669, + "name": "Bell Pearl Drop Earrings ", + "shipping": "Sold by BHFO", + "star": 5, + "category": "earrings" + }, + { + "id": 20, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/E/SE00019-WGP900_11_listfront.jpg", + "price": 98049, + "name": "Celeste Solitaire Stud Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "earrings" + }, + { + "id": 21, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00702-1Y0000_11_listfront.jpg", + "price": 6692, + "name": "Chopper Personalised Kids' Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "bracelet" + }, + { + "id": 22, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01374-1YP600_11_listfront.jpg", + "price": 11660, + "name": "Pretty Classic Diamond Bracelet", + "shipping": "Sold by BHFO", + "star": 3, + "category": "bracelet" + }, + { + "id": 23, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01725-1YP6P0_11_listfront.jpg", + "price": 30689, + "name": "Pearly Dangle Diamond Bracelet", + "shipping": "Sold by BHFO", + "star": 5, + "category": "bracelet" + }, + { + "id": 24, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00842-1Y0000_11_listfront.jpg", + "price": 7643, + "name": "Butterflies Baby Nazaria Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 3, + "category": "bracelet" + }, + { + "id": 25, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00997-1Y0000_11_listfront.jpg", + "price": 91210, + "name": "Peppa Fairy Kids' Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "bracelet" + }, + { + "id": 26, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01727-1YP6P0_11_listfront.jpg", + "price": 98341, + "name": "Mohana Pearl Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "bracelet" + }, + { + "id": 27, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00753-1C0000_11_listfront.jpg", + "price": 11632, + "name": "Celestial Adjustable Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "bracelet" + }, + { + "id": 28, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00843-1Y0000_11_listfront.jpg", + "price": 8700, + "name": "Car Baby Nazaria Gold Bracelet", + "shipping": "Sold bye BHFO", + "star": 2, + "category": "bracelet" + }, + { + "id": 29, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00989-1YP600_11_listfront.jpg", + "price": 14533, + "name": "Sway Diamond Adjustable Bracelet", + "shipping": "Sold by BHFO", + "star": 5, + "category": "bracelet" + }, + { + "id": 30, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT01127-1YP900_12_listhover.jpg", + "price": 34341, + "name": "Nazia Sparkle Diamond Bracelet", + "shipping": "Sold by BHFO", + "star": 5, + "category": "bracelet" + }, + { + "id": 31, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03331-YGP900_11_listfront.jpg", + "price": 97685, + "name": "Prin Diamond Solitaire Ring ", + "shipping": "Sold by BHFO", + "star": 3, + "category": "solitaire" + }, + { + "id": 32, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02226-YGP900_11_listfront.jpg", + "price": 91268, + "name": "Mark Solitaire Ring for Men", + "shipping": "Sold by BHFO", + "star": 2, + "category": "solitaire" + }, + { + "id": 33, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02271-WGP900_11_listfront.jpg", + "price": 112904, + "name": "Eleanor Hoop Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "solitaire" + }, + { + "id": 34, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03304-RGP900_11_listfront.jpg", + "price": 90320, + "name": "Proz Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "solitaire" + }, + { + "id": 35, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02040-PT0000_11_listfront.jpg", + "price": 85708, + "name": "Precious Platinum Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "solitaire" + }, + { + "id": 36, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR00134-YGP900_11_listfront.jpg", + "price": 123749, + "name": "Turia Solitaire Ring for Men", + "shipping": "Sold by BHFO", + "star": 2, + "category": "solitaire" + }, + { + "id": 37, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03302-YGP900_11_listfront.jpg", + "price": 54260, + "name": "Mold Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "solitaire" + }, + { + "id": 38, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03004-YGP900_11_listfront.jpg", + "price": 68638, + "name": "Indea Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "solitaire" + }, + { + "id": 39, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR02279-WGP900_11_listfront.jpg", + "price": 184390, + "name": "Cristina Quad Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 5, + "category": "solitaire" + }, + { + "id": 40, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//S/R/SR03324-YGP900_11_listfront.jpg", + "price": 114390, + "name": "Emmo Diamond Solitaire Ring", + "shipping": "Sold by BHFO", + "star": 4, + "category": "solitaire" + }, + { + "id": 41, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01113-1YP900_11_listfront.jpg", + "price": 23599, + "name": "Milda Infinity Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 4, + "category": "mangalsutra" + }, + { + "id": 42, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01071-1YP900_11_listfront.jpg", + "price": 59029, + "name": "Paavi Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 3, + "category": "mangalsutra" + }, + { + "id": 43, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01094-1YP900_11_listfront.jpg", + "price": 24127, + "name": "Zuri Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 5, + "category": "mangalsutra" + }, + { + "id": 44, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00735-1YP600_11_listfront.jpg", + "price": 41697, + "name": "Dikshita Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 3, + "category": "mangalsutra" + }, + { + "id": 45, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01091-1YP900_11_listfront.jpg", + "price": 25537, + "name": "Shomili Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 4, + "category": "mangalsutra" + }, + { + "id": 46, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00298-YGP600_11_listfront.jpg", + "price": 42554, + "name": "Aashika Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 4, + "category": "mangalsutra" + }, + { + "id": 47, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01095-1YP900_11_listfront.jpg", + "price": 29551, + "name": "Freya Infinity Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 4, + "category": "mangalsutra" + }, + { + "id": 48, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00891-1YP900_11_listfront.jpg", + "price": 56173, + "name": "Eka Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 2, + "category": "mangalsutra" + }, + { + "id": 49, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS01112-1YP600_11_listfront.jpg", + "price": 30758, + "name": "Aaliya Infinity Diamond Mangalsutra ", + "shipping": "Sold by BHFO", + "star": 5, + "category": "mangalsutra" + }, + { + "id": 50, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/S/JS00296-RGP600_11_listfront.jpg", + "price": 40637, + "name": "Vyoma Diamond Mangalsutra", + "shipping": "Sold by BHFO", + "star": 5, + "category": "mangalsutra" + }, + { + "id": 51, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00816-YG0000_11_listfront.jpg", + "price": 14074, + "name": "Om Baby Nazaria Gold Bracelet Set of 2 ", + "shipping": "Sold by BHFO", + "star": 3, + "category": "kids" + }, + { + "id": 52, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04855-1Y0000_11_listfront.jpg", + "price": 3433, + "name": "Flutter Beam Kids' Gold Earrings", + "shipping": "Sold by BHFO", + "star": 2, + "category": "kids" + }, + { + "id": 53, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/P/JP03456-YGP900_11_listfront.jpg", + "price": 17117, + "name": "Bal Hanuman Kids' Diamond Pendant", + "shipping": "Sold by BHFO", + "star": 5, + "category": "kids" + }, + { + "id": 54, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04499-1Y0000_11_listfront.jpg", + "price": 5800, + "name": "Magical Unicorn Kids' Gold Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "kids" + }, + { + "id": 55, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00739-1RP9RS_11_listfront.jpg", + "price": 13104, + "name": "Tiara Kids' Gemstone Bracelet", + "shipping": "Sold by BHFO", + "star": 4, + "category": "kids" + }, + { + "id": 56, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/T/UT00168-YG0000_11_listfront.jpg", + "price": 8359, + "name": "Ornate Om Baby Nazaria Gold Bracelet", + "shipping": "Sold by BHFO", + "star": 2, + "category": "kids" + }, + { + "id": 57, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04852-1Y0000_11_listfront.jpg", + "price": 2620, + "name": "Little Star Kids' Gold Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "kids" + }, + { + "id": 58, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//J/T/JT00742-1YP600_11_listfront.jpg", + "price": 11919, + "name": "Bumblebee Kids' Diamond Bracelet", + "shipping": "Sold by BHFO", + "star": 5, + "category": "kids" + }, + { + "id": 59, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04655-1Y0000_11_listfront.jpg", + "price": 5635, + "name": "Enchanted Unicorn Kids' Gold Earrings ", + "shipping": "Sold by BHFO", + "star": 5, + "category": "kids" + }, + { + "id": 60, + "image": "https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95//U/E/UE04660-1Y0000_11_listfront.jpg", + "price": 5258, + "name": "Pink Strawberry Kids' Stud Gold Earrings", + "shipping": "Sold by BHFO", + "star": 4, + "category": "kids" + } + ] + +} \ No newline at end of file diff --git a/src/components/Arrival/Arrival.jsx b/src/components/Arrival/Arrival.jsx index 1a878bd..e90feab 100644 --- a/src/components/Arrival/Arrival.jsx +++ b/src/components/Arrival/Arrival.jsx @@ -1,21 +1,20 @@ import React from 'react' -import { Box, Text, Image, Checkbox } from '@chakra-ui/react' +import { Box, Image } from '@chakra-ui/react' import Styles from "./Arrival.module.css" -import { Select } from '@chakra-ui/react' import { useState } from 'react' import { useEffect } from 'react' import { useParams } from 'react-router-dom' import findstore from "../../assets/findstoreimg.png" import SingleProduct from '../SingleItem/SingleItem' -import { async } from 'q' + function Arrival() { - let [data, setData] = useState([]); + const [data, setData] = useState([]); const { category } = useParams(); const [heroimg, setHeroimg] = useState("") const [pselect,setPselect] = useState(1) @@ -154,6 +153,6 @@ async function changeCateg(switchcateg){ ) } -export default Arrival +export default Arrival;