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 }) => ( <> - +