%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/public_html/ncf/static/js/
Upload File :
Create Path :
Current File : /home/opti/public_html/ncf/static/js/47.28d658c6.chunk.js

(this["webpackJsonpncf-nigeria"]=this["webpackJsonpncf-nigeria"]||[]).push([[47],{104:function(e,t,s){},105:function(e,t,s){"use strict";var c=s(48),n=s(1),a=s(21),l=(s(106),s(107),s(108),s(2));t.a=function(){var e=localStorage.getItem("loggedInUser"),t=Object(n.useState)([]),s=Object(c.a)(t,2),i=s[0],r=s[1];Object(n.useEffect)((function(){fetch("".concat(a.SERVER_URL,"/cart/all/").concat(e)).then((function(e){return e.json()})).then((function(e){200===e.status?r(e.data):console.log(e)}))}),[]);var d=i.length;return Object(l.jsx)("div",{className:"sliderbardiv sm:mb-20",children:Object(l.jsxs)("div",{className:"flex sliderbar shadow-sm -mt-9 field-bottom",children:[Object(l.jsxs)("a",{href:"/shop",className:"no-underline bg-white sliderbar-link text-black flex flex-col items-center justify-center md:py-0 py-8 w-48 broder-0 border-r border-solid",children:[Object(l.jsx)("span",{className:"mb-2",children:Object(l.jsx)("img",{src:"/assets/images/icons/shop.svg",alt:""})}),Object(l.jsx)("span",{children:"Shop"})]}),Object(l.jsxs)("a",{href:"/cart",className:"no-underline bg-white sliderbar-link text-black flex flex-col items-center justify-center md:py-0 py-8 w-48 broder-0 border-r border-solid",children:[Object(l.jsx)("span",{className:"mb-2",children:Object(l.jsx)("img",{src:"/assets/images/icons/shopping-cart.svg",alt:""})}),Object(l.jsxs)("span",{children:["Cart ",Object(l.jsxs)("span",{className:"cartNumber",children:[" ",d]})]})]}),Object(l.jsxs)("a",{href:"/donate",className:"no-underline bg-white sliderbar-link text-black flex flex-col items-center justify-center md:py-0 py-8 w-48",children:[Object(l.jsx)("span",{className:"mb-2",children:Object(l.jsx)("img",{src:"/assets/images/icons/donation.svg",alt:""})}),Object(l.jsx)("span",{children:"Donate"})]})]})})}},108:function(e,t,s){},144:function(e,t,s){"use strict";s(1);var c=s(21),n=s(520),a=s(2),l=n.a.Search;t.a=function(){return Object(a.jsx)("nav",{children:Object(a.jsxs)("div",{className:"",children:[Object(a.jsxs)("div",{className:"p-3 mb-3 rounded",children:[Object(a.jsx)("span",{className:"pr-1 text-md text-black font-bold flex-1",children:"Search"}),Object(a.jsx)("div",{className:"pl-4 py-5",children:Object(a.jsx)(l,{placeholder:"Type Here",className:"rounded",size:"large",onSearch:function(e){console.log(e),window.location.href="".concat(c.CLIENT_URL,"shop/search?q=").concat(e)}})})]}),Object(a.jsx)("button",{className:"w-full text-left flex px-4 py-2 items-center outline-none focus:outline-none",children:Object(a.jsx)("span",{className:"pr-1 text-sm text-gray-500 font-bold uppercase flex-1",children:"CATEGORIES"})}),Object(a.jsxs)("div",{className:"pl-4",children:[Object(a.jsx)("a",{className:"block text-sm font-medium text-gray-600 my-0 px-4 py-2",href:"/",children:"BNR"}),Object(a.jsx)("a",{className:"block text-sm font-medium text-gray-600 my-0 px-4 py-2",href:"/",children:"Books & Publications"}),Object(a.jsx)("a",{className:"block text-sm font-medium text-gray-600 my-0 px-4 py-2",href:"/",children:"Clothing"}),Object(a.jsx)("a",{className:"block text-sm font-medium text-gray-600 my-0 px-4 py-2",href:"/",children:"FNP"}),Object(a.jsx)("a",{className:"block text-sm font-medium text-gray-600 my-0 px-4 py-2",href:"/",children:"Gadgets"}),Object(a.jsx)("a",{className:"block text-sm font-medium text-gray-600 my-0 px-4 py-2",href:"/",children:"Gift Items"}),Object(a.jsx)("a",{className:"block text-sm font-medium text-gray-600 my-0 px-4 py-2",href:"/",children:"Kids"}),Object(a.jsx)("a",{className:"block text-sm font-medium text-gray-600 my-0 px-4 py-2",href:"/",children:"LCC"}),Object(a.jsx)("a",{className:"block text-sm font-medium text-gray-600 my-0 px-4 py-2",href:"/",children:"Souvenirs"})]})]})})}},147:function(e,t,s){"use strict";s(1);var c,n=s(127),a=s(50),l=s(49).a.div(c||(c=Object(a.a)(["\n  position: relative;\n  height: 700px;\n\tborder: 1px solid #eee\n\n  background: #eee;\n  font-family: 'Roboto', Helvetica Neue, Helvetica, Arial, sans-serif;\n  font-size: 14px;\n  color: rgb(39, 38, 38);\n  margin: 0;\n  padding: 0;\n\n\t.swiper-container {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n\n\t.swiper-slide {\n\t\tfont-size: 18px;\n\t\tbackground: transparent;\n\n\t\t/* Center slide text vertically */\n\t\tdisplay: -webkit-box;\n\t\tdisplay: -ms-flexbox;\n\t\tdisplay: -webkit-flex;\n\t\tdisplay: flex;\n\t\t-webkit-box-pack: center;\n\t\t-ms-flex-pack: center;\n\t\t-webkit-justify-content: center;\n\t\tjustify-content: center;\n\t\t-webkit-box-align: center;\n\t\t-ms-flex-align: center;\n\t\t-webkit-align-items: center;\n\t\talign-items: center;\n\t}\n\n\t.swiper-slide img {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tobject-fit: cover;\n\t}\n\n\t.swiper-slide .slider-wrapper {\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tobject-fit: cover;\n\t}\n\n\t.slider-text {\n\t\tposition: absolute;\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t.field-bottom {\n\t\ttransform: translate(10%, 320px);\n\t}\n\n\t@media screen and (max-width: 640px) {\n\t\t.field-bottom {\n\t\t\ttransform: translate(0%, 0%);\n\t\t}\n\t}\n"]))),i=(s(105),s(104),s(106),s(107),s(514)),r=s(133),d=s(2);i.a.use([r.a]);t.a=function(){return Object(d.jsx)(l,{className:"mt-6",children:Object(d.jsx)(n.a,{children:Object(d.jsxs)("div",{className:"slider-wrapper",children:[Object(d.jsx)("div",{className:"slider-text border border-solid",children:Object(d.jsx)("div",{className:"max-w-7xl mx-auto pb-16 pt-48 md:px-16 px-8",children:Object(d.jsx)("div",{className:"grid md:grid-cols-2 grid-cols-1 gap-x-8 gap-y-8",children:Object(d.jsxs)("div",{className:"content banner-txt",children:[Object(d.jsx)("h1",{className:"text-4xl font-bold text-white mb-4",children:"What have you done for the Environment Lately?"}),Object(d.jsx)("p",{className:"font-light text-white mb-6",children:"What you give goes a long way"}),Object(d.jsx)("a",{href:"/donate",children:Object(d.jsx)("button",{className:"bg-green hover:bg-green-800 text-white font-bold py-2 px-8 rounded",children:"Donate"})})]})})})}),Object(d.jsx)("img",{src:"/assets/images/banner/aboutus.png",alt:""})]})})})}},498:function(e,t,s){"use strict";s.r(t);s(1);var c=s(147),n=s(515),a=s(18),l=s(174),i=s(144),r=s(2);t.default=function(){return Object(r.jsxs)("div",{children:[Object(r.jsx)(c.a,{}),Object(r.jsx)("div",{className:"w-full md:px-8 px-4 py-8 bg-gray-100",children:Object(r.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-x-0",children:[Object(r.jsx)("div",{className:"md:col-span-2 col-span-12",children:Object(r.jsxs)("p",{className:"text-base flex text-gray-600",children:[Object(r.jsx)(a.e,{className:"mr-2"}),Object(r.jsx)("span",{children:"Back"})]})}),Object(r.jsx)("div",{className:"md:col-span-10 col-span-12"})]})}),Object(r.jsx)("div",{className:"w-full md:px-0",children:Object(r.jsxs)("div",{className:"grid md:grid-cols-12 md:gap-x-0 gap-y-2",children:[Object(r.jsx)("aside",{className:"md:col-span-2 col-span-12 min-h-screen py-4 border-0 border-r border-solid border-gray-200",children:Object(r.jsx)(i.a,{})}),Object(r.jsx)("div",{className:"md:col-span-10 col-span-12 p-4",children:Object(r.jsxs)("div",{className:"grid md:grid-cols-1 grid-cols-1 md:gap-x-8 gap-y-8",children:[Object(r.jsxs)("div",{className:"max-w-md w-full lg:max-w-full lg:flex shadow-md",children:[Object(r.jsxs)("div",{className:"",children:[Object(r.jsx)("img",{src:"/assets/images/products/binocular.png",alt:""}),Object(r.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[Object(r.jsx)("div",{className:"flex justify-center items-center",children:Object(r.jsx)("img",{className:"w-32",src:"/assets/images/products/binocular.png",alt:""})}),Object(r.jsx)("div",{className:"flex justify-center items-center",children:Object(r.jsx)("img",{className:"w-32",src:"/assets/images/products/binocular.png",alt:""})})]})]}),Object(r.jsxs)("div",{className:"bg-white rounded-b lg:rounded-b-none lg:rounded-r p-4 flex flex-col leading-normal",children:[Object(r.jsxs)("div",{className:"mb-4",children:[Object(r.jsx)("div",{className:"text-gray-900 font-bold text-xl mb-2",children:"Birding Binocular"}),Object(r.jsx)("div",{className:"text-gray-600 text-sm mb-2",children:"Olympus 8\xd742 pro Binocular with Extra-low dispersion (ED) glass."}),Object(r.jsx)(n.a,{name:"customized-empty",className:"mb-2",defaultValue:2,precision:.5,size:"smalls",emptyIcon:Object(r.jsx)(l.a,{fontSize:"inherit"})}),Object(r.jsx)("p",{className:"text-gray-800 font-bold text-sm mb-2",children:"\u20a6 131,250 Inc. VAT"}),Object(r.jsx)("p",{className:"text-gray-400 text-sm line-through mb-4",children:"\u20a6 157,500"}),Object(r.jsx)("p",{className:"text-gray-800 italic text-sm mb-4",children:"2 in stock"})]}),Object(r.jsxs)("button",{className:"bg-green flex items-center justify-center hover:bg-green-800 text-white font-bold py-2 px-6",children:[Object(r.jsx)(a.h,{size:"24",className:"mr-2"}),Object(r.jsx)("span",{className:"flex",children:"Add to Cart"})]})]})]}),Object(r.jsx)("div",{className:"flex items-center",children:Object(r.jsxs)("div",{className:"inline-flex",children:[Object(r.jsx)("button",{className:"bg-green hover:bg-green-800 text-white font-bold py-2 px-4 rounded-l",children:"Description"}),Object(r.jsx)("button",{className:"bg-gray-100 hover:bg-gray-200 text-gray-800 font-bold py-2 px-4 rounded-r",children:"Reviews"})]})})]})})]})})]})}}}]);
//# sourceMappingURL=47.28d658c6.chunk.js.map

Zerion Mini Shell 1.0