From b6e08f56d8d213c5f0265aac4a6a5db285a88c0d Mon Sep 17 00:00:00 2001 From: siddheshhr Date: Mon, 10 Jun 2024 00:28:55 +0530 Subject: [PATCH] initial commit --- src/App.jsx | 86 +++++++++++----------- src/Components/CartItems.jsx | 139 ++++++----------------------------- src/Components/Payment.jsx | 63 ++++++++++++++++ src/Pages/PaymentSucces.jsx | 16 ++++ 4 files changed, 145 insertions(+), 159 deletions(-) create mode 100644 src/Components/Payment.jsx create mode 100644 src/Pages/PaymentSucces.jsx diff --git a/src/App.jsx b/src/App.jsx index 8c8dc71..55665bc 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,54 +1,54 @@ import React from "react"; -import { Route, BrowserRouter as Router, Routes } from "react-router-dom"; -import kids_banner from "./assets/banner_kids.png"; -import men_banner from "./assets/banner_mens.png"; -import women_banner from "./assets/banner_women.png"; -import Footer from "./Components/Footer"; +import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; import Navbar from "./Components/Navbar"; +import Footer from "./Components/Footer"; +import Payment from "./Components/Payment"; +import PaymentSuccess from "./Pages/PaymentSucces"; import PaymentFail from "./Pages/paymentfail"; -import PaymentSuccess from "./Pages/Success"; import Cart from "./Pages/Cart"; import Login from "./Pages/Login"; -import Product from "./Pages/Product"; +import Signup from "./Pages/Signup"; import Shop from "./Pages/Shop"; import ShopCategory from "./Pages/ShopCategory"; +import Product from "./Pages/Product"; import Saved from "./Pages/WishList"; import About from "./Pages/About"; import Contact from "./Pages/Contact"; import CheckNow from "./Components/CheckNow"; -import "./index.css"; -import Signup from "./Pages/Signup"; import NotFound from "./Pages/NotFound"; import Search from "./Pages/Search"; +import kids_banner from "./assets/banner_kids.png"; +import men_banner from "./assets/banner_mens.png"; +import women_banner from "./assets/banner_women.png"; +import "./index.css"; -const App = () => { - return ( - - -
- - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - -
- -
- ); -}; +const App = () => ( + + +
+ + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + +
+
+); const LoginWithFooter = () => ( <> @@ -64,23 +64,23 @@ const SignupWithFooter = () => ( ); -const ProductWithFooter = () => ( +const ShopCategoryWithFooter = ({ banner, category }) => ( <> - +