1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[39],{"+8Ne":function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return s("UqWo")}])},"P/tf":function(e,t,s){"use strict";var r=s("nKUr"),a=s("q1tI"),c=s("NKCw"),n=s("of9s"),i=s("/MKj"),l=(s("ZfH4"),s("DJ7r")),o=s("4svx"),d=s("Lo8k");t.a=({headOfficeAddress:e,email:t,phoneNumbers:s,time:j})=>{const{0:b,1:m}=Object(a.useState)(""),{0:u,1:h}=Object(a.useState)(""),{register:O,handleSubmit:p,errors:x,reset:f}=Object(c.a)(),g=Object(i.b)(),N=Object(i.c)((e=>e.loader.loading));Object(a.useEffect)((()=>{if(j){var e;const t=null===j||void 0===j||null===(e=j.opening_time)||void 0===e?void 0:e.split(":"),s=t[0]+":"+t[1],r=null===j||void 0===j?void 0:j.closing_time.split(":"),a=parseInt(r[0])-12+":"+r[1];m(s),h(a)}}),[j]);return Object(r.jsx)(r.Fragment,{children:Object(r.jsx)("section",{className:"contact-us store-location",children:Object(r.jsx)("div",{className:"container",children:Object(r.jsxs)("div",{className:"row",children:[Object(r.jsxs)("div",{className:"col-md-5",children:[Object(r.jsx)("h4",{children:"Leave us a message"}),Object(r.jsxs)("form",{onSubmit:p((async e=>{g(Object(o.b)());const t={name:e.name,email:e.email,message:e.message,subject:e.subject};if(e)try{const{data:e}=await l.b.post("contact",t);g(Object(o.b)()),n.NotificationManager.success(e.message,"",3e3)}catch(s){g(Object(o.b)()),n.NotificationManager.error(s.response.data.message,"",3e3),console.log(s)}f({})})),className:"signup-form contact-form",children:[Object(r.jsx)("div",{className:"textbox ",children:Object(r.jsx)("input",{type:"text",name:"name",placeholder:"Your name*",ref:O({required:"All fields are required."})})}),Object(r.jsxs)("div",{className:"textbox",children:[Object(r.jsx)("input",{type:"email",name:"email",placeholder:"Your email address*",ref:O({required:"All fields are required."})}),Object(r.jsx)("div",{className:`border ${x.email?"border-error":null}`})]}),Object(r.jsxs)("div",{className:"textbox",children:[Object(r.jsx)("input",{type:"text",name:"subject",placeholder:"Your phone number*",ref:O({required:"All fields are required."})}),Object(r.jsx)("div",{className:`border ${x.subject?"border-error":null}`})]}),Object(r.jsx)("textarea",{className:x.message?"textarea-error":null,name:"message",ref:O({required:!0}),placeholder:"Your message*"}),N?Object(r.jsx)("div",{className:"text-center",children:Object(r.jsx)(d.a,{})}):Object(r.jsx)("button",{className:"btn mt-5",children:Object(r.jsx)("span",{className:"text",children:"Submit"})}),(x.message||x.subject||x.email||x.name)&&Object(r.jsx)("p",{className:"error",children:"All fields are required."})]})]}),Object(r.jsx)("div",{className:"col-md-1 d-md-block d-none offset-md-1",children:Object(r.jsx)("p",{className:"line"})}),Object(r.jsxs)("div",{className:"col-md-4 mt-sm-0 mt-5 offset-md-1",children:[Object(r.jsx)("h4",{children:"Opening hours"}),Object(r.jsxs)("div",{className:"d-flex align-items-center flex-wrap mb-4",children:[Object(r.jsx)("p",{children:"Mondays - Sundays:-"}),Object(r.jsx)("p",{className:"ml-2",children:`${b}a.m - ${u}pm`})]}),Object(r.jsx)("h6",{children:"Head office"}),Object(r.jsx)("p",{className:"mb-4",children:e}),Object(r.jsx)("h6",{children:"Phone no"}),Object(r.jsx)("div",{children:(null===s||void 0===s?void 0:s.length)>0&&(null===s||void 0===s?void 0:s.map(((e,t)=>{let s;return s=0===t?Object(r.jsx)("p",{className:"mb-2",children:Object(r.jsxs)("a",{target:"_blank",className:"link-to-hr d-flex",href:`tel:${e}`,children:[" ",Object(r.jsx)("img",{src:"/images/icon/phone.png",className:"img-fluid phone-img",alt:""}),e," "]})},t):Object(r.jsx)("p",{className:"mb-0",children:Object(r.jsxs)("a",{target:"_blank",className:"link-to-hr d-flex",href:`https://api.whatsapp.com/send/?phone=+234${e}&text=Hi &app_absent=0`,children:[" ",Object(r.jsx)("img",{src:"/images/icon/whatsapp.png",className:"img-fluid phone-img",alt:""}),e," "]})},t),s})))}),Object(r.jsx)("h6",{className:"mt-4",children:"Email"}),Object(r.jsxs)("p",{children:[" ",Object(r.jsx)("a",{className:"link-to-hr",href:`mailto:${t}`,children:t})," "]})]})]})})})})}},UqWo:function(e,t,s){"use strict";s.r(t);var r=s("nKUr"),a=s("5Yp1"),c=s("g4pe"),n=s.n(c),i=s("q1tI"),l=s("0b+E"),o=s("20a2"),d=s("P/tf"),j=s("DJ7r");const b=({contact_banner:e,head_office_address:t,email:s,phone_numbers:c,time:j})=>{const b=null!==e&&void 0!==e&&e.includes(" ")?e.replace(/ /g,"%20"):e;Object(i.useEffect)((()=>{l.a.pageview(window.location.pathname+window.location.search)}),[]);const m=`https://kilimanjaro-restaurants.com${Object(o.useRouter)().asPath.split("?")[0]}`;return Object(r.jsx)(r.Fragment,{children:Object(r.jsxs)(a.a,{children:[Object(r.jsxs)(n.a,{children:[Object(r.jsx)("link",{rel:"canonical",href:m}),Object(r.jsx)("title",{children:"Contact Kilimanjaro Restaurants | Customer Support "}),Object(r.jsx)("meta",{name:"description",content:"Have a question, need help with an order, or want more information? Contact Kilimanjaro Restaurants by phone or email, and our team will be happy to assist you. "}),Object(r.jsx)("meta",{name:"keyword",content:"MEALS FOOD RESTAURANT NIGERIA"})]}),Object(r.jsx)("header",{className:"store-header contact-us",style:{backgroundImage:`url(${b})`},children:Object(r.jsx)("h1",{className:"visually-hidden",children:"Contact Us"})}),Object(r.jsx)(d.a,{headOfficeAddress:t,email:s,phoneNumbers:c,time:j})]})})};b.getInitialProps=async()=>{try{const{data:{data:e}}=await j.b.get("settings/get-order-times"),{data:{data:{contact_banner:t,head_office_address:s,email:r,phone_numbers:a}}}=await j.b.get("settings");return{contact_banner:t,head_office_address:s,email:r,phone_numbers:a,time:e}}catch(e){return{}}},t.default=b},ZfH4:function(e,t,s){"use strict";var r=s("nKUr"),a=s("cpVT");function c(e,t){if(null==e)return{};var s,r,a=function(e,t){if(null==e)return{};var s,r,a={},c=Object.keys(e);for(r=0;r<c.length;r++)s=c[r],t.indexOf(s)>=0||(a[s]=e[s]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)s=c[r],t.indexOf(s)>=0||Object.prototype.propertyIsEnumerable.call(e,s)&&(a[s]=e[s])}return a}function n(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,r)}return s}function i(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};
1t%2?n(Object(s),!0).forEach((function(t){Object(a.a)(e,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):n(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}t.a=e=>{let{label:t,textboxClass:s,error:a,register:n}=e,l=c(e,["label","textboxClass","error","register"]);return Object(r.jsxs)(r.Fragment,{children:[t&&Object(r.jsx)("label",{htmlFor:t,children:t}),Object(r.jsx)("div",{className:`textbox ${s}`,children:Object(r.jsx)("input",i(i({},l),{},{ref:n}))}),a&&Object(r.jsx)("p",{className:"error",children:a})]})}}},[["+8Ne",0,1,2,3,4,5,6]]]); 2//# sourceMappingURL=contact-46f52df16ac9f50ae7b7.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.