%PDF- %PDF-
Direktori : /home/opti/public_html/ncf/static/js/ |
Current File : /home/opti/public_html/ncf/static/js/23.04b3d654.chunk.js |
(this["webpackJsonpncf-nigeria"]=this["webpackJsonpncf-nigeria"]||[]).push([[23],{104:function(e,t,n){},105:function(e,t,n){"use strict";var s=n(48),i=n(1),r=n(21),a=(n(106),n(107),n(108),n(2));t.a=function(){var e=localStorage.getItem("loggedInUser"),t=Object(i.useState)([]),n=Object(s.a)(t,2),o=n[0],c=n[1];Object(i.useEffect)((function(){fetch("".concat(r.SERVER_URL,"/cart/all/").concat(e)).then((function(e){return e.json()})).then((function(e){200===e.status?c(e.data):console.log(e)}))}),[]);var l=o.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 s(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function i(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]:s(t[n])&&s(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:i(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 o(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function c(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 s})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return c}))},114:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var s=n(1);function i(e,t){return"undefined"===typeof window?Object(s.useEffect)(e,t):Object(s.useLayoutEffect)(e,t)}},127:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var s=n(1),i=n.n(s),r=n(112),a=n(114),o=["tag","children","className","swiper","zoom","virtualIndex"];function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e}).apply(this,arguments)}var l=Object(s.forwardRef)((function(e,t){var n,l=void 0===e?{}:e,d=l.tag,m=void 0===d?"div":d,b=l.children,u=l.className,p=void 0===u?"":u,h=l.swiper,f=l.zoom,j=l.virtualIndex,x=function(e,t){if(null==e)return{};var n,s,i={},r=Object.keys(e);for(s=0;s<r.length;s++)n=r[s],t.indexOf(n)>=0||(i[n]=e[n]);return i}(l,o),g=Object(s.useRef)(null),v=Object(s.useState)("swiper-slide"),O=v[0],y=v[1];function w(e,t,n){t===g.current&&y(n)}Object(a.a)((function(){if(t&&(t.current=g.current),g.current&&h){if(!h.destroyed)return h.on("_slideClass",w),function(){h&&h.off("_slideClass",w)};"swiper-slide"!==O&&y("swiper-slide")}})),Object(a.a)((function(){h&&g.current&&y(h.getSlideClasses(g.current))}),[h]),"function"===typeof b&&(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 b?b(n):b};return i.a.createElement(m,c({ref:g,className:Object(r.f)(O+(p?" "+p:"")),"data-swiper-slide-index":j},x),f?i.a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof f?f:void 0},N()):N())}));l.displayName="SwiperSlide"},464:function(e,t,n){},532:function(e,t,n){"use strict";n.r(t);var s,i=n(1),r=(n(51),n(48)),a=n(21),o=n(127),c=n(50),l=n(49).a.div(s||(s=Object(c.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));var m=function(e){var t=Object(i.useState)(""),n=Object(r.a)(t,2),s=n[0],c=n[1];Object(i.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;c(t)}else console.log("Oops couldn't fetch data")}))}),[]);var m=e.page;return Object(d.jsx)(l,{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:""})]})})})},b=(n(464),n(105));t.default=function(){return Object(d.jsxs)("div",{children:[Object(d.jsx)(m,{page:"support_nature"}),Object(d.jsxs)("div",{className:"w-full bg-gray-100 py-4",children:[Object(d.jsx)(b.a,{}),Object(d.jsx)("div",{className:"max-w-5xl mx-auto md:px-16 px-8",children:Object(d.jsx)("div",{className:"grid md:grid-cols-1 grid-cols-1 md:gap-8 items-start md:mb-0 mb-8",children:Object(d.jsxs)("div",{className:"block",children:[Object(d.jsx)("h1",{className:"text-4xl font-bold mb-2",children:"SPONSORSHIP & DONATION"}),Object(d.jsxs)("p",{className:"text-base text-mbl txt-justify mb-4",children:["As a non-profit non-governmental organization, funding for projects and events are received through kind donations and sponsorship from individuals and corporate organisations. Contributions are pooled with the funds from other donors, sponsors and membership subscriptions to support conservation activities. Contact information: \u2013 ",Object(d.jsx)("span",{className:"text-green",children:"fundraising@ncfnigeria.org"})]})]})})}),Object(d.jsx)("img",{className:"forest",src:"/assets/images/getinvolved/forest.svg",alt:""}),Object(d.jsx)("img",{className:"white",src:"/assets/images/getinvolved/white.svg",alt:""})]}),Object(d.jsx)("div",{className:"imagecover w-full bg-white py-16",children:Object(d.jsxs)("div",{className:"max-w-7xl mx-auto md:px-16 px-8",children:[Object(d.jsxs)("div",{className:"text-right mb-2",children:[Object(d.jsx)("h1",{className:"font-bold text-2xl",children:"SPONSORSHIP"}),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 grid-cols-1 md:gap-8 items-start md:mb-0 mb-8",children:[Object(d.jsx)("div",{className:"md:col-span-6 col-span-12",children:Object(d.jsx)("img",{src:"/assets/images/groups/shake.png",alt:""})}),Object(d.jsxs)("div",{className:"mt-6 md:col-span-6 col-span-12",children:[Object(d.jsx)("p",{className:"font-base text-mbl txt-justify mb-4",children:"Organisations that are concerned about the environment have been at the forefront of generously supporting the foundation\u2019s events and programmes over the years. Successes of our events are premised on sponsorship from corporate organizations. As a corporate organisation, you can support any or all of the following annual programmes:"}),Object(d.jsxs)("ul",{className:"ml-4 proglist text-mbl mb-4",children:[Object(d.jsx)("li",{children:"World Environmental Day"}),Object(d.jsx)("li",{children:"World Habitat Day"}),Object(d.jsx)("li",{children:"Annual Walk for Nature"}),Object(d.jsx)("li",{children:"Annual Green Ball"})]}),Object(d.jsx)("p",{className:"font-base text-mbl txt-justify mb-4",children:"Sponsors are recognised in all communication channels such as event brochure, press releases, social media and on the Foundation\u2019s website. Artworks are equally published in all communication materials. Be a sponsor."})]})]})]})}),Object(d.jsx)("div",{className:"imagecover w-full bg-white py-16",children:Object(d.jsxs)("div",{className:"max-w-7xl mx-auto md:px-16 px-8",children:[Object(d.jsxs)("div",{className:"mb-2 mt-5em",children:[Object(d.jsx)("h1",{className:"font-bold text-2xl",children:"DONATION"}),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 grid-cols-2 md:gap-8 items-start md:mb-0 mb-8",children:[Object(d.jsxs)("div",{className:"mt-2 md:col-span-6 col-span-12",children:[Object(d.jsx)("p",{className:"font-base text-mbl txt-justify mb-2 mt-2em",children:"Kindly donate to the Foundation to support any area of environmental conservation. As a donor, you may choose specific area or activity you wish to support e.g. environmental education, research, essay competitions, school visits and student membership etc or pool the fund with other donors."}),Object(d.jsx)("p",{className:"font-base text-mbl txt-justify mb-4",children:"Increasingly, individuals who share common value with our vision and mission are leaving bequests to the NCF as a way of leaving their footprints in the sand of time. Such endowments are used for stated purpose(s) or for any environmental conservation. On request, projects can be named after the benefactors as a way of immortalising them. Please donate now."})]}),Object(d.jsx)("div",{className:"md:col-span-6 col-span-1",children:Object(d.jsx)("img",{src:"/assets/images/groups/coin.png",alt:""})})]})]})}),Object(d.jsx)("div",{className:"imagecover w-full bg-white py-16",children:Object(d.jsxs)("div",{className:"max-w-7xl mx-auto md:px-16 px-8",children:[Object(d.jsxs)("div",{className:"mb-2 mt-2em",children:[Object(d.jsx)("h1",{className:"font-bold text-2xl",children:"BENEFITS TO DONORS AND SPONSORS"}),Object(d.jsx)("hr",{className:"h-1 my-4 bg-transparent border-0 border-t border-solid border-gray-300"})]}),Object(d.jsx)("div",{className:"grid md:grid-cols-12 grid-cols-2 md:gap-8 items-start md:mb-0 mb-8",children:Object(d.jsx)("div",{className:"mt-6 md:col-span-8 col-span-12",children:Object(d.jsxs)("ul",{className:"ml-4 proglist text-mbl mb-4 mt-2em",children:[Object(d.jsx)("li",{children:"Donations and sponsorship count for corporate social responsibility contribution to the environment for individuals and organisations."}),Object(d.jsx)("li",{children:"Partners have opportunities to utilise the outputs of this initiative in ways that can contribute to their business growth and investment opportunities."}),Object(d.jsx)("li",{children:"Partners are promoted through global corporate branding linked to the goodwill this local initiative offer."}),Object(d.jsx)("li",{children:"Partners receive an annual Distinguished Presidential Award as key contributor to national and global efforts on achieving Sustainable Development Goals in Nigeria."}),Object(d.jsx)("li",{children:"Brand visibility across all channels that will be employed to promote the event."}),Object(d.jsx)("li",{children:"Recognition (public speeches and interviews in both print and electronic media on days leading to the event). Opportunity for merchandising at the events."}),Object(d.jsx)("li",{children:"Partnership in environmental stewardship with the Nigerian Conservation Foundation, a foremost environmental non-governmental organisation in Nigeria."})]})})})]})})]})}}}]); //# sourceMappingURL=23.04b3d654.chunk.js.map