%PDF- %PDF-
Direktori : /home/opti/public_html/ncf/static/js/ |
Current File : /home/opti/public_html/ncf/static/js/14.b2cfa2af.chunk.js |
(this["webpackJsonpncf-nigeria"]=this["webpackJsonpncf-nigeria"]||[]).push([[14],{104:function(e,t,a){},105:function(e,t,a){"use strict";var s=a(48),i=a(1),n=a(21),r=(a(106),a(107),a(108),a(2));t.a=function(){var e=localStorage.getItem("loggedInUser"),t=Object(i.useState)([]),a=Object(s.a)(t,2),o=a[0],l=a[1];Object(i.useEffect)((function(){fetch("".concat(n.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 c=o.length;return Object(r.jsx)("div",{className:"sliderbardiv sm:mb-20",children:Object(r.jsxs)("div",{className:"flex sliderbar shadow-sm -mt-9 field-bottom",children:[Object(r.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(r.jsx)("span",{className:"mb-2",children:Object(r.jsx)("img",{src:"/assets/images/icons/shop.svg",alt:""})}),Object(r.jsx)("span",{children:"Shop"})]}),Object(r.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(r.jsx)("span",{className:"mb-2",children:Object(r.jsx)("img",{src:"/assets/images/icons/shopping-cart.svg",alt:""})}),Object(r.jsxs)("span",{children:["Cart ",Object(r.jsxs)("span",{className:"cartNumber",children:[" ",c]})]})]}),Object(r.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(r.jsx)("span",{className:"mb-2",children:Object(r.jsx)("img",{src:"/assets/images/icons/donation.svg",alt:""})}),Object(r.jsx)("span",{children:"Donate"})]})]})})}},106:function(e,t,a){},107:function(e,t,a){},108:function(e,t,a){},112:function(e,t,a){"use strict";function s(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function i(e,t){var a=["__proto__","constructor","prototype"];Object.keys(t).filter((function(e){return a.indexOf(e)<0})).forEach((function(a){"undefined"===typeof e[a]?e[a]=t[a]:s(t[a])&&s(e[a])&&Object.keys(t[a]).length>0?t[a].__swiper__?e[a]=t[a]:i(e[a],t[a]):e[a]=t[a]}))}function n(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function r(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function o(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})),a=[];return t.forEach((function(e){a.indexOf(e)<0&&a.push(e)})),a.join(" ")}a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"d",(function(){return r})),a.d(t,"e",(function(){return o})),a.d(t,"f",(function(){return l}))},114:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var s=a(1);function i(e,t){return"undefined"===typeof window?Object(s.useEffect)(e,t):Object(s.useLayoutEffect)(e,t)}},127:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var s=a(1),i=a.n(s),n=a(112),r=a(114),o=["tag","children","className","swiper","zoom","virtualIndex"];function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(this,arguments)}var c=Object(s.forwardRef)((function(e,t){var a,c=void 0===e?{}:e,d=c.tag,m=void 0===d?"div":d,u=c.children,p=c.className,f=void 0===p?"":p,g=c.swiper,v=c.zoom,b=c.virtualIndex,j=function(e,t){if(null==e)return{};var a,s,i={},n=Object.keys(e);for(s=0;s<n.length;s++)a=n[s],t.indexOf(a)>=0||(i[a]=e[a]);return i}(c,o),h=Object(s.useRef)(null),x=Object(s.useState)("swiper-slide"),O=x[0],y=x[1];function w(e,t,a){t===h.current&&y(a)}Object(r.a)((function(){if(t&&(t.current=h.current),h.current&&g){if(!g.destroyed)return g.on("_slideClass",w),function(){g&&g.off("_slideClass",w)};"swiper-slide"!==O&&y("swiper-slide")}})),Object(r.a)((function(){g&&h.current&&y(g.getSlideClasses(h.current))}),[g]),"function"===typeof u&&(a={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(a):u};return i.a.createElement(m,l({ref:h,className:Object(n.f)(O+(f?" "+f:"")),"data-swiper-slide-index":b},j),v?i.a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof v?v:void 0},N()):N())}));c.displayName="SwiperSlide"},142:function(e,t,a){},187:function(e,t,a){"use strict";var s,i=a(48),n=a(1),r=a(21),o=a(127),l=a(50),c=a(49).a.div(s||(s=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=(a(104),a(142),a(2));t.a=function(e){var t=Object(n.useState)(""),a=Object(i.a)(t,2),s=a[0],l=a[1];Object(n.useEffect)((function(){fetch("".concat(r.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 m=e.page;return Object(d.jsx)(c,{className:"mt-6 z-index-3",children:Object(d.jsx)(o.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(s[m]),alt:""})]})})})}},217:function(e){e.exports=JSON.parse('{"projects":[{"avatar":"","title":"Akwa Ibom State: Nipa Palm Utilization Project"},{"avatar":"","title":"Cross River State: Management of Becheve Nature Reserve, Obudu Cattle Ranch"},{"avatar":"","title":"Edo State : Biodiversity Action Plan (BAP) Project"},{"avatar":"","title":"Gombe & Jigawa State: Wing Over Wetlands (WOW)"},{"avatar":"","title":"Lagos State: Lekki Conservation Centre (LCC)"},{"avatar":"","title":"Ogun, Ondo and Osun State: Omo \u2013 Oluwa \u2013 Shasha Conservation Project"},{"avatar":"","title":"Plateau State: A. P. Leventis Ornithological Research Institute (APLORI),"},{"avatar":"","title":"Taraba State: Participatory Forest Management Project, Mambilla and Donga sites,"},{"avatar":"","title":"Important Bird Area Programme"}],"projects1":[{"avatar":"","title":"Development of the National Conservation Strategy - 1984"},{"avatar":"","title":"Enactment of the Endangered Species Decree - 1985"},{"avatar":"","title":"Development of the Vision 2010 on the environment \u2013 1997"},{"avatar":"","title":"Collaborated with the Federal Department of Forestry on the drafting of Nigeria\u2019s National Forestry Law -2000."},{"avatar":"","title":"NCF played a lead role in the establishment of the defunct Federal Environmental Protection Agency (FEPA) now Federal Ministry of Environment."},{"avatar":"","title":"Facilitated the publication of National University Commission (NUC) endorsed eleven volumes of textual materials on Environmental Education as environmental curriculum resource for tertiary institutions in Nigeria."},{"avatar":"","title":"Played supportive role in the establishment of the Nigerian Environmental Study Action Team (NEST)."},{"avatar":"","title":"Established the Niger-Delta Conservation and Sustainable Development (NDCSD) Project to instigate a paradigm shift from oil and gas dependence to realizing the trade value of biodiversity (2002) among others."}],"trustees":[{"avatar":"/assets/images/trustees/izoma_philip.svg","title":"Izoma Philip Asiodu CFR, CON","position":"President, BOT"},{"avatar":"/assets/images/trustees/akintola_williams.svg","title":"Mr. Akintola Williams CFR, CBE","position":"Member, BOT"},{"avatar":"/assets/images/trustees/leventis.svg","title":"Mr. A.P. Leventis CBE, OFR","position":"Member, BOT"}],"executives":[{"avatar":"/assets/images/trustees/ede_dafinone.svg","title":"Chief Ede Dafinone","position":"Chairman, National Executive Council"},{"avatar":"/assets/images/trustees/cordelia_agboti.svg","title":"Chief (Mrs) Cordelia C. Agboti (JP)","position":"Chairperson, Human Resources Committee"},{"avatar":"/assets/images/trustees/onari_duke.svg","title":"Mrs Onari Duke","position":"Chairperson, Finance Commitee"},{"avatar":"/assets/images/trustees/marie_fatayi.svg","title":"Dame Marie Fatayi-Williams","position":"Chairperson, Business Development & Communications Committee"},{"avatar":"/assets/images/trustees/prince_adegoke.svg","title":"Prince Adegoke Ademiluyi","position":"Chairman, Conservation & Environmental Services Committee"},{"avatar":"/assets/images/trustees/donoja.png","title":"Dr. Joseph Daniel Onoja","position":"Director General"},{"avatar":"/assets/images/trustees/arc_ayoola.svg","title":"Arc Ayoola Onajide","position":""},{"avatar":"/assets/images/trustees/arc_kitoye.svg","title":"Arc Kitoye Ibare-Akisan","position":""},{"avatar":"/assets/images/trustees/arc_kitoye_female.svg","title":"Mrs Olufunso Amosun","position":""},{"avatar":"/assets/images/trustees/ade_alakija.svg","title":"Dr Ade Alakija","position":""},{"avatar":"/assets/images/trustees/admiral_okoja.svg","title":"Admiral AOS Okoja (Rtd.)","position":""},{"avatar":"/assets/images/trustees/justice_adebiyi.svg","title":"Justice (Mrs) R.I.B. Adebiyi","position":""},{"avatar":"/assets/images/trustees/desmond_majekodunmi.svg","title":"Mr Desmond Majekodunmi","position":""},{"avatar":"/assets/images/trustees/edo_ukpong.svg","title":"Mr Edo Ukpong","position":""},{"avatar":"/assets/images/trustees/esimaje_brikinn.svg","title":"Mr. Esimaje Brikinn","position":""},{"avatar":"/assets/images/trustees/adetoun_mohammed.svg","title":"Mrs. Adetoun Mohammed","position":""},{"avatar":"/assets/images/trustees/ajoke_murtala.svg","title":"Mrs. Ajoke Murtala-Muhammed","position":""},{"avatar":"/assets/images/trustees/john_godwin.svg","title":"Prof. John Godwin, OFR, OBE","position":""},{"avatar":"/assets/images/trustees/akin_odunsi.svg","title":"Senator Chief Akin Odunsi","position":""},{"avatar":"/assets/images/trustees/adekoyejo_edu.svg","title":"Mr Adekoyejo Edu","position":""},{"avatar":"/assets/images/trustees/florence_oni.svg","title":"Mrs Florence Adanmma-Oni","position":""},{"avatar":"/assets/images/trustees/dimeji_salaudeen.svg","title":"Mr Dimeji Salaudeen","position":""}]}')},490:function(e,t,a){"use strict";a.r(t);a(1);var s=a(187),i=(a(51),a(217)),n=(a(142),a(104),a(105)),r=a(2);t.default=function(){return Object(r.jsxs)("div",{children:[Object(r.jsx)(s.a,{page:"governing_bodies"}),Object(r.jsxs)("div",{className:"w-full bg-gray-100",children:[Object(r.jsx)(n.a,{}),Object(r.jsx)("img",{className:"papertear1 -top-25",src:"/assets/images/bg/white-bg.png",alt:""}),Object(r.jsxs)("div",{className:"max-w-7xl relative -top-20em mx-auto pt-16 md:px-16 px-8",children:[Object(r.jsxs)("div",{className:"text-center governingBod mb-8",children:[Object(r.jsx)("h1",{className:"font-bold text-2xl text-green mb-4 uppercase",children:"Governing Bodies"}),Object(r.jsx)("p",{className:"text-sm uppercase font-medium",children:"BOARD OF TRUSTEES"})]}),Object(r.jsx)("div",{className:"grid md:grid-cols-3 grid-cols-1 md:gap-8 gap-y-8 items-start",children:i.trustees.map((function(e,t){return Object(r.jsxs)("div",{className:"max-w-md rounded overflow-hidden h-full text-center",children:[Object(r.jsx)("img",{className:"mx-auto rounded-full",src:e.avatar?e.avatar:"https://bulma.io/images/placeholders/128x128.png",alt:"Sunset in the mountains"}),Object(r.jsxs)("div",{className:"px-6 py-4",children:[Object(r.jsx)("div",{className:"text-sm text-gray-800 font-bold mb-2",children:e.title}),Object(r.jsx)("p",{className:"flex flex-col justify-center",children:Object(r.jsx)("span",{className:"font-medium text-sm mb-1",children:e.position})})]})]})}))}),Object(r.jsxs)("div",{className:"text-center my-12",children:[Object(r.jsx)("p",{className:"text-sm mb-3 uppercase font-medium",children:"NATIONAL EXECUTIVE COUNCIL"}),Object(r.jsx)("hr",{className:"block mx-auto w-48 h-1 bg-green"})]}),Object(r.jsx)("div",{className:"grid md:grid-cols-4 grid-cols-1 md:gap-8 gap-y-8 items-start",children:i.executives.map((function(e,t){return Object(r.jsxs)("div",{className:"max-w-md rounded overflow-hidden h-full text-center",children:[Object(r.jsx)("img",{className:"mx-auto w-48 h-48 rounded-full",src:e.avatar?e.avatar:"https://bulma.io/images/placeholders/128x128.png",alt:"Sunset in the mountains"}),Object(r.jsxs)("div",{className:"px-6 py-4",children:[Object(r.jsx)("div",{className:"text-sm text-gray-800 font-bold mb-2",children:e.title}),Object(r.jsx)("p",{className:"flex flex-col justify-center",children:Object(r.jsx)("span",{className:"font-medium text-sm mb-1",children:e.position})})]})]})}))})]}),Object(r.jsx)("div",{className:"gorveningForestbg",children:Object(r.jsx)("img",{className:"papertear2 -top-1 mb-15em",src:"/assets/images/bg/white-bg.png",alt:""})})]})]})}}}]); //# sourceMappingURL=14.b2cfa2af.chunk.js.map