%PDF- %PDF-
Direktori : /home/opti/public_html/ncf/static/js/ |
Current File : /home/opti/public_html/ncf/static/js/21.f4372a9f.chunk.js |
(this["webpackJsonpncf-nigeria"]=this["webpackJsonpncf-nigeria"]||[]).push([[21],{104:function(e,t,s){},105:function(e,t,s){"use strict";var a=s(48),n=s(1),i=s(21),r=(s(106),s(107),s(108),s(2));t.a=function(){var e=localStorage.getItem("loggedInUser"),t=Object(n.useState)([]),s=Object(a.a)(t,2),c=s[0],l=s[1];Object(n.useEffect)((function(){fetch("".concat(i.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=c.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:[" ",o]})]})]}),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,s){},107:function(e,t,s){},108:function(e,t,s){},112:function(e,t,s){"use strict";function a(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function n(e,t){var s=["__proto__","constructor","prototype"];Object.keys(t).filter((function(e){return s.indexOf(e)<0})).forEach((function(s){"undefined"===typeof e[s]?e[s]=t[s]:a(t[s])&&a(e[s])&&Object.keys(t[s]).length>0?t[s].__swiper__?e[s]=t[s]:n(e[s],t[s]):e[s]=t[s]}))}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 c(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})),s=[];return t.forEach((function(e){s.indexOf(e)<0&&s.push(e)})),s.join(" ")}s.d(t,"b",(function(){return a})),s.d(t,"a",(function(){return n})),s.d(t,"c",(function(){return i})),s.d(t,"d",(function(){return r})),s.d(t,"e",(function(){return c})),s.d(t,"f",(function(){return l}))},114:function(e,t,s){"use strict";s.d(t,"a",(function(){return n}));var a=s(1);function n(e,t){return"undefined"===typeof window?Object(a.useEffect)(e,t):Object(a.useLayoutEffect)(e,t)}},127:function(e,t,s){"use strict";s.d(t,"a",(function(){return o}));var a=s(1),n=s.n(a),i=s(112),r=s(114),c=["tag","children","className","swiper","zoom","virtualIndex"];function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e}).apply(this,arguments)}var o=Object(a.forwardRef)((function(e,t){var s,o=void 0===e?{}:e,d=o.tag,m=void 0===d?"div":d,b=o.children,u=o.className,p=void 0===u?"":u,x=o.swiper,g=o.zoom,h=o.virtualIndex,f=function(e,t){if(null==e)return{};var s,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)s=i[a],t.indexOf(s)>=0||(n[s]=e[s]);return n}(o,c),j=Object(a.useRef)(null),v=Object(a.useState)("swiper-slide"),O=v[0],y=v[1];function w(e,t,s){t===j.current&&y(s)}Object(r.a)((function(){if(t&&(t.current=j.current),j.current&&x){if(!x.destroyed)return x.on("_slideClass",w),function(){x&&x.off("_slideClass",w)};"swiper-slide"!==O&&y("swiper-slide")}})),Object(r.a)((function(){x&&j.current&&y(x.getSlideClasses(j.current))}),[x]),"function"===typeof b&&(s={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 b?b(s):b};return n.a.createElement(m,l({ref:j,className:Object(i.f)(O+(p?" "+p:"")),"data-swiper-slide-index":h},f),g?n.a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof g?g:void 0},N()):N())}));o.displayName="SwiperSlide"},134:function(e,t,s){"use strict";var a,n=s(50),i=s(49).a.div(a||(a=Object(n.a)(["\n position: relative;\n height: 700px;\n border: 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 .swiper-container {\n width: 100%;\n height: 100%;\n }\n\n .swiper-slide {\n font-size: 18px;\n background: transparent;\n\n /* Center slide text vertically */\n display: -webkit-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n -webkit-align-items: center;\n align-items: center;\n }\n\n .swiper-slide img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .swiper-slide .slider-wrapper {\n display: block;\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .slider-text {\n position: absolute;\n height: 100%;\n width: 100%;\n }\n\n .field-bottom {\n transform: translate(10%, 320px);\n }\n\n @media screen and (max-width: 640px) {\n .field-bottom {\n transform: translate(0%, 0%);\n }\n }\n"])));t.a=i},156:function(e,t,s){"use strict";s.d(t,"a",(function(){return d})),s.d(t,"b",(function(){return m})),s.d(t,"c",(function(){return b}));var a,n,i,r,c,l=s(50),o=s(49),d=(o.a.div(a||(a=Object(l.a)(["\n background-image: url(assets/images/banner/forest.png);\n background-repeat: no-repeat;\n background-position: center;\n background-size: cover;\n height: 700px;\n\n"]))),o.a.div(n||(n=Object(l.a)(["\n background-image: url(assets/images/nature/forest-png.png);\n background-repeat: no-repeat;\n background-position: bottom right;\n\n @media (max-width: 425px) {\n background-image: none;\n }\n"])))),m=(o.a.div(i||(i=Object(l.a)(["\n background-image: url(assets/images/nature/forest-about.png);\n height: 300px;\n"]))),o.a.div(r||(r=Object(l.a)(["\n background-image: url(assets/images/animals/fishes.svg);\n background-repeat: no-repeat;\n background-position: bottom left;\n background-size: 400px;\n"])))),b=o.a.div(c||(c=Object(l.a)(["\n .swiper-container {\n width: 100%;\n height: 100%;\n }\n\n .swiper-slide {\n text-align: justify;\n background: transparent;\n\n /* Center slide text vertically */\n display: -webkit-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n -webkit-align-items: center;\n align-items: center;\n }\n\n .swiper-slide img {\n display: block;\n object-fit: cover;\n }\n"])))},394:function(e){e.exports=JSON.parse('{"goals":[{"avatar":"","title":"Evaluate and identify sites to be designated as Marine Protected Areas."},{"avatar":"","title":"Map stations and threats to key components of marine and coastal biodiversity"},{"avatar":"","title":"Provide immediate measures to protect highly threatened or highly valued areas"},{"avatar":"","title":"Pilot the protection of marine and coastal biodiversity in one or two sites"},{"avatar":"","title":"Advocate for the designation of Marine Protected Areas"},{"avatar":"","title":"Support effective management of Marine Protected Areas"}],"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."}]}')},540:function(e,t,s){"use strict";s.r(t);var a=s(1),n=s(394),i=s(48),r=s(21),c=s(127),l=s(134),o=(s(104),s(2));var d=function(e){var t=Object(a.useState)(""),s=Object(i.a)(t,2),n=s[0],d=s[1];Object(a.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;d(t)}else console.log("Oops couldn't fetch data")}))}),[]);var m=e.page;return Object(o.jsx)(l.a,{className:"mt-6 z-index-3",children:Object(o.jsx)(c.a,{children:Object(o.jsxs)("div",{className:"slider-wrapper",children:[Object(o.jsx)("div",{className:"slider-text border border-solid",children:Object(o.jsx)("div",{className:"max-w-7xl mx-auto pb-16 pt-48 md:px-16 px-8",children:Object(o.jsx)("div",{className:"grid md:grid-cols-2 grid-cols-1 gap-x-8 gap-y-8",children:Object(o.jsxs)("div",{className:"content banner-txt",children:[Object(o.jsx)("h1",{className:"text-4xl font-bold text-white mb-4",children:"What have you done for the Environment Lately?"}),Object(o.jsx)("p",{className:"font-light text-white mb-6",children:"What you give goes a long way"}),Object(o.jsx)("a",{href:"/donate",children:Object(o.jsx)("button",{className:"bg-green hover:bg-green-800 text-white font-bold py-2 px-8 rounded",children:"Donate"})})]})})})}),Object(o.jsx)("img",{src:"https://admin.ncfnigeria.org/images/banners/".concat(n[m]),alt:""})]})})})},m=s(156),b=s(105);t.default=function(){return Object(o.jsxs)("div",{className:"bg-gray-100",children:[Object(o.jsx)(d,{page:"habitat_marine_coastline"}),Object(o.jsxs)(m.b,{className:"w-full bg-gray-100 pt-8",children:[Object(o.jsx)(b.a,{}),Object(o.jsx)("img",{src:"/assets/images/bg/white-bg.png",alt:"",className:"home-naturediv-top-papertear mb-25em -top-25em"}),Object(o.jsx)("div",{className:"mx-auto pt-16 md:px-16 px-8",children:Object(o.jsxs)("div",{className:"grid md:grid-cols-2 grid-cols-1 md:gap-8 items-start md:mb-0 mb-8",children:[Object(o.jsxs)("div",{className:"block",children:[Object(o.jsx)("h1",{className:"text-3xl font-bold text-green mb-6 text-mbl-1em",children:"MARINE & COASTLINE"}),Object(o.jsx)("p",{className:"text-base text-mbl txt-justify",children:"These comprises our activities in other habitats apart from the forest. We are working to raise awareness on the importance of these ecosystems. Equally, we are building strong advocacy in order to see effective government policies toward the protection of the marine, coastal ecosystems."})]}),Object(o.jsx)("div",{className:"",children:Object(o.jsx)("img",{src:"/assets/images/nature/whale-shark.png",alt:""})})]})})]}),Object(o.jsx)("img",{className:"papertear2 mb-20em",src:"/assets/images/bg/white-bg.png",alt:""}),Object(o.jsx)("div",{className:"w-full relative z-index-3 bg-white",children:Object(o.jsxs)("div",{className:"max-w-7xl mx-auto py-16 md:px-16 px-8",children:[Object(o.jsxs)("div",{className:"text-left mb-6",children:[Object(o.jsx)("h1",{className:"font-bold text-2xl text-green text-mbl-1em",children:"MARINE"}),Object(o.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-300"})]}),Object(o.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-8 items-start md:mb-0 mb-8",children:[Object(o.jsxs)("div",{className:"md:col-span-8 col-span-12",children:[Object(o.jsx)("p",{className:"font-base mb-8 text-mbl txt-justify",children:"This is our initiative inaugurated to protect Nigeria\u2019s marine ecosystem. Though, with abundant biodiversity resources, this ecosystem has neither been systematically studied nor documented. The programme seek to achieve the following:"}),Object(o.jsx)("ul",{className:"w-full rounded-lg mt-2 mb-3 -ml-3 text-gray-800",children:n.goals.map((function(e,t){return Object(o.jsxs)("li",{className:"flex items-center p-1 pl-3",children:[Object(o.jsx)("img",{src:"/assets/images/icons/bullet.svg",className:"mr-2 flex-none mt-0.5",alt:""}),Object(o.jsx)("span",{className:"text-mbl txt-justify",children:e.title})]},t)}))})]}),Object(o.jsx)("div",{className:"md:col-span-4 col-span-12",children:Object(o.jsx)("img",{src:"/assets/images/nature/marine.png",alt:""})})]})]})}),Object(o.jsx)("img",{className:"papertear1 -top-20em mt-20em",src:"/assets/images/bg/white-bg.png",alt:""}),Object(o.jsx)("div",{className:"w-full pt-8 pb-8",children:Object(o.jsxs)("div",{className:"max-w-7xl mx-auto md:px-16 px-8",children:[Object(o.jsxs)("div",{className:"text-right mb-4",children:[Object(o.jsx)("h1",{className:"font-bold text-2xl text-green text-mbl-1em",children:"COASTAL"}),Object(o.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-300"})]}),Object(o.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-8 gap-y-8 items-center",children:[Object(o.jsx)("div",{className:"md:col-span-5 col-span-12",children:Object(o.jsx)("img",{src:"/assets/images/nature/coastal.png",alt:""})}),Object(o.jsxs)("div",{className:"md:col-span-7 col-span-12",children:[Object(o.jsx)("p",{className:"text-mbl txt-justify",children:"Nigeria has about 853km of coastline which offers flood protection for coastal communities. The coastline equally serve migratory water birds (as resting points during migratory flights) and seas turtles (hatching sites). Consequently, the coastal communities have become important part of our campaign and advocacy. Some of our activities are:"}),Object(o.jsxs)("ul",{className:"w-full rounded-lg mt-2 mb-3 -ml-3 text-gray-800",children:[Object(o.jsxs)("li",{className:"flex items-start p-1 pl-3",children:[Object(o.jsx)("img",{src:"/assets/images/icons/bullet.svg",className:"mr-2 flex-none mt-0.5",alt:""}),Object(o.jsx)("span",{className:"text-mbl txt-justify",children:"Advocacy campaign for coastal communities,"})]}),Object(o.jsxs)("li",{className:"flex items-start p-1 pl-3",children:[Object(o.jsx)("img",{src:"/assets/images/icons/bullet.svg",className:"mr-2 flex-none mt-0.5",alt:""}),Object(o.jsx)("span",{className:"text-mbl txt-justify",children:"Awareness and community engagement aimed at changing hostile behaviour towards turtles that come onshore to lay eggs,"})]}),Object(o.jsxs)("li",{className:"flex items-start p-1 pl-3",children:[Object(o.jsx)("img",{src:"/assets/images/icons/bullet.svg",className:"mr-2 flex-none mt-0.5",alt:""}),Object(o.jsxs)("span",{className:"text-mbl txt-justify",children:["Release of captured turtles back to the sea, Conservation actions where nature based solutions are considered as mitigation to climate change,"," "]})]}),Object(o.jsxs)("li",{className:"flex items-start p-1 pl-3",children:[Object(o.jsx)("img",{src:"/assets/images/icons/bullet.svg",className:"mr-2 flex-none mt-0.5",alt:""}),Object(o.jsx)("span",{className:"text-mbl txt-justify",children:"and Community/ beach clean-up exercises."})]})]}),Object(o.jsx)("p",{className:"text-mbl txt-justify",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(o.jsx)("img",{className:"papertear2 mb-15em",src:"/assets/images/bg/white-bg.png",alt:""}),Object(o.jsx)("div",{className:"w-full relative z-index-3 bg-white",children:Object(o.jsxs)("div",{className:"max-w-7xl mx-auto py-16 md:px-16 px-8 ",children:[Object(o.jsxs)("div",{className:"text-left mb-4",children:[Object(o.jsx)("h2",{className:"font-bold text-2xl text-green text-mbl-1em",children:"WETLAND"}),Object(o.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-200"})]}),Object(o.jsxs)("div",{className:"grid md:grid-cols-12 grid-cols-1 md:gap-8 gap-y-8 items-start",children:[Object(o.jsxs)("div",{className:"md:col-span-7 col-span-12 pt-6",children:[Object(o.jsx)("p",{className:"text-mbl txt-justify",children:"Despite their crucial ecosystem services, the wetlands are seriously under stress and direct encroachment as a result of human activities. We work to preserve the 11 internationally recognised wetlands in Nigeria and by extension, the biodiversities that depend on the ecosystem to thrive. Activities we engage in across wetlands where we operate are:"}),Object(o.jsxs)("ul",{className:"my-4 list-disc list-inside",children:[Object(o.jsx)("li",{className:"list-item text-mbl txt-justify",children:"water birds census"}),Object(o.jsx)("li",{className:"list-item text-mbl txt-justify",children:"public awareness campaign"}),Object(o.jsx)("li",{className:"list-item text-mbl txt-justify",children:"school conservation clubs"}),Object(o.jsx)("li",{className:"list-item text-mbl txt-justify",children:"tree planting"})]}),Object(o.jsx)("p",{className:"text-mbl txt-justify",children:"Specifically, in Hadejia Nguru Wetlands, North-East Nigeria, we work with the community to restore and maintain about 70km of wetlands which supports livelihood for over 1,000 household in 7 communities. The yearly commemoration of World Wetlands Day across the country is central to our effort at raising awareness and policy advocacy on the wetlands."})]}),Object(o.jsx)("div",{className:"md:col-span-5 col-span-12",children:Object(o.jsx)("img",{src:"/assets/images/nature/wetland.png",alt:""})})]})]})})]})}}}]); //# sourceMappingURL=21.f4372a9f.chunk.js.map