%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/15.dbbbf7da.chunk.js

(this["webpackJsonpncf-nigeria"]=this["webpackJsonpncf-nigeria"]||[]).push([[15],{104:function(e,t,n){},105:function(e,t,n){"use strict";var i=n(48),s=n(1),r=n(21),c=(n(106),n(107),n(108),n(2));t.a=function(){var e=localStorage.getItem("loggedInUser"),t=Object(s.useState)([]),n=Object(i.a)(t,2),a=n[0],l=n[1];Object(s.useEffect)((function(){fetch("".concat(r.SERVER_URL,"/cart/all/").concat(e)).then((function(e){return e.json()})).then((function(e){200===e.status?l(e.data):console.log(e)}))}),[]);var o=a.length;return Object(c.jsx)("div",{className:"sliderbardiv sm:mb-20",children:Object(c.jsxs)("div",{className:"flex sliderbar shadow-sm -mt-9 field-bottom",children:[Object(c.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(c.jsx)("span",{className:"mb-2",children:Object(c.jsx)("img",{src:"/assets/images/icons/shop.svg",alt:""})}),Object(c.jsx)("span",{children:"Shop"})]}),Object(c.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(c.jsx)("span",{className:"mb-2",children:Object(c.jsx)("img",{src:"/assets/images/icons/shopping-cart.svg",alt:""})}),Object(c.jsxs)("span",{children:["Cart ",Object(c.jsxs)("span",{className:"cartNumber",children:[" ",o]})]})]}),Object(c.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(c.jsx)("span",{className:"mb-2",children:Object(c.jsx)("img",{src:"/assets/images/icons/donation.svg",alt:""})}),Object(c.jsx)("span",{children:"Donate"})]})]})})}},106:function(e,t,n){},107:function(e,t,n){},108:function(e,t,n){},112:function(e,t,n){"use strict";function i(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function s(e,t){var n=["__proto__","constructor","prototype"];Object.keys(t).filter((function(e){return n.indexOf(e)<0})).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:i(t[n])&&i(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:s(e[n],t[n]):e[n]=t[n]}))}function r(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function c(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function a(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function l(e){void 0===e&&(e="");var t=e.split(" ").map((function(e){return e.trim()})).filter((function(e){return!!e})),n=[];return t.forEach((function(e){n.indexOf(e)<0&&n.push(e)})),n.join(" ")}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return l}))},114:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(1);function s(e,t){return"undefined"===typeof window?Object(i.useEffect)(e,t):Object(i.useLayoutEffect)(e,t)}},127:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(1),s=n.n(i),r=n(112),c=n(114),a=["tag","children","className","swiper","zoom","virtualIndex"];function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var o=Object(i.forwardRef)((function(e,t){var n,o=void 0===e?{}:e,d=o.tag,f=void 0===d?"div":d,u=o.children,b=o.className,m=void 0===b?"":b,x=o.swiper,p=o.zoom,j=o.virtualIndex,h=function(e,t){if(null==e)return{};var n,i,s={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(s[n]=e[n]);return s}(o,a),g=Object(i.useRef)(null),O=Object(i.useState)("swiper-slide"),v=O[0],w=O[1];function y(e,t,n){t===g.current&&w(n)}Object(c.a)((function(){if(t&&(t.current=g.current),g.current&&x){if(!x.destroyed)return x.on("_slideClass",y),function(){x&&x.off("_slideClass",y)};"swiper-slide"!==v&&w("swiper-slide")}})),Object(c.a)((function(){x&&g.current&&w(x.getSlideClasses(g.current))}),[x]),"function"===typeof u&&(n={isActive:v.indexOf("swiper-slide-active")>=0||v.indexOf("swiper-slide-duplicate-active")>=0,isVisible:v.indexOf("swiper-slide-visible")>=0,isDuplicate:v.indexOf("swiper-slide-duplicate")>=0,isPrev:v.indexOf("swiper-slide-prev")>=0||v.indexOf("swiper-slide-duplicate-prev")>=0,isNext:v.indexOf("swiper-slide-next")>=0||v.indexOf("swiper-slide-duplicate-next")>=0});var N=function(){return"function"===typeof u?u(n):u};return s.a.createElement(f,l({ref:g,className:Object(r.f)(v+(m?" "+m:"")),"data-swiper-slide-index":j},h),p?s.a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof p?p:void 0},N()):N())}));o.displayName="SwiperSlide"},142:function(e,t,n){},187:function(e,t,n){"use strict";var i,s=n(48),r=n(1),c=n(21),a=n(127),l=n(50),o=n(49).a.div(i||(i=Object(l.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%, 306px);\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"]))),d=(n(104),n(142),n(2));t.a=function(e){var t=Object(r.useState)(""),n=Object(s.a)(t,2),i=n[0],l=n[1];Object(r.useEffect)((function(){fetch("".concat(c.SERVER_URL,"/image/page-banners")).then((function(e){return e.json()})).then((function(e){if(200===e.status){var t=e.data;l(t)}else console.log("Oops couldn't fetch data")}))}),[]);var f=e.page;return Object(d.jsx)(o,{className:"mt-6 z-index-3",children:Object(d.jsx)(a.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:"https://admin.ncfnigeria.org/images/banners/".concat(i[f]),alt:""})]})})})}},488:function(e,t,n){"use strict";n.r(t);n(1),n(51);var i=n(105),s=n(187),r=(n(142),n(2));t.default=function(){return Object(r.jsxs)("div",{children:[Object(r.jsx)(s.a,{page:"vision_mission"}),Object(r.jsxs)("div",{children:[Object(r.jsx)(i.a,{}),Object(r.jsxs)("div",{className:"max-w-5xl mx-auto pt-16 md:px-16 px-8 mt-10em",children:[Object(r.jsxs)("div",{className:"text-left mb-8",children:[Object(r.jsx)("h1",{className:"font-bold text-2xl text-green mb-4 text-mbl-1em",children:"OUR VISION"}),Object(r.jsx)("p",{className:"text-base text-mbl-0-75em",children:'"A Nigeria where people prosper while living in harmony with nature"'})]}),Object(r.jsxs)("div",{className:"block",children:[Object(r.jsx)("h1",{className:"font-bold text-2xl text-green mb-4 text-mbl-1em",children:"OUR MISION"}),Object(r.jsx)("p",{className:"text-base font-bold mb-4 text-mbl-0-75em txt-justify",children:"NCF pursues the conservation of nature and its resources with the aim of improving the quality of human life both the present and the future by:"}),Object(r.jsxs)("ul",{className:"w-full rounded-lg mt-2 mb-3 -ml-3 text-gray-800",children:[Object(r.jsxs)("li",{className:"flex items-start p-1 pl-3",children:[Object(r.jsx)("img",{src:"/assets/images/icons/bullet.svg",className:"mr-2 flex-none mt-0.5",alt:""}),Object(r.jsx)("span",{className:"text-mbl-0-75em txt-justify",children:"Preserving the full range of Nigeria\u2019s biodiversity which include species, ecosystems and genetic biodiversity."})]}),Object(r.jsxs)("li",{className:"flex items-start p-1 pl-3",children:[Object(r.jsx)("img",{src:"/assets/images/icons/bullet.svg",className:"mr-2 flex-none mt-0.5",alt:""}),Object(r.jsx)("span",{className:"text-mbl-0-75em txt-justify",children:"Promoting sustainable use of natural resources for the benefit of the present and future generations; and"})]}),Object(r.jsxs)("li",{className:"flex items-start p-1 pl-3",children:[Object(r.jsx)("img",{src:"/assets/images/icons/bullet.svg",className:"mr-2 flex-none mt-0.5",alt:""}),Object(r.jsx)("span",{className:"text-mbl-0-75em txt-justify",children:"Advocating actions that minimize pollution and wasteful utilization of renewable resources."})]})]})]})]})]})]})}}}]);
//# sourceMappingURL=15.dbbbf7da.chunk.js.map

Zerion Mini Shell 1.0