diff --git a/asset-manifest.json b/asset-manifest.json index 93f7cbd..e921c01 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,8 +1,8 @@ { "files": { "main.css": "/Trend-Shop/static/css/main.7792afbe.chunk.css", - "main.js": "/Trend-Shop/static/js/main.0dde5066.chunk.js", - "main.js.map": "/Trend-Shop/static/js/main.0dde5066.chunk.js.map", + "main.js": "/Trend-Shop/static/js/main.9690bf42.chunk.js", + "main.js.map": "/Trend-Shop/static/js/main.9690bf42.chunk.js.map", "runtime-main.js": "/Trend-Shop/static/js/runtime-main.c93bd567.js", "runtime-main.js.map": "/Trend-Shop/static/js/runtime-main.c93bd567.js.map", "static/css/2.24ed825d.chunk.css": "/Trend-Shop/static/css/2.24ed825d.chunk.css", @@ -21,6 +21,6 @@ "static/css/2.24ed825d.chunk.css", "static/js/2.4c412b13.chunk.js", "static/css/main.7792afbe.chunk.css", - "static/js/main.0dde5066.chunk.js" + "static/js/main.9690bf42.chunk.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 57b8a33..6d863fd 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/static/js/main.0dde5066.chunk.js b/static/js/main.0dde5066.chunk.js deleted file mode 100644 index 96ae428..0000000 --- a/static/js/main.0dde5066.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(this.webpackJsonpecommerce=this.webpackJsonpecommerce||[]).push([[0],{55:function(e,c,t){},56:function(e,c,t){},85:function(e,c,t){"use strict";t.r(c);var s=t(1),a=t(17),l=t.n(a),r=(t(55),t(56),t(20)),i=t.n(r),n=t(26),d=t(8),j=t(28),o=t.n(j),m=t(9),b=t(0);var h=function(){var e=Object(s.useState)([]),c=Object(d.a)(e,2),t=c[0],a=c[1],l=function(){var e=Object(n.a)(i.a.mark((function e(){var c;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.get("https://fakestoreapi.com/products").catch((function(e){console.log("err",e)}));case 2:c=e.sent,a(c.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(s.useEffect)((function(){l()}),[]),Object(b.jsx)("div",{children:Object(b.jsx)("div",{className:"container my-5 py-5",children:Object(b.jsxs)("div",{className:"row",children:[Object(b.jsxs)("div",{className:"col-12 mb-5",children:[Object(b.jsx)("h1",{className:"display-6 fw-bolder text-center",children:"Latest Products"}),Object(b.jsx)("hr",{})]}),t.map((function(e){return Object(b.jsx)("div",{className:"col-md-3 mb-4",children:Object(b.jsxs)("div",{className:"card h-100 text-center p-4",children:[Object(b.jsx)("img",{src:e.image,className:"card-img-top",alt:e.title,height:"250px"}),Object(b.jsxs)("div",{className:"card-body",children:[Object(b.jsxs)("h5",{className:"card-title",children:[e.title.substring(0,12),"..."]}),Object(b.jsxs)("p",{className:"card-text fw-bold",children:["Rs.",70*e.price]}),Object(b.jsx)(m.b,{to:"/products/".concat(e.id),className:"btn btn-outline-danger",children:"Buy Now"})]})]})},e.id)}))]})})})},x=function(){return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsx)("div",{className:"hero",children:Object(b.jsxs)("div",{className:"card bg-dark text-white border-0",children:[Object(b.jsx)("img",{src:"/assets/bg.jpg",className:"card-img",alt:"Background",height:"550px"}),Object(b.jsx)("div",{className:"card-img-overlay d-flex flex-column ",children:Object(b.jsxs)("div",{className:"container ",children:[Object(b.jsx)("h5",{className:"card-title display-3 fw-bolder mb-2",style:{paddingLeft:"400px",paddingTop:"350px"},children:"NEW SEASON ARRIVAL"}),Object(b.jsx)("p",{className:"card-text fs-3",style:{paddingLeft:"550px"},children:"Check Out All The TRENDS"})]})})]})}),Object(b.jsx)(h,{})]})},O=t(18),u=t(89),p=t(87),N=t(88),f=function(){var e=Object(s.useState)(!1),c=Object(d.a)(e,2),t=c[0],a=c[1];return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsxs)(u.a,{variant:"outline-dark",style:{color:"white"},onClick:function(){return a(!0)},children:[Object(b.jsx)("i",{className:"fa fa-sign-in"})," Login"]}),Object(b.jsx)(p.a,{show:t,onHide:function(){return a(!1)},children:Object(b.jsxs)(N.a,{className:"container mb-2 py-3 mx-auto",children:[Object(b.jsx)("h2",{children:"LOGIN"}),Object(b.jsx)("hr",{}),Object(b.jsxs)(u.a,{variant:"outline-dark ",className:"w-100 mb-2 ",type:"submit",children:[Object(b.jsx)("span",{className:"fa fa-google me-2"}),"Sign In With Google"]}),Object(b.jsxs)(u.a,{variant:"outline-dark ",className:"w-100 mb-2 ",type:"submit",children:[Object(b.jsx)("span",{className:"fa fa-facebook me-2"}),"Sign In With Facebook"]}),Object(b.jsxs)(N.a.Group,{className:"mb-4 mt-2",controlId:"formBasicEmail",children:[Object(b.jsx)(N.a.Label,{children:"Email address"}),Object(b.jsx)(N.a.Control,{type:"email",placeholder:"Enter email"}),Object(b.jsx)(N.a.Text,{className:"text-muted",children:"We'll never share your email with anyone else."})]}),Object(b.jsxs)(N.a.Group,{className:"mb-4",controlId:"formBasicPassword",children:[Object(b.jsx)(N.a.Label,{children:"Password"}),Object(b.jsx)(N.a.Control,{type:"password",placeholder:"Password"})]}),Object(b.jsx)(N.a.Group,{className:"mb-4",controlId:"formBasicCheckbox",children:Object(b.jsx)(N.a.Check,{type:"checkbox",label:"Check me out"})}),Object(b.jsx)(u.a,{variant:"outline-dark ",className:"w-100 mt-5",type:"submit",children:"LOGIN"})]})})]})},v=function(){var e=Object(s.useState)(!1),c=Object(d.a)(e,2),t=c[0],a=c[1];return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsxs)(u.a,{variant:"outline-dark",style:{color:"white"},onClick:function(){return a(!0)},className:"ms-2",children:[Object(b.jsx)("i",{className:"fa fa-user-plus"})," Register"]}),Object(b.jsx)(p.a,{show:t,onHide:function(){return a(!1)},children:Object(b.jsxs)(N.a,{className:"container mb-2 py-3 mx-auto",children:[Object(b.jsx)("h2",{children:"REGISTER"}),Object(b.jsx)("hr",{}),Object(b.jsxs)(u.a,{variant:"outline-dark ",className:"w-100 mb-2 ",type:"submit",children:[Object(b.jsx)("span",{className:"fa fa-google me-2"}),"Sign Up With Google"]}),Object(b.jsxs)(u.a,{variant:"outline-dark ",className:"w-100 mb-2 ",type:"submit",children:[Object(b.jsx)("span",{className:"fa fa-facebook me-2"}),"Sign Up With Facebook"]}),Object(b.jsxs)(N.a.Group,{className:"mb-4 mt-2",controlId:"formBasicEmail",children:[Object(b.jsx)(N.a.Label,{children:"Username"}),Object(b.jsx)(N.a.Control,{type:"text",placeholder:"Enter Username"})]}),Object(b.jsxs)(N.a.Group,{className:"mb-4 mt-2",controlId:"formBasicEmail",children:[Object(b.jsx)(N.a.Label,{children:"Email address"}),Object(b.jsx)(N.a.Control,{type:"email",placeholder:"Enter email"}),Object(b.jsx)(N.a.Text,{className:"text-muted",children:"We'll never share your email with anyone else."})]}),Object(b.jsxs)(N.a.Group,{className:"mb-4",controlId:"formBasicPassword",children:[Object(b.jsx)(N.a.Label,{children:"Password"}),Object(b.jsx)(N.a.Control,{type:"password",placeholder:"Password"})]}),Object(b.jsx)(N.a.Group,{className:"mb-4",controlId:"formBasicCheckbox",children:Object(b.jsx)(N.a.Check,{type:"checkbox",label:"Check me out"})}),Object(b.jsx)(u.a,{variant:"outline-dark ",className:"w-100 mt-2",type:"submit",children:"REGISTER"})]})})]})},y=function(){var e=Object(O.c)((function(e){return e.handleCart}));return Object(b.jsx)(b.Fragment,{children:Object(b.jsx)("div",{children:Object(b.jsx)("nav",{style:{color:"white"},className:"navbar navbar-expand-lg navbar-light bg-black shadow-sm py-3",children:Object(b.jsxs)("div",{className:"container",style:{color:"white"},children:[Object(b.jsx)(m.b,{className:"navbar-brand fw-bold fs-4",to:"/Trend-Shop",style:{color:"white"},children:"TREND-SHOP"}),Object(b.jsxs)("div",{className:"collapse navbar-collapse text-center",id:"navbarSupportedContent",children:[Object(b.jsxs)("ul",{className:"navbar-nav mx-auto mb-2 mb-lg-0 ",children:[Object(b.jsx)("li",{className:"nav-item",children:Object(b.jsx)(m.b,{className:"nav-link active","aria-current":"page",to:"/Trend-Shop",style:{color:"white"},children:"Home"})}),Object(b.jsx)("li",{className:"nav-item",children:Object(b.jsx)(m.b,{className:"nav-link",to:"/products",style:{color:"white"},children:"Products"})}),Object(b.jsx)("li",{className:"nav-item",children:Object(b.jsx)(m.b,{className:"nav-link",to:"/about",style:{color:"white"},children:"About"})}),Object(b.jsx)("li",{className:"nav-item",children:Object(b.jsx)(m.b,{className:"nav-link",to:"/contact",style:{color:"white"},children:"Contact"})})]}),Object(b.jsxs)("div",{className:"buttons",children:[Object(b.jsx)(f,{}),Object(b.jsx)(v,{}),Object(b.jsx)("button",{className:"btn",children:Object(b.jsxs)(m.b,{to:"/cart",className:"btn btn-outline-dark",style:{color:"white"},children:[Object(b.jsx)("i",{className:"fa fa-shopping-cart"})," Cart (",e.length,")"]})})]})]})]})})})})},g=t(7),k=function(){var e=Object(g.f)().id,c=Object(s.useState)([]),t=Object(d.a)(c,2),a=t[0],l=t[1],r=Object(O.b)(),j=function(){var c=Object(n.a)(i.a.mark((function c(){var t;return i.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,o.a.get("https://fakestoreapi.com/products/".concat(e)).catch((function(e){console.log(e)}));case 2:t=c.sent,l(t.data);case 4:case"end":return c.stop()}}),c)})));return function(){return c.apply(this,arguments)}}();return Object(s.useEffect)((function(){j()}),[]),Object(b.jsx)("div",{children:Object(b.jsx)("div",{className:"container py-5",children:Object(b.jsxs)("div",{className:"row py-4",children:[Object(b.jsx)("div",{className:"col-md-6",children:Object(b.jsx)("img",{src:a.image,alt:a.title,height:"400px",width:"400px"})}),Object(b.jsxs)("div",{className:"col-md-6",children:[Object(b.jsx)("h4",{className:"text-uppercase text-black-50",children:a.category}),Object(b.jsx)("h1",{className:"display-5",children:a.title}),Object(b.jsxs)("p",{className:"fw-bolder",children:["Rating ",a.rating&&a.rating.rate,Object(b.jsx)("i",{className:"fa fa-star"})]}),Object(b.jsxs)("h3",{className:"display-6 fw-bold my-4",children:["RS. ",70*a.price]}),Object(b.jsx)("p",{className:"lead",children:a.description}),Object(b.jsx)("button",{className:"btn btn-outline-dark px-4 py-2",onClick:function(){return function(e){r(function(e){return{type:"ADDITEM",payload:e}}(e))}(a)},children:"Add to Cart"}),Object(b.jsx)(m.b,{to:"/cart",className:"btn btn-dark px-4 py-2 ms-2",children:"Go to Cart"})]})]})},a.key)})},w=function(){var e=Object(O.c)((function(e){return e.handleCart})),c=Object(O.b)();return Object(b.jsxs)(b.Fragment,{children:[0==e.length&&Object(b.jsx)(b.Fragment,{children:Object(b.jsx)("div",{className:"px-4 my-5 bg-light rounded-3 py-5",children:Object(b.jsx)("div",{className:"container py-4",children:Object(b.jsx)("div",{className:"row justify-content-center",children:Object(b.jsx)("h3",{children:"Your Cart Is Empty"})})})})}),0!==e.length&&e.map((function(e){return Object(b.jsx)("div",{className:"px-4 my-5 bg-light rounded-3",children:Object(b.jsxs)("div",{className:"container py-4",children:[Object(b.jsx)("button",{onClick:function(){c({type:"DELITEM",payload:e})},className:"btn-close float-end","aria-label":"Close"}),Object(b.jsxs)("div",{className:"row justify-content-center",children:[Object(b.jsx)("div",{className:"col-md-4",children:Object(b.jsx)("img",{src:e.image,alt:e.title,width:"200",height:"200"})}),Object(b.jsxs)("div",{className:"col-md-4",children:[Object(b.jsx)("h3",{children:e.title}),Object(b.jsxs)("p",{className:"lead fw-bolder",children:[" Rs. ",70*e.price]})]})]})]})},e.id)})),Object(b.jsx)("br",{}),0!==e.length&&Object(b.jsx)("div",{className:"container",children:Object(b.jsx)("div",{className:"row",children:Object(b.jsx)(m.b,{to:"/checkout",className:"btn btn-outline-primary mb-5 w-25 mx-auto",children:"Proceed To CheckOut"})})})]})},C=t(29),F=[],q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case"ADDITEM":return[].concat(Object(C.a)(e),[c.payload]);case"DELITEM":return e.filter((function(e){return e.id!==c.payload.id}));default:return e}};var E=function(){var e=Object(O.c)((function(e){return e.handleCart})),c=0;return Object(b.jsx)(b.Fragment,{children:Object(b.jsx)("div",{className:"container my-5",children:Object(b.jsxs)("div",{className:"row g-5",children:[Object(b.jsxs)("div",{className:"col-md-5 col-lg-4 order-md-last",children:[Object(b.jsxs)("h4",{className:"d-flex justify-content-between align-items-center mb-3",children:[Object(b.jsx)("span",{className:"text-primary",children:"Your cart"}),Object(b.jsx)("span",{className:"badge bg-primary rounded-pill",children:e.length})]}),Object(b.jsxs)("ul",{className:"list-group mb-3",children:[e.map((function(e){return c+=70*e.price,Object(b.jsxs)("li",{className:"list-group-item d-flex justify-content-between lh-sm",children:[Object(b.jsx)("div",{children:Object(b.jsxs)("h6",{className:"my-0",children:[e.title.substring(0,22),"..."]})}),Object(b.jsxs)("span",{className:"text-muted",children:["Rs. ",70*e.price]})]})})),Object(b.jsxs)("li",{className:"list-group-item d-flex justify-content-between",children:[Object(b.jsx)("span",{children:"Total (Rs)"}),Object(b.jsxs)("strong",{children:["Rs. ",c]})]})]}),Object(b.jsx)("form",{className:"card p-2",children:Object(b.jsxs)("div",{className:"input-group",children:[Object(b.jsx)("input",{type:"text",className:"form-control",placeholder:"Promo code"}),Object(b.jsx)("button",{type:"submit",className:"btn btn-secondary",children:"Redeem"})]})})]}),Object(b.jsxs)("div",{className:"col-md-7 col-lg-8",children:[Object(b.jsx)("h4",{className:"mb-3",children:"Billing address"}),Object(b.jsxs)("form",{className:"needs-validation",novalidate:"",children:[Object(b.jsxs)("div",{className:"row g-3",children:[Object(b.jsxs)("div",{className:"col-sm-6",children:[Object(b.jsx)("label",{htmlFor:"firstName",className:"form-label",children:"First name"}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"firstName",placeholder:"",value:"",required:""}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Valid first name is required."})]}),Object(b.jsxs)("div",{className:"col-sm-6",children:[Object(b.jsx)("label",{htmlFor:"lastName",className:"form-label",children:"Last name"}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"lastName",placeholder:"",value:"",required:""}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Valid last name is required."})]}),Object(b.jsxs)("div",{className:"col-12",children:[Object(b.jsx)("label",{htmlFor:"username",className:"form-label",children:"Username"}),Object(b.jsxs)("div",{className:"input-group has-validation",children:[Object(b.jsx)("span",{className:"input-group-text",children:"@"}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"username",placeholder:"Username",required:""}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Your username is required."})]})]}),Object(b.jsxs)("div",{className:"col-12",children:[Object(b.jsxs)("label",{htmlFor:"email",className:"form-label",children:["Email ",Object(b.jsx)("span",{className:"text-muted",children:"(Optional)"})]}),Object(b.jsx)("input",{type:"email",className:"form-control",id:"email",placeholder:"you@example.com"}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Please enter a valid email address for shipping updates."})]}),Object(b.jsxs)("div",{className:"col-12",children:[Object(b.jsx)("label",{htmlFor:"address",className:"form-label",children:"Address"}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"address",placeholder:"1234 Main St",required:""}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Please enter your shipping address."})]}),Object(b.jsxs)("div",{className:"col-12",children:[Object(b.jsxs)("label",{htmlFor:"address2",className:"form-label",children:["Address 2 ",Object(b.jsx)("span",{className:"text-muted",children:"(Optional)"})]}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"address2",placeholder:"Apartment or suite"})]}),Object(b.jsxs)("div",{className:"col-md-5",children:[Object(b.jsx)("label",{htmlFor:"country",className:"form-label",children:"Country"}),Object(b.jsxs)("select",{className:"form-select",id:"country",required:"",children:[Object(b.jsx)("option",{value:"",children:"Choose..."}),Object(b.jsx)("option",{children:"United States"})]}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Please select a valid country."})]}),Object(b.jsxs)("div",{className:"col-md-4",children:[Object(b.jsx)("label",{htmlFor:"state",className:"form-label",children:"State"}),Object(b.jsxs)("select",{className:"form-select",id:"state",required:"",children:[Object(b.jsx)("option",{value:"",children:"Choose..."}),Object(b.jsx)("option",{children:"California"})]}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Please provide a valid state."})]}),Object(b.jsxs)("div",{className:"col-md-3",children:[Object(b.jsx)("label",{htmlFor:"zip",className:"form-label",children:"Zip"}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"zip",placeholder:"",required:""}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Zip code required."})]})]}),Object(b.jsx)("hr",{className:"my-4"}),Object(b.jsxs)("div",{className:"form-check",children:[Object(b.jsx)("input",{type:"checkbox",className:"form-check-input",id:"same-address"}),Object(b.jsx)("label",{className:"form-check-label",htmlFor:"same-address",children:"Shipping address is the same as my billing address"})]}),Object(b.jsxs)("div",{className:"form-check",children:[Object(b.jsx)("input",{type:"checkbox",className:"form-check-input",id:"save-info"}),Object(b.jsx)("label",{className:"form-check-label",htmlFor:"save-info",children:"Save this information for next time"})]}),Object(b.jsx)("hr",{className:"my-4"}),Object(b.jsx)("h4",{className:"mb-3",children:"Payment"}),Object(b.jsxs)("div",{className:"my-3",children:[Object(b.jsxs)("div",{className:"form-check",children:[Object(b.jsx)("input",{id:"credit",name:"paymentMethod",type:"radio",className:"form-check-input",checked:"",required:""}),Object(b.jsx)("label",{className:"form-check-label",htmlFor:"credit",children:"Credit card"})]}),Object(b.jsxs)("div",{className:"form-check",children:[Object(b.jsx)("input",{id:"debit",name:"paymentMethod",type:"radio",className:"form-check-input",required:""}),Object(b.jsx)("label",{className:"form-check-label",htmlFor:"debit",children:"Debit card"})]}),Object(b.jsxs)("div",{className:"form-check",children:[Object(b.jsx)("input",{id:"paypal",name:"paymentMethod",type:"radio",className:"form-check-input",required:""}),Object(b.jsx)("label",{className:"form-check-label",htmlFor:"paypal",children:"PayPal"})]})]}),Object(b.jsxs)("div",{className:"row gy-3",children:[Object(b.jsxs)("div",{className:"col-md-6",children:[Object(b.jsx)("label",{htmlFor:"cc-name",className:"form-label",children:"Name on card"}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"cc-name",placeholder:"",required:""}),Object(b.jsx)("small",{className:"text-muted",children:"Full name as displayed on card"}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Name on card is required"})]}),Object(b.jsxs)("div",{className:"col-md-6",children:[Object(b.jsx)("label",{htmlFor:"cc-number",className:"form-label",children:"Credit card number"}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"cc-number",placeholder:"",required:""}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Credit card number is required"})]}),Object(b.jsxs)("div",{className:"col-md-3",children:[Object(b.jsx)("label",{htmlFor:"cc-expiration",className:"form-label",children:"Expiration"}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"cc-expiration",placeholder:"",required:""}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Expiration date required"})]}),Object(b.jsxs)("div",{className:"col-md-3",children:[Object(b.jsx)("label",{htmlFor:"cc-cvv",className:"form-label",children:"CVV"}),Object(b.jsx)("input",{type:"text",className:"form-control",id:"cc-cvv",placeholder:"",required:""}),Object(b.jsx)("div",{className:"invalid-feedback",children:"Security code required"})]})]}),Object(b.jsx)("hr",{className:"my-4"}),Object(b.jsx)("button",{className:"w-100 btn btn-primary btn-lg",type:"submit",children:"Continue to checkout"})]})]})]})})})},S=function(){return Object(b.jsxs)(b.Fragment,{children:[Object(b.jsx)("br",{}),Object(b.jsx)("br",{}),Object(b.jsx)("br",{}),Object(b.jsxs)("div",{style:{backgroundColor:"black",color:"white"},children:[Object(b.jsx)("br",{}),Object(b.jsx)("div",{className:"container",children:Object(b.jsxs)("footer",{className:"py-2",children:[Object(b.jsxs)("div",{className:"row",children:[Object(b.jsxs)("div",{className:"col-6",children:[Object(b.jsx)("h5",{children:"Section"}),Object(b.jsxs)("ul",{className:"nav flex-column",children:[Object(b.jsx)("li",{className:"nav-item mb-2",children:Object(b.jsx)(m.b,{to:"/Trend-Shop",className:"nav-link p-0 text-muted",children:"Home"})}),Object(b.jsx)("li",{className:"nav-item mb-2",children:Object(b.jsx)(m.b,{to:"/products",className:"nav-link p-0 text-muted",children:"Products"})}),Object(b.jsx)("li",{className:"nav-item mb-2",children:Object(b.jsx)(m.b,{to:"/contact",className:"nav-link p-0 text-muted",children:"Contact"})}),Object(b.jsx)("li",{className:"nav-item mb-2",children:Object(b.jsx)("a",{href:"#",className:"nav-link p-0 text-muted",children:"FAQs"})}),Object(b.jsx)("li",{className:"nav-item mb-2",children:Object(b.jsx)(m.b,{to:"/about",className:"nav-link p-0 text-muted",children:"About"})})]})]}),Object(b.jsx)("div",{className:"col-4 offset-1",children:Object(b.jsxs)("form",{children:[Object(b.jsx)("h5",{children:"Subscribe to our newsletter"}),Object(b.jsx)("p",{children:"Monthly digest of whats new and exciting from us."}),Object(b.jsxs)("div",{className:"d-flex w-100 gap-2",children:[Object(b.jsx)("label",{for:"newsletter1",className:"visually-hidden",children:"Email address"}),Object(b.jsx)("input",{id:"newsletter1",type:"text",className:"form-control",placeholder:"Email address"}),Object(b.jsx)("button",{className:"btn btn-primary",type:"button",children:"Subscribe"})]})]})})]}),Object(b.jsx)("br",{}),Object(b.jsx)("div",{className:"d-flex justify-content-center py-1 my-1 fw-bold border-top",children:Object(b.jsx)("p",{children:"\xa9 2021 TREND_SHOP. Inc. All rights reserved."})})]})})]})]})},I=function(){return Object(b.jsx)("div",{children:Object(b.jsx)("div",{className:"container my-5 justify-content-center",children:Object(b.jsxs)("div",{className:"row g-5 justify-content-center",children:[Object(b.jsx)("h2",{style:{textAlign:"center"},children:"About Us"}),Object(b.jsx)("br",{}),Object(b.jsx)("h4",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}),Object(b.jsx)("br",{}),Object(b.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}),Object(b.jsx)("br",{}),Object(b.jsx)("button",{className:"btn btn-outline-warning w-25",children:"Get in Touch"})]})})})},T=function(){return Object(b.jsx)(b.Fragment,{children:Object(b.jsxs)("div",{className:"container mb-5",children:[Object(b.jsx)("div",{className:"row",children:Object(b.jsxs)("div",{className:"col-12 text-center py-4 my-4",children:[Object(b.jsx)("h1",{children:"Have Some Questions ?"}),Object(b.jsx)("hr",{})]})}),Object(b.jsxs)("div",{className:"row",children:[Object(b.jsx)("div",{className:"col-md-5 justify-content-center",children:Object(b.jsx)("img",{src:"/assets/contact.jpg",alt:"Contact",width:"340px",height:"340px"})}),Object(b.jsx)("div",{className:"col-md-6",children:Object(b.jsxs)("form",{children:[Object(b.jsxs)("div",{className:"mb-3",children:[Object(b.jsx)("label",{for:"exampleFormControlInput1",className:"form-label",children:"Full Name"}),Object(b.jsx)("input",{type:"text",className:"form-control",placeholder:"Sharad Pawar"})]}),Object(b.jsxs)("div",{className:"mb-3",children:[Object(b.jsx)("label",{for:"exampleFormControlInput1",className:"form-label",children:"Email address"}),Object(b.jsx)("input",{type:"email",className:"form-control",id:"exampleFormControlInput1",placeholder:"name@example.com"})]}),Object(b.jsxs)("div",{className:"mb-3",children:[Object(b.jsx)("label",{for:"exampleFormControlTextarea1",className:"form-label",children:"Example textarea"}),Object(b.jsx)("textarea",{className:"form-control",id:"exampleFormControlTextarea1",rows:"3"})]}),Object(b.jsx)("button",{type:"submit",class:"btn btn-outline-dark",children:"Send Message"})]})})]})]})})};var P=function(){return Object(b.jsx)(b.Fragment,{children:Object(b.jsxs)(m.a,{children:[Object(b.jsx)(y,{}),Object(b.jsxs)(g.c,{children:[Object(b.jsxs)(g.a,{exact:!0,path:"/Trend-Shop",children:[Object(b.jsx)(x,{})," "]}),Object(b.jsxs)(g.a,{exact:!0,path:"/products",children:[Object(b.jsx)(h,{})," "]}),Object(b.jsxs)(g.a,{exact:!0,path:"/products/:id",children:[Object(b.jsx)(k,{})," "]}),Object(b.jsxs)(g.a,{exact:!0,path:"/cart",children:[Object(b.jsx)(w,{})," "]}),Object(b.jsx)(g.a,{exact:!0,path:"/checkout",children:Object(b.jsx)(E,{})}),Object(b.jsx)(g.a,{exact:!0,path:"/about",children:Object(b.jsx)(I,{})}),Object(b.jsx)(g.a,{exact:!0,path:"/contact",children:Object(b.jsx)(T,{})})]}),Object(b.jsx)(S,{})]})})},L=function(e){e&&e instanceof Function&&t.e(3).then(t.bind(null,90)).then((function(c){var t=c.getCLS,s=c.getFID,a=c.getFCP,l=c.getLCP,r=c.getTTFB;t(e),s(e),a(e),l(e),r(e)}))},R=(t(83),t(84),t(30)),A=Object(R.a)({handleCart:q}),G=Object(R.b)(A);l.a.render(Object(b.jsx)(O.a,{store:G,children:Object(b.jsx)(P,{})}),document.getElementById("root")),L()}},[[85,1,2]]]); -//# sourceMappingURL=main.0dde5066.chunk.js.map \ No newline at end of file diff --git a/static/js/main.0dde5066.chunk.js.map b/static/js/main.0dde5066.chunk.js.map deleted file mode 100644 index 99b1602..0000000 --- a/static/js/main.0dde5066.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["Components/Products.js","Components/Home.js","Components/Login.js","Components/Signup.js","Components/Navbar.js","Components/Product.js","Redux/Action/index.js","Components/Cart.js","Redux/Reducer/handleCart.js","Components/CheckOut.js","Components/Footer.js","Components/About.js","Components/Contact.js","App.js","reportWebVitals.js","Redux/Reducer/index.js","Redux/store.js","index.js"],"names":["Products","useState","state","setstate","getData","a","axios","get","catch","err","console","log","res","data","useEffect","className","map","ele","src","image","alt","title","height","substring","price","to","id","Home","style","paddingLeft","paddingTop","Login","show","setShow","Button","variant","color","onClick","Modal","onHide","Form","type","Group","controlId","Label","Control","placeholder","Text","Check","label","Signup","Navbar","useSelector","handleCart","length","Product","useParams","product","setProduct","dispatch","useDispatch","response","width","category","rating","rate","description","payload","addcart","addProduct","key","Cart","cartItems","cart","action","filter","x","CheckOut","total","item","novalidate","htmlFor","value","required","name","checked","Footer","backgroundColor","href","for","About","textAlign","Contact","rows","class","App","exact","path","reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB","rootReducer","combineReducers","store","createStore","ReactDOM","render","document","getElementById"],"mappings":"iQA0DeA,MAtDf,WACE,MAA0BC,mBAAS,IAAnC,mBAAOC,EAAP,KAAcC,EAAd,KACMC,EAAO,uCAAG,4BAAAC,EAAA,sEACIC,IACfC,IAAI,qCACJC,OAAM,SAACC,GACNC,QAAQC,IAAI,MAAOF,MAJT,OACRG,EADQ,OAOdT,EAASS,EAAIC,MAPC,2CAAH,qDAab,OAJAC,qBAAU,WACRV,MACC,IAGD,8BACE,qBAAKW,UAAU,sBAAf,SACE,sBAAKA,UAAU,MAAf,UACE,sBAAKA,UAAU,cAAf,UACE,oBAAIA,UAAU,kCAAd,6BACA,0BAGDb,EAAMc,KAAI,SAACC,GAAD,OACT,qBAAKF,UAAU,gBAAf,SACE,sBAAKA,UAAU,6BAAf,UACE,qBACEG,IAAKD,EAAIE,MACTJ,UAAU,eACVK,IAAKH,EAAII,MACTC,OAAO,UAET,sBAAKP,UAAU,YAAf,UACE,qBAAIA,UAAU,aAAd,UACGE,EAAII,MAAME,UAAU,EAAG,IAD1B,SAGA,oBAAGR,UAAU,oBAAb,gBAAiD,GAAZE,EAAIO,SACzC,cAAC,IAAD,CACEC,GAAE,oBAAeR,EAAIS,IACrBX,UAAU,yBAFZ,4BAb8BE,EAAIS,eCKrCC,EA/BF,WACX,OACE,qCACE,qBAAKZ,UAAU,OAAf,SACE,sBAAKA,UAAU,mCAAf,UACE,qBACEG,IAAI,iB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,YAAkD,IAA/CC,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAON,GACPO,EAAQP,O,sBCACQ,EAJKC,YAAgB,CAClCvD,eCAawD,EAFDC,YAAYH,GCQ1BI,IAASC,OACP,cAAC,IAAD,CAAUH,MAAOA,EAAjB,SACE,cAAC,EAAD,MAEFI,SAASC,eAAe,SAG1BhB,M","file":"static/js/main.0dde5066.chunk.js","sourcesContent":["import axios from \"axios\";\r\nimport React, { useState, useEffect } from \"react\";\r\nimport { NavLink } from \"react-router-dom\";\r\n\r\nfunction Products() {\r\n const [state, setstate] = useState([]);\r\n const getData = async () => {\r\n const res = await axios\r\n .get(\"https://fakestoreapi.com/products\")\r\n .catch((err) => {\r\n console.log(\"err\", err);\r\n });\r\n\r\n setstate(res.data);\r\n };\r\n useEffect(() => {\r\n getData();\r\n }, []);\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n

Latest Products

\r\n
\r\n
\r\n\r\n {state.map((ele) => (\r\n
\r\n
\r\n \r\n
\r\n
\r\n {ele.title.substring(0, 12)}...\r\n
\r\n

Rs.{ele.price * 70}

\r\n \r\n Buy Now\r\n \r\n
\r\n
\r\n
\r\n ))}\r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default Products;\r\n","import React from \"react\";\r\nimport Products from \"./Products\";\r\n\r\nconst Home = () => {\r\n return (\r\n <>\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n NEW SEASON ARRIVAL\r\n \r\n

\r\n Check Out All The TRENDS\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default Home;\r\n","import React, { useState } from \"react\";\r\nimport { Modal, Button, Form } from \"react-bootstrap\";\r\n\r\nconst Login = () => {\r\n const [show, setShow] = useState(false);\r\n\r\n const handleClose = () => setShow(false);\r\n const handleShow = () => setShow(true);\r\n return (\r\n <>\r\n \r\n Login\r\n \r\n\r\n \r\n
\r\n

LOGIN

\r\n
\r\n \r\n \r\n \r\n Email address\r\n \r\n \r\n We'll never share your email with anyone else.\r\n \r\n \r\n \r\n Password\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default Login;\r\n","import React, { useState } from \"react\";\r\nimport { Modal, Button, Form } from \"react-bootstrap\";\r\n\r\nconst Signup = () => {\r\n const [show, setShow] = useState(false);\r\n\r\n const handleClose = () => setShow(false);\r\n const handleShow = () => setShow(true);\r\n return (\r\n <>\r\n \r\n Register\r\n \r\n\r\n \r\n
\r\n

REGISTER

\r\n
\r\n \r\n \r\n \r\n Username\r\n \r\n \r\n \r\n Email address\r\n \r\n \r\n We'll never share your email with anyone else.\r\n \r\n \r\n \r\n Password\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default Signup;\r\n","import React from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { NavLink } from \"react-router-dom\";\r\nimport Login from \"./Login\";\r\nimport Signup from \"./Signup\";\r\nconst Navbar = () => {\r\n const state = useSelector((state) => state.handleCart);\r\n return (\r\n <>\r\n
\r\n \r\n
\r\n \r\n TREND-SHOP\r\n \r\n \r\n
    \r\n
  • \r\n \r\n Home\r\n \r\n
  • \r\n
  • \r\n \r\n Products\r\n \r\n
  • \r\n
  • \r\n \r\n About\r\n \r\n
  • \r\n
  • \r\n \r\n Contact\r\n \r\n
  • \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default Navbar;\r\n","import axios from \"axios\";\r\nimport React, { useState, useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { useParams } from \"react-router\";\r\nimport { NavLink } from \"react-router-dom\";\r\nimport { addcart } from \"../Redux/Action\";\r\n\r\nconst Product = () => {\r\n const { id } = useParams();\r\n const [product, setProduct] = useState([]);\r\n\r\n const dispatch = useDispatch();\r\n\r\n const addProduct = (product) => {\r\n dispatch(addcart(product));\r\n };\r\n\r\n const getData = async () => {\r\n const response = await axios\r\n .get(`https://fakestoreapi.com/products/${id}`)\r\n .catch((err) => {\r\n console.log(err);\r\n });\r\n\r\n setProduct(response.data);\r\n };\r\n useEffect(() => {\r\n getData();\r\n }, []);\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

{product.category}

\r\n

{product.title}

\r\n

\r\n Rating {product.rating && product.rating.rate}\r\n \r\n

\r\n

RS. {product.price * 70}

\r\n

{product.description}

\r\n addProduct(product)}\r\n >\r\n Add to Cart\r\n \r\n \r\n Go to Cart\r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default Product;\r\n","export const addcart = (product) => {\r\n return {\r\n type: \"ADDITEM\",\r\n payload: product,\r\n };\r\n};\r\n\r\nexport const delcart = (product) => {\r\n return {\r\n type: \"DELITEM\",\r\n payload: product,\r\n };\r\n};\r\n","import React from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { NavLink } from \"react-router-dom\";\r\nimport { delcart } from \"../Redux/Action\";\r\n\r\nconst Cart = () => {\r\n const state = useSelector((state) => state.handleCart);\r\n const dispatch = useDispatch();\r\n\r\n const handleCut = (item) => {\r\n dispatch(delcart(item));\r\n };\r\n\r\n const emptyCart = () => {\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n

Your Cart Is Empty

\r\n
\r\n
\r\n
\r\n \r\n );\r\n };\r\n const button = () => {\r\n return (\r\n
\r\n
\r\n \r\n Proceed To CheckOut\r\n \r\n
\r\n
\r\n );\r\n };\r\n\r\n return (\r\n <>\r\n {state.length == 0 && emptyCart()}\r\n {state.length !== 0 &&\r\n state.map((cartItems) => (\r\n
\r\n
\r\n handleCut(cartItems)}\r\n className=\"btn-close float-end\"\r\n aria-label=\"Close\"\r\n >\r\n
\r\n
\r\n \r\n
\r\n
\r\n

{cartItems.title}

\r\n

Rs. {cartItems.price * 70}

\r\n
\r\n
\r\n
\r\n
\r\n ))}\r\n

\r\n {state.length !== 0 && button()}\r\n \r\n );\r\n};\r\n\r\nexport default Cart;\r\n","const cart = [];\r\n\r\nconst handleCart = (state = cart, action) => {\r\n switch (action.type) {\r\n case \"ADDITEM\":\r\n return [...state, action.payload];\r\n\r\n break;\r\n\r\n case \"DELITEM\":\r\n return (state = state.filter((x) => {\r\n return x.id !== action.payload.id;\r\n }));\r\n break;\r\n\r\n default:\r\n return state;\r\n break;\r\n }\r\n};\r\n\r\nexport default handleCart;\r\n","import React from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport handleCart from \"../Redux/Reducer/handleCart\";\r\n\r\nfunction CheckOut() {\r\n const state = useSelector((state) => state.handleCart);\r\n\r\n let total = 0;\r\n const itemList = (item) => {\r\n total = total + item.price * 70;\r\n return (\r\n
  • \r\n
    \r\n
    {item.title.substring(0, 22)}...
    \r\n
    \r\n Rs. {item.price * 70}\r\n
  • \r\n );\r\n };\r\n return (\r\n <>\r\n
    \r\n
    \r\n
    \r\n

    \r\n Your cart\r\n \r\n {state.length}\r\n \r\n

    \r\n
      \r\n {state.map(itemList)}\r\n
    • \r\n Total (Rs)\r\n Rs. {total}\r\n
    • \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    Billing address

    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n Valid first name is required.\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n Valid last name is required.\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n @\r\n \r\n
    \r\n Your username is required.\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n Please enter a valid email address for shipping updates.\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n Please enter your shipping address.\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n Please select a valid country.\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n Please provide a valid state.\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    Zip code required.
    \r\n
    \r\n
    \r\n\r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n\r\n
    \r\n\r\n

    Payment

    \r\n\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n \r\n \r\n Full name as displayed on card\r\n \r\n
    \r\n Name on card is required\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n Credit card number is required\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n Expiration date required\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    Security code required
    \r\n
    \r\n
    \r\n\r\n
    \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n}\r\n\r\nexport default CheckOut;\r\n","import React from \"react\";\r\nimport { NavLink } from \"react-router-dom\";\r\n\r\nconst Footer = () => {\r\n return (\r\n <>\r\n

    \r\n

    \r\n

    \r\n
    \r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Section
    \r\n
      \r\n
    • \r\n \r\n Home\r\n \r\n
    • \r\n
    • \r\n \r\n Products\r\n \r\n
    • \r\n
    • \r\n \r\n Contact\r\n \r\n
    • \r\n
    • \r\n \r\n FAQs\r\n \r\n
    • \r\n
    • \r\n \r\n About\r\n \r\n
    • \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n
    Subscribe to our newsletter
    \r\n

    Monthly digest of whats new and exciting from us.

    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n
    \r\n

    © 2021 TREND_SHOP. Inc. All rights reserved.

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default Footer;\r\n","import React from \"react\";\r\n\r\nconst About = () => {\r\n return (\r\n
    \r\n
    \r\n
    \r\n

    About Us

    \r\n

    \r\n

    \r\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\r\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\r\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\r\n aliquip ex ea commodo consequat.\r\n

    \r\n

    \r\n

    \r\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\r\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\r\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\r\n aliquip ex ea commodo consequat. Excepteur sint occaecat cupidatat\r\n non proident, sunt in culpa qui officia deserunt mollit anim id est\r\n laborum consectetur adipiscing elit, sed do eiusmod tempor\r\n incididunt ut labore et dolore magna aliqua. Ut enim ad minim\r\n veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex\r\n ea commodo consequat.\r\n

    \r\n

    \r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default About;\r\n","import React from \"react\";\r\n\r\nconst Contact = () => {\r\n return (\r\n <>\r\n
    \r\n
    \r\n
    \r\n

    Have Some Questions ?

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default Contact;\r\n","import \"./App.css\";\nimport Home from \"./Components/Home\";\nimport Navbar from \"./Components/Navbar\";\nimport { BrowserRouter as Router, Switch, Route, Link } from \"react-router-dom\";\nimport Products from \"./Components/Products\";\nimport Product from \"./Components/Product\";\nimport Cart from \"./Components/Cart\";\nimport CheckOut from \"./Components/CheckOut\";\nimport Footer from \"./Components/Footer\";\nimport About from \"./Components/About\";\nimport Contact from \"./Components/Contact\";\n\nfunction App() {\n return (\n <>\n \n \n \n \n {\" \"}\n \n \n {\" \"}\n \n \n {\" \"}\n \n \n {\" \"}\n \n \n \n \n \n \n \n \n \n \n \n