%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/28.96e3b97d.chunk.js

(this["webpackJsonpncf-nigeria"]=this["webpackJsonpncf-nigeria"]||[]).push([[28],{104:function(e,t,s){},105:function(e,t,s){"use strict";var n=s(48),a=s(1),i=s(21),c=(s(106),s(107),s(108),s(2));t.a=function(){var e=localStorage.getItem("loggedInUser"),t=Object(a.useState)([]),s=Object(n.a)(t,2),r=s[0],l=s[1];Object(a.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 d=r.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:[" ",d]})]})]}),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,s){},107:function(e,t,s){},108:function(e,t,s){},112:function(e,t,s){"use strict";function n(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function a(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]:n(t[s])&&n(e[s])&&Object.keys(t[s]).length>0?t[s].__swiper__?e[s]=t[s]:a(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 c(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function r(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 n})),s.d(t,"a",(function(){return a})),s.d(t,"c",(function(){return i})),s.d(t,"d",(function(){return c})),s.d(t,"e",(function(){return r})),s.d(t,"f",(function(){return l}))},114:function(e,t,s){"use strict";s.d(t,"a",(function(){return a}));var n=s(1);function a(e,t){return"undefined"===typeof window?Object(n.useEffect)(e,t):Object(n.useLayoutEffect)(e,t)}},127:function(e,t,s){"use strict";s.d(t,"a",(function(){return d}));var n=s(1),a=s.n(n),i=s(112),c=s(114),r=["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 n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e}).apply(this,arguments)}var d=Object(n.forwardRef)((function(e,t){var s,d=void 0===e?{}:e,o=d.tag,m=void 0===o?"div":o,b=d.children,h=d.className,j=void 0===h?"":h,x=d.swiper,p=d.zoom,u=d.virtualIndex,f=function(e,t){if(null==e)return{};var s,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)s=i[n],t.indexOf(s)>=0||(a[s]=e[s]);return a}(d,r),g=Object(n.useRef)(null),O=Object(n.useState)("swiper-slide"),y=O[0],N=O[1];function v(e,t,s){t===g.current&&N(s)}Object(c.a)((function(){if(t&&(t.current=g.current),g.current&&x){if(!x.destroyed)return x.on("_slideClass",v),function(){x&&x.off("_slideClass",v)};"swiper-slide"!==y&&N("swiper-slide")}})),Object(c.a)((function(){x&&g.current&&N(x.getSlideClasses(g.current))}),[x]),"function"===typeof b&&(s={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 w=function(){return"function"===typeof b?b(s):b};return a.a.createElement(m,l({ref:g,className:Object(i.f)(y+(j?" "+j:"")),"data-swiper-slide-index":u},f),p?a.a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof p?p:void 0},w()):w())}));d.displayName="SwiperSlide"},255:function(e,t,s){"use strict";var n,a=s(48),i=s(1),c=s(21),r=s(127),l=s(50),d=s(49).a.div(n||(n=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%, 320px);\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"]))),o=(s(104),s(2));t.a=function(e){var t=Object(i.useState)(""),s=Object(a.a)(t,2),n=s[0],l=s[1];Object(i.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 m=e.page;return Object(o.jsx)(d,{className:"mt-6 z-index-3",children:Object(o.jsx)(r.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:""})]})})})}},500:function(e,t,s){"use strict";s.r(t);var n=s(48),a=s(1),i=s(255),c=s(22),r=s(18),l=(s(51),s(105)),d=(s(104),s(2));t.default=function(e){var t=Object(a.useState)(0),s=Object(n.a)(t,2);return s[0],s[1],Object(d.jsxs)("div",{children:[Object(d.jsx)(i.a,{page:"news_update"}),Object(d.jsxs)("div",{className:"w-full md:px-8 pt-8 pb-8 bg-gray-100",children:[Object(d.jsx)(l.a,{}),Object(d.jsxs)("div",{className:"max-w-7xl mx-auto md:px-8",children:[Object(d.jsxs)("div",{className:"text-left mb-6",children:[Object(d.jsx)("h1",{className:"font-black text-2xl text-green uppercase tracking-tight",children:"news and update"}),Object(d.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-300"})]}),Object(d.jsxs)("div",{className:"grid md:grid-cols-12 md:gap-8 gap-y-8 items-center",children:[Object(d.jsx)("div",{className:"sm:col-span-8 col-span-12",children:Object(d.jsx)("img",{className:"w-full",src:"/assets/images/banner/lion.jpeg",alt:""})}),Object(d.jsxs)("div",{className:"sm:col-span-4 col-span-12 px-8",children:[Object(d.jsxs)("div",{className:"mb-4 px-8",children:[Object(d.jsxs)("h1",{className:"font-black text-3xl mb-4",children:["ANIMAL",Object(d.jsx)("br",{})," POACHING"]}),Object(d.jsx)("span",{className:"italic",children:"Monday April 2021"})]}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:"Uganda arrests suspects over lion killings at park The lions in Queen Elizabeth National Park are known for their ability to climb trees The lions in Queen Elizabeth National Park can climb treesImage caption: The lions in Queen Elizabeth National Park can climb trees"}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:"The Ugandan authorities have arrested four people suspected of killing six lions in one of the country's most famous parks."}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:"The lions were found dead and mutilated last Friday and their bodies surrounded by dead vultures in Queen Elizabeth National Park."}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:"On Tuesday, the Uganda Wildlife Authority (UWA) said the suspects were arrested in a joint operation by the military, police and the wildlife authorities."}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:'"Today at daybreak, the suspects took the security team to a location where three heads of lions were found hidden in a tree and the fourth one was buried with 15 legs under the same tree. The suspects said they dropped one leg in the park," the UWA said in a statement.'})]})]})]})]}),Object(d.jsx)("div",{className:"w-full md:px-8 px-4 py-8 bg-gray-100",children:Object(d.jsx)("div",{className:"max-w-7xl mx-auto py-16 md:px-0 px-8",children:Object(d.jsxs)("div",{className:"grid md:grid-cols-12 md:gap-8 gap-y-8 items-center",children:[Object(d.jsx)("div",{className:"sm:col-span-3 col-span-12",children:Object(d.jsx)("img",{src:"/assets/images/banner/rotunda.jpeg",alt:""})}),Object(d.jsxs)("div",{className:"sm:col-span-6 col-span-12",children:[Object(d.jsx)("div",{className:"mb-4",children:Object(d.jsx)("h1",{className:"font-black text-2xl",children:"About NCF"})}),Object(d.jsx)("p",{className:"text-mbl txt-justify",children:"The Nigerian Conservation Foundation (NCF) is the premier Non Governmental Organisation (NGO) dedicated to nature conservation and sustainable development in Nigeria. Established in 1980, the Foundation was registered in 1982 as a Charitable Trust under the Land (Perpetual Succession) Act of 1961 - a policy that was replaced by the Company and Allied Matters Act of 1990. Founded by late Chief S. L. Edu, NCF has its patron as the President and Commander- In-Chief of the Armed Force of the FederalRepublic of Nigeria."})]}),Object(d.jsxs)("div",{className:"sm:col-span-3 col-span-12",children:[Object(d.jsx)("div",{className:"mb-4",children:Object(d.jsx)("h1",{className:"font-bold text-xl",children:"Stay connected"})}),Object(d.jsx)("table",{className:"min-w-full divide-y divide-gray-200",children:Object(d.jsxs)("tbody",{className:"bg-white divide-y divide-gray-200",children:[Object(d.jsx)("tr",{children:Object(d.jsxs)("a",{href:"https://www.facebook.com/NCFNigeria/",className:"text-black no-underline",children:[Object(d.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:"Follow NCF on Facebook"}),Object(d.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:Object(d.jsx)(c.a,{color:"#1B3B7D"})})]})}),Object(d.jsx)("tr",{children:Object(d.jsxs)("a",{href:"https://twitter.com/ncfnigeria",className:"text-black no-underline",children:[Object(d.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:"Follow NCF on Twitter"}),Object(d.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:Object(d.jsx)(c.d,{color:"#1B3B7D"})})]})}),Object(d.jsx)("tr",{children:Object(d.jsxs)("a",{href:"https://www.instagram.com/ncfnigeria/",className:"text-black no-underline",children:[Object(d.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:"Follow NCF on Instagram"}),Object(d.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:Object(d.jsx)("img",{src:"/assets/images/socials/instagram.svg",className:"w-8",alt:""})})]})})]})})]})]})})}),Object(d.jsxs)("div",{className:"max-w-7xl mx-auto py-16 md:px-0 px-8",children:[Object(d.jsx)("div",{className:"mb-6",children:Object(d.jsx)("h1",{className:"font-black text-2xl uppercase tracking-tight",children:"Latest Update"})}),Object(d.jsx)("div",{className:"grid md:grid-cols-3 grid-cols-1 md:gap-x-16 gap-y-8",children:[0,1,2].map((function(e){return Object(d.jsxs)("div",{className:"max-w-md rounded overflow-hidden h-full shadow-lg",children:[Object(d.jsx)("img",{className:"w-full",src:"/assets/images/nature/news-image.png",alt:"Sunset in the mountains"}),Object(d.jsxs)("div",{className:"px-6 py-4",children:[Object(d.jsx)("div",{className:"font-bold text-lg mb-2",children:"NGOs, CSOs demand 'Right to a Healthy Planet'"}),Object(d.jsx)("span",{className:"text-sm italic mb-4",children:"Monday April 2021"}),Object(d.jsx)("p",{className:"text-gray-700 text-sm txt-justify mb-4",children:"Over 100 000 citizens demand the United Nations (UN) to recognise a new human right \u2013 the right to a healthy planet Citizens from around the world are demanding that the right to a clean, healthy"}),Object(d.jsxs)("a",{className:"flex items-center justify-end text-sm italic",href:"/",children:["Read more ",Object(d.jsx)(r.f,{})]})]})]},e)}))})]}),Object(d.jsx)("div",{className:"w-full md:px-8 px-4 pt-16 pb-8 bg-gray-50",children:Object(d.jsx)("div",{className:"max-w-7xl mx-auto md:px-0",children:Object(d.jsxs)("div",{className:"grid md:grid-cols-12 md:gap-8 gap-y-8 items-start",children:[Object(d.jsxs)("div",{className:"sm:col-span-4 col-span-12",children:[Object(d.jsx)("h1",{className:"font-black text-2xl mb-4 uppercase tracking-tight",children:"climate change"}),Object(d.jsxs)("div",{className:"mb-6",children:[Object(d.jsxs)("div",{className:"flex flex-col space-y-1 mb-2",children:[Object(d.jsx)("h2",{className:"font-bold text-sm",children:"Interview By"}),Object(d.jsx)("span",{className:"font-medium text-sm",children:"DR. Steve Miler"})]}),Object(d.jsxs)("div",{className:"flex flex-col space-y-1",children:[Object(d.jsx)("h2",{className:"font-bold text-sm",children:"Date"}),Object(d.jsx)("span",{className:"font-medium text-sm italic",children:"Monday April 2021"})]})]}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:"Uganda arrests suspects over lion killings at park The lions in Queen Elizabeth National Park are known for their ability to climb trees The lions in Queen Elizabeth National Park can climb treesImage caption: The lions in Queen Elizabeth National Park can climb trees"}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:"The Ugandan authorities have arrested four people suspected of killing six lions in one of the country's most famous parks."}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:"The lions were found dead and mutilated last Friday and their bodies surrounded by dead vultures in Queen Elizabeth National Park."}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:"On Tuesday, the Uganda Wildlife Authority (UWA) said the suspects were arrested in a joint operation by the military, police and the wildlife authorities."}),Object(d.jsx)("p",{className:"text-sm txt-justify mb-4",children:'"Today at daybreak, the suspects took the security team to a location where three heads of lions were found hidden in a tree and the fourth one was buried with 15 legs under the same tree. The suspects said they dropped one leg in the park," the UWA said in a statement.'}),Object(d.jsxs)("a",{className:"flex items-center justify-end text-sm italic",href:"/",children:["Read more ",Object(d.jsx)(r.f,{})]})]}),Object(d.jsx)("div",{className:"sm:col-span-8 col-span-12",children:Object(d.jsx)("img",{src:"/assets/images/nature/climate.png",alt:""})})]})})})]})}}}]);
//# sourceMappingURL=28.96e3b97d.chunk.js.map

Zerion Mini Shell 1.0