%PDF- %PDF-
Direktori : /home/opti/public_html/ncf/static/js/ |
Current File : /home/opti/public_html/ncf/static/js/24.1e215c76.chunk.js |
(this["webpackJsonpncf-nigeria"]=this["webpackJsonpncf-nigeria"]||[]).push([[24],{104:function(e,t,a){},105:function(e,t,a){"use strict";var n=a(48),s=a(1),i=a(21),r=(a(106),a(107),a(108),a(2));t.a=function(){var e=localStorage.getItem("loggedInUser"),t=Object(s.useState)([]),a=Object(n.a)(t,2),l=a[0],o=a[1];Object(s.useEffect)((function(){fetch("".concat(i.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 c=l.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 n(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function s(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]:n(t[a])&&n(e[a])&&Object.keys(t[a]).length>0?t[a].__swiper__?e[a]=t[a]:s(e[a],t[a]):e[a]=t[a]}))}function i(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 l(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})),a=[];return t.forEach((function(e){a.indexOf(e)<0&&a.push(e)})),a.join(" ")}a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return s})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return r})),a.d(t,"e",(function(){return l})),a.d(t,"f",(function(){return o}))},114:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(1);function s(e,t){return"undefined"===typeof window?Object(n.useEffect)(e,t):Object(n.useLayoutEffect)(e,t)}},127:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(1),s=a.n(n),i=a(112),r=a(114),l=["tag","children","className","swiper","zoom","virtualIndex"];function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var c=Object(n.forwardRef)((function(e,t){var a,c=void 0===e?{}:e,d=c.tag,m=void 0===d?"div":d,b=c.children,h=c.className,p=void 0===h?"":h,u=c.swiper,x=c.zoom,j=c.virtualIndex,f=function(e,t){if(null==e)return{};var a,n,s={},i=Object.keys(e);for(n=0;n<i.length;n++)a=i[n],t.indexOf(a)>=0||(s[a]=e[a]);return s}(c,l),g=Object(n.useRef)(null),v=Object(n.useState)("swiper-slide"),y=v[0],O=v[1];function w(e,t,a){t===g.current&&O(a)}Object(r.a)((function(){if(t&&(t.current=g.current),g.current&&u){if(!u.destroyed)return u.on("_slideClass",w),function(){u&&u.off("_slideClass",w)};"swiper-slide"!==y&&O("swiper-slide")}})),Object(r.a)((function(){u&&g.current&&O(u.getSlideClasses(g.current))}),[u]),"function"===typeof b&&(a={isActive:y.indexOf("swiper-slide-active")>=0||y.indexOf("swiper-slide-duplicate-active")>=0,isVisible:y.indexOf("swiper-slide-visible")>=0,isDuplicate:y.indexOf("swiper-slide-duplicate")>=0,isPrev:y.indexOf("swiper-slide-prev")>=0||y.indexOf("swiper-slide-duplicate-prev")>=0,isNext:y.indexOf("swiper-slide-next")>=0||y.indexOf("swiper-slide-duplicate-next")>=0});var N=function(){return"function"===typeof b?b(a):b};return s.a.createElement(m,o({ref:g,className:Object(i.f)(y+(p?" "+p:"")),"data-swiper-slide-index":j},f),x?s.a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof x?x:void 0},N()):N())}));c.displayName="SwiperSlide"},138:function(e,t,a){"use strict";var n,s=a(48),i=a(1),r=a(21),l=a(127),o=a(50),c=a(49).a.div(n||(n=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=(a(104),a(2));t.a=function(e){var t=Object(i.useState)(""),a=Object(s.a)(t,2),n=a[0],o=a[1];Object(i.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;o(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)(l.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(n[m]),alt:""})]})})})}},161:function(e){e.exports=JSON.parse('{"memberships":[{"avatar":"","title":"Organization\'s Logo/name, to be placed on NCF\'s website to enhance exposure to our wide variety of local & international membership base. "},{"avatar":"","title":"The Nigerian tax policy allows tax benefit for donations towards alleviation of environmental problems. "},{"avatar":"","title":"Opportunity to advertise in NCF publications which is circulated locally and internationally."},{"avatar":"","title":"Annual Certificate of Membership."},{"avatar":"","title":"Complimentary copy of NCF branded annual calendar. "},{"avatar":"","title":"Opportunity to participate in NCF Organized tours to places of conservation interest. "}],"individual":[{"avatar":"","title":"Free use of NCF library."},{"avatar":"","title":"Free access to NCF nature reserve sites."},{"avatar":"","title":"Invitation to NCF events."},{"avatar":"","title":"Complimentary copy of NCF branded Annual Calendar."},{"avatar":"","title":" Free copy of NCF Nature Watch Magazine."}],"files":[{"name":"April_2009_Inauguration Report","size":"74.73 KB"},{"name":"August_2009_Muritala Mohamed Botanicak Garden","size":"100.14 KB"},{"name":"June_2009_Majek Farms","size":"78.9 KB"},{"name":"November _2009_National Arts Theatre","size":"76.52 KB"},{"name":"October_2009_Lekki Conservation Centre","size":"125.61 KB"}],"activities":[{"name":"Waste management;"},{"name":"Beach/Market clean- up;"},{"name":"School/community gardening and a-forestation programme"},{"name":"Climate Change Campaigns."},{"name":"Flora and fauna drama by students."},{"name":"Inter school competition"},{"name":"Community awareness and sensitisation"},{"name":"Poetry, etc."}]}')},512:function(e,t,a){"use strict";a.r(t);a(1);var n=a(22),s=(a(51),a(161)),i=a(138),r=a(105),l=(a(104),a(2));t.default=function(){return Object(l.jsxs)("div",{children:[Object(l.jsx)(i.a,{page:"events"}),Object(l.jsxs)("div",{className:"w-full bg-gray-100 py-8",children:[Object(l.jsx)(r.a,{}),Object(l.jsx)("div",{className:"max-w-5xl mx-auto md:px-16 px-8",children:Object(l.jsx)("div",{className:"grid md:grid-cols-1 grid-cols-1 md:gap-8 items-start md:mb-0 mb-8",children:Object(l.jsxs)("div",{className:"block mt-5em",children:[Object(l.jsx)("h1",{className:"text-3xl font-bold text-green mb-6",children:"Events"}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"One of the ways you can support the Foundation is through our events. We organise series of events aimed at bridging the awareness gap amongst the general public. These events equally serve as advocacy tools for policy change. As an environmental organisations, events centre on the environment and executed along the United Nations international days."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify",children:"Corporate organisations and individuals who share our passion in the environment have found these events creditable and partner with us for success. The partnership is acknowledged as such organisation\u2019s contribution towards the environment.Some of the events we host yearly are:"})]})})})]}),Object(l.jsx)("div",{className:"w-full bg-white py-16",children:Object(l.jsxs)("div",{className:"max-w-7xl mx-auto md:px-16 px-8",children:[Object(l.jsxs)("div",{className:"text-left mb-6",children:[Object(l.jsx)("h1",{className:"font-bold text-2xl text-green",children:"World Wetlands Day"}),Object(l.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-300"})]}),Object(l.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-8 items-start md:mb-0 mb-8",children:[Object(l.jsxs)("div",{className:"mt-6 md:col-span-8 col-span-12",children:[Object(l.jsx)("p",{className:"font-base text-mbl mb-4",children:"World Wetlands Day is commemorated on 2nd February each year to raise global awareness about the vital role of wetlands for people and our planet. This day also marks the date of the adoption of the Convention on Wetlands on 2 February 1971, in the Iranian city of Ramsar on the shores of the Caspian Sea."}),Object(l.jsx)("p",{className:"font-base text-mbl mb-4",children:"Wetlands are land areas that are saturated or flooded with water either permanently or seasonally. Inland wetlands include marshes, ponds, lakes, fens, rivers, floodplains, and swamps. Coastal wetlands include saltwater marshes, estuaries, mangroves, lagoons and even coral reefs."}),Object(l.jsx)("p",{className:"font-base text-mbl",children:"Activities during the World Wetlands Day include:"}),Object(l.jsxs)("ul",{className:"w-full rounded-lg mt-2 mb-3 text-gray-800 text-mbl list-disc ml-4",children:[Object(l.jsx)("li",{className:"p-1 pl-3",children:"Conference"}),Object(l.jsx)("li",{className:"p-1 pl-3",children:"Wetland clean-up day"}),Object(l.jsx)("li",{className:"p-1 pl-3",children:"Photo or essay competition"}),Object(l.jsx)("li",{className:"p-1 pl-3",children:"Public awareness"}),Object(l.jsx)("li",{className:"p-1 pl-3",children:"Art competition for students"})]})]}),Object(l.jsx)("div",{className:"md:col-span-4 col-span-12",children:Object(l.jsx)("img",{src:"/assets/images/groups/wetland-day.png",alt:""})})]})]})}),Object(l.jsx)("div",{className:"w-full bg-white pt-8 pb-8",children:Object(l.jsxs)("div",{className:"max-w-7xl mx-auto md:px-16 px-8",children:[Object(l.jsxs)("div",{className:"text-right mb-4",children:[Object(l.jsx)("h1",{className:"font-bold text-2xl text-right text-green",children:"World Migratory Bird Day"}),Object(l.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-300"})]}),Object(l.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-8 gap-y-8 items-start",children:[Object(l.jsx)("div",{className:"md:col-span-4 col-span-12",children:Object(l.jsx)("img",{src:"/assets/images/groups/bird-day.png",alt:""})}),Object(l.jsxs)("div",{className:"md:col-span-8 col-span-12 mt-4",children:[Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"WMBD is an annual event for raising awareness on bird migration and the importance of protecting the flyways and habitats used by birds during migration."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"The event holds across the country, and particularly in sites designated Important Bird Area where wintering birds and European migrants rely for survival."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify",children:"Activities during the World Migratory Bird Day involve community engagement (where residents are enlightened on yearly birds migration and what they can do to preserve flyways), birding expedition, clean up exercise, environmental education and commemorative tree planting exercise."})]})]})]})}),Object(l.jsx)("div",{className:"w-full bg-white pt-8 pb-8",children:Object(l.jsxs)("div",{className:"max-w-7xl mx-auto md:px-16 px-8",children:[Object(l.jsxs)("div",{className:"text-right mb-8",children:[Object(l.jsx)("h1",{className:"font-bold text-2xl text-green uppercase",children:"World Environment Day"}),Object(l.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-300"})]}),Object(l.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-8 gap-y-8 items-start",children:[Object(l.jsxs)("div",{className:"md:col-span-8 col-span-12 mt-4",children:[Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"World Environment Day is an international environmental awareness day celebrated every 5th of June. It is organised by the United Nations Environment Programme (UNEP) to encourage global awareness for the protection of the environment, as well as call for actions to promote environmental sustainability."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"As the biggest annual event for positive environmental action, the day focuses on environmental concerns ranging from pollution, global warming, sustainable food production and protection of wildlife."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"Every year, we use the event to shore up public engagement and advocacy about the state of the environment and deliberate on what local actions are necessary to ensure global environmental sustainability."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"Some of the activities carried out during World Environment Day are:"}),Object(l.jsx)("ul",{className:"w-full rounded-lg mt-2 mb-3 text-gray-800",children:s.activities.map((function(e,t){return Object(l.jsxs)("li",{className:"flex items-start text-mbl p-1 pl-3",children:[Object(l.jsx)(n.c,{className:"text-green mr-2 transform -rotate-90 flex-none mt-1 h-full"}),Object(l.jsx)("span",{children:e.name})]})}))}),Object(l.jsx)("p",{className:"text-mbl",children:"We will be engaging more communities along the Nigerian coastline as a way of protecting other species such as the African Manatee Trichechus senegalensis, as well as whales that sometime beach (Cetacean stranding)."})]}),Object(l.jsx)("div",{className:"md:col-span-4 col-span-12",children:Object(l.jsx)("img",{src:"/assets/images/groups/world-env-day.png",alt:""})})]})]})}),Object(l.jsxs)("div",{className:"max-w-7xl mx-auto py-16 md:px-16 px-8 relative z-10",children:[Object(l.jsxs)("div",{className:"text-left mb-4",children:[Object(l.jsx)("h2",{className:"font-bold text-2xl text-right text-green uppercase",children:"World Habitat Day"}),Object(l.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-200"})]}),Object(l.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-8 gap-y-8 items-center",children:[Object(l.jsx)("div",{className:"md:col-span-4 col-span-12",children:Object(l.jsx)("img",{src:"/assets/images/nature/wetland.png",alt:""})}),Object(l.jsxs)("div",{className:"md:col-span-8 col-span-12",children:[Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"The World Habitat Day is a global environmental event celebrated every first Monday of October to reflect on the state of our towns and cities, and on the basic right of all for adequate shelter. It is also intended to remind the world that we all have the power and the responsibility to shape the future of our cities and towns."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"NCF joins the rest of the globe to celebrate World Habitat Day with an Art Competition to help promote the theme every year."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify",children:"Nigerian Conservation Foundation (NCF) has successfully commemorated this day annually in Nigeria with the objective of building creativity among youths through outdoor experience that connects classroom knowledge with nature."})]})]})]}),Object(l.jsxs)("div",{className:"max-w-7xl mx-auto py-16 md:px-16 px-8 relative z-10",children:[Object(l.jsxs)("div",{className:"text-left mb-4",children:[Object(l.jsx)("h2",{className:"font-bold text-2xl text-green uppercase",children:"Annual Green Ball"}),Object(l.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-200"})]}),Object(l.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-8 gap-y-8 items-center",children:[Object(l.jsxs)("div",{className:"md:col-span-8 col-span-12",children:[Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"Annual Green Ball"}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"The Green Ball is traditionally a high-level black-tie event where business leaders, High Net Worth individuals and policy makers meet to share their passion for the environment in a relaxed atmosphere whilst enjoying exquisite cuisine, nice music and stimulating conversations."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify mb-4",children:"As the foremost environmental NGO, we have been hosting the Green Ball annually to generate awareness and raise funds for some of our projects."}),Object(l.jsx)("p",{className:"text-base text-mbl txt-justify",children:"The event\u2019s yearly theme reflects clear and present environmental challenges that we seek to fund solutions to. Many corporate organisations and passionate individuals have found the Green Ball valuable towards contributing to the environment and have been leading in sponsoring the event."})]}),Object(l.jsx)("div",{className:"md:col-span-4 col-span-12",children:Object(l.jsx)("img",{src:"/assets/images/groups/green-ball.png",alt:""})})]})]})]})}}}]); //# sourceMappingURL=24.1e215c76.chunk.js.map