PageSourceSearch

https://www.ikook.co.uk/_next/static/chunks/2698-ee287062962ce91a.js

js ikook.co.uk collected 2026-10-07 02:14:58 UTC 17,611 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2698],{52698:(e,t,a)=>{Promise.resolve().then(a.bind(a,41247))},41247:(e,t,a)=>{"use strict";a.d(t,{default:()=>L});var s=a(95155),l=a(12115),n=a(76046),i=a(15932),r=a(14085),o=a(68383);function c(e){let{highlight:t,className:a,children:l}=e;return(0,s.jsxs)("h1",{className:"relative font-poppins text-charcoal-100 m-0 ".concat(a||""),children:[(0,s.jsxs)("span",{className:"relative inline-block mr-2",children:[(0,s.jsx)("span",{className:"absolute bottom-1 md:bottom-2 left-0 w-full h-3 md:h-4 bg-primary-400 z-[2]"}),(0,s.jsx)("span",{className:"z-[3] relative",children:t})]}),l]})}function d(){let e=(0,n.useRouter)(),{market:t}=(0,o.A)(),[a,i]=(0,l.useState)("");(0,l.useRef)(null);let[d,m]=(0,l.useState)("");return(0,s.jsx)("section",{className:"relative bg-white py-16 px-4 lg:px-24 overflow-hidden",children:(0,s.jsxs)("div",{className:"relative max-w-7xl mx-auto",children:[(0,s.jsx)("div",{className:"text-center mb-8",children:(0,s.jsxs)(c,{highlight:"Your",className:"text-4xl md:text-6xl lg:text-7xl font-bold text-[#323335] leading-tight mb-2",children:[" ","personal chef, ",(0,s.jsx)("br",{})," in"," ",(0,s.jsx)("span",{className:"text-primary-400",children:"your home"}),", tonight"]})}),(0,s.jsx)("div",{className:"flex justify-center mt-12",children:(0,s.jsx)(r.$,{onClick:()=>e.push("/booking/custom"),className:"bg-[#323335] hover:bg-[#323335]/90 text-white px-8 py-4 h-auto text-xl font-medium rounded-md flex items-center space-x-3",children:(0,s.jsx)("span",{children:"Find a Chef"})})})]})})}var m=a(67396);let u=e=>{let{title:t,className:a="",containerClassName:l="",lineClassName:n="",spacingClassName:i=""}=e;return(0,s.jsx)("div",{className:"text-center mb-12 ".concat(l),children:(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)("div",{className:"w-full max-w-2xl h-0.5 bg-gray-200 mb-6 ".concat(n)}),(0,s.jsx)("h2",{className:"text-3xl lg:text-4xl font-medium text-[#323335] px-8 ".concat(a),children:t}),(0,s.jsx)("div",{className:"w-full max-w-2xl h-0.5 bg-gray-200 mt-6 ".concat(n)})]})})},x=a(51655).A.slice(0,3);function h(e){let{post:t}=e;return(0,s.jsx)(m.default,{href:"/blog/".concat(t.slug),className:"block h-full",children:(0,s.jsxs)("article",{className:"bg-white rounded-lg overflow-hidden shadow-sm group h-full flex flex-col hover:shadow-md transition-shadow duration-300",children:[(0,s.jsx)("div",{className:"aspect-[4/3] overflow-hidden",children:(0,s.jsx)("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"})}),(0,s.jsxs)("div",{className:"p-6 space-y-4 flex-1 flex flex-col",children:[(0,s.jsx)("h3",{className:"text-xl lg:text-2xl font-medium text-[#323335] leading-tight line-clamp-2",children:t.title}),(0,s.jsx)("p",{className:"text-gray-600 line-clamp-2 flex-1",children:t.excerpt}),(0,s.jsxs)("div",{className:"flex items-center justify-between mt-4",children:[(0,s.jsx)("span",{className:"text-primary-400 font-medium hover:underline",children:"Read More"}),(0,s.jsx)("span",{className:"text-sm text-gray-500",children:t.readTime})]})]})]})})}function p(){return(0,s.jsx)("section",{className:"bg-white py-16 px-4 lg:px-24",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)(u,{title:"Our Blog"}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-12",children:x.map(e=>(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(h,{post:e})},e.id))}),(0,s.jsx)("div",{className:"text-center",children:(0,s.jsx)(m.default,{href:"/blog",children:(0,s.jsx)(r.$,{className:"bg-primary-400 hover:bg-primary-400/90 text-[#323335] font-semibold px-8 py-3 rounded-md",children:"See More"})})})]})})}var v=a(5565),g=a(36121),f=a(97878),w=a(72198);function j(e){let{rating:t}=e;return(0,s.jsx)("div",{className:"flex space-x-1",children:[void 0,void 0,void 0,void 0,void 0].map((e,a)=>(0,s.jsx)("svg",{width:"10",height:"11",viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a<t?"text-primary-400":"text-gray-300",children:(0,s.jsx)("path",{d:"M8.67348 3.71448L6.24788 3.32631L5.16358 0.905758C5.13396 0.839485 5.08524 0.785835 5.02505 0.753224C4.87411 0.671172 4.69068 0.739549 4.61521 0.905758L3.53091 3.32631L1.10531 3.71448C1.03843 3.725 0.977291 3.75971 0.93048 3.81231C0.873887 3.87636 0.842702 3.96253 0.843777 4.05188C0.844852 4.14124 0.878098 4.22647 0.936212 4.28884L2.69116 6.17289L2.27655 8.83329C2.26683 8.89517 2.27305 8.95882 2.2945 9.01702C2.31596 9.07521 2.35179 9.12562 2.39794 9.16252C2.44409 9.19943 2.49871 9.22136 2.5556 9.22583C2.61249 9.2303 2.66939 9.21712 2.71982 9.1878L4.88939 7.93176L7.05896 9.1878C7.11819 9.22251 7.18698 9.23408 7.2529 9.22146C7.41913 9.1899 7.5309 9.01633 7.50224 8.83329L7.08762 6.17289L8.84258 4.28884C8.89034 4.2373 8.92187 4.16997 8.93142 4.09634C8.95722 3.91224 8.84067 3.74183 8.67348 3.71448Z",fill:"currentColor"})},a))})}function y(e){var t,a,l,n,i,r,c,d,m,u;let{menu:x}=e,{market:h}=(0,o.A)(),p=(0,f.F)(h).currencySymbol,g="".concat(null===(t=x.chef)||void 0===t?void 0:t.first_name," ").concat(null===(a=x.chef)||void 0===a?void 0:a.last_name),y=(null===(l=x.chef)||void 0===l?void 0:l.city)||(null===(n=x.chef)||void 0===n?void 0:n.country)||"Unknown",b=(null===(i=x.chef)||void 0===i?void 0:i.average_rating)||0,N=(null==x?void 0:null===(r=x.chef)||void 0===r?void 0:r.avatar)||"https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f
1=y",C=(null==x?void 0:null===(d=x.images)||void 0===d?void 0:null===(c=d[0])||void 0===c?void 0:c.image)||(null==x?void 0:null===(u=x.menu_images)||void 0===u?void 0:null===(m=u[0])||void 0===m?void 0:m.image)||"https://api.builder.io/api/v1/image/assets/TEMP/059768176633180c26b1655ccae459080e41d727?width=690";return(0,s.jsxs)("div",{className:"bg-white rounded-lg overflow-hidden shadow-sm",children:[(0,s.jsx)("div",{className:"relative aspect-[4/3] overflow-hidden bg-gray-100",children:(0,s.jsx)(v.default,{src:C,alt:x.name,className:"object-cover",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 25vw"})}),(0,s.jsxs)("div",{className:"p-4 space-y-2",children:[(0,s.jsx)("h3",{className:"font-semibold text-lg text-[#323335] truncate",title:x.name,children:x.name}),(0,s.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,s.jsx)("div",{className:"w-8 h-8 rounded-full overflow-hidden border border-primary-400 bg-white relative",children:(0,s.jsx)(v.default,{src:N,alt:"Chef ".concat(g),className:"object-cover",fill:!0,sizes:"32px"})}),(0,s.jsxs)("span",{className:"text-sm text-[#323335]",children:["Chef ",g]})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,s.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M6 10.5C5.36847 9.96136 4.7831 9.3708 4.25 8.73455C3.45 7.77905 2.5 6.35605 2.5 5.00005C2.49965 4.30753 2.70475 3.63047 3.08935 3.05456C3.47394 2.47865 4.02074 2.02978 4.66053 1.76474C5.30033 1.49971 6.00437 1.43044 6.68356 1.56569C7.36274 1.70094 7.98654 2.03464 8.476 2.52455C8.80188 2.84898 9.06017 3.23481 9.23594 3.65973C9.41171 4.08465 9.50146 4.54021 9.5 5.00005C9.5 6.35605 8.55 7.77905 7.75 8.73455C7.2169 9.3708 6.63153 9.96136 6 10.5ZM6 3.50005C5.60218 3.50005 5.22064 3.65808 4.93934 3.93939C4.65804 4.22069 4.5 4.60222 4.5 5.00005C4.5 5.39787 4.65804 5.7794 4.93934 6.06071C5.22064 6.34201 5.60218 6.50005 6 6.50005C6.39783 6.50005 6.77936 6.34201 7.06066 6.06071C7.34197 5.7794 7.5 5.39787 7.5 5.00005C7.5 4.60222 7.34197 4.22069 7.06066 3.93939C6.77936 3.65808 6.39783 3.50005 6 3.50005Z",fill:"#FCC01C"})}),(0,s.jsx)("span",{className:"text-xs text-[#323335]",children:y})]}),(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(j,{rating:Math.round(Number(b))}),(0,s.jsxs)("span",{className:"text-xs text-[#323335]",children:[p,(0,w.ZV)(Number(x.price_per_person),h),(0,s.jsx)("span",{className:"text-[10px]",children:" / person"})]})]})]})]})]})}function b(){let e=(0,n.useRouter)(),{menus:t,loading:a,error:l}=(0,g.y)(8);return a?(0,s.jsx)("section",{className:"bg-white py-16 px-4 lg:px-24",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)(u,{title:"Our top-rated chefs"}),(0,s.jsx)("div",{className:"flex justify-center items-center py-12",children:(0,s.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary-400"})})]})}):l?(0,s.jsx)("section",{className:"bg-white py-16 px-4 lg:px-24",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)(u,{title:"Our top-rated chefs"}),(0,s.jsx)("div",{className:"text-center py-12",children:(0,s.jsx)("p",{className:"text-gray-500",children:"Unable to load menus at this time."})})]})}):(0,s.jsx)("section",{className:"bg-white py-16 px-4 lg:px-24",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,s.jsx)(u,{title:"Our top-rated chefs"}),(0,s.jsx)("div",{className:"flex flex-wrap justify-center gap-6",children:t.map(e=>(0,s.jsx)("div",{className:"w-full sm:w-[calc(50%-12px)] lg:w-[calc(25%-18px)]",children:(0,s.jsx)(m.default,{href:"/booking/menus/details/".concat(e.slug),className:"block","aria-label":"View details for ".concat(e.name),children:(0,s.jsx)(y,{menu:e})})},e.id))}),(0,s.jsx)("div",{className:"text-center mt-12",children:(0,s.jsx)(r.$,{onClick:()=>{e.push("/explore")},className:"bg-primary-400 hover:bg-primary-400/90 text-[#323335] font-semibold px-8 py-3 rounded-md transition-colors",children:"See More"})})]})})}function N(){let e=l.useMemo(()=>Array.from({length:6},(e,t)=>"/organisations/company-".concat(t+1,".webp")),[]);return(0,s.jsx)("section",{className:"bg-white py-16 px-6 lg:px-16",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto text-center",children:[(0,s.jsx)(u,{title:"Trusted By"}),(0,s.jsx)("div",{className:"mb-8",children:(0,s.jsx)("div",{className:"mt-8 flex flex-row flex-wrap items-center justify-center gap-6 sm:gap-8 lg:gap-10 lg:justify-between w-full",children:e.map((e,t)=>(0,s.jsx)("img",{src:e,alt:t.toString(),className:"h-8 md:h-10 lg:h-12"},e))})}),(0,s.jsx)("p",{className:"text-xl text-ikook-secondary max-w-4xl mx-auto",children:"and individuals for Private dining, Corporate, Small and Large events"})]})})}let C=[{id:1,name:"Ms. Olamide",review:"The chef truly outdid themselves! The flavours, presentation, and service were     top-notch. Highly recommend! I look forward to trying your service again"}
1,{id:2,name:"Ms. Dede",review:"Thank you sooo much for yesterday We had a great time     And my husband enjoyed every meal"},{id:3,name:"Miss Wunmi",review:"Hi, I had a good experience with the chef. Thank you so much."},{id:4,name:"Ms. Kene",review:"This is sooo good Thank you sooo much"}];function k(){let[e,t]=l.useState(0),a=l.useRef(null);l.useEffect(()=>{let e=a.current;if(!e)return;let t=()=>{var t;(null===(t=window.Trustpilot)||void 0===t?void 0:t.loadFromElement)&&window.Trustpilot.loadFromElement(e,!0)};t();let s=setInterval(()=>{var e;(null===(e=window.Trustpilot)||void 0===e?void 0:e.loadFromElement)&&(t(),clearInterval(s))},500);return()=>clearInterval(s)},[]);let n=C[e];return(0,s.jsx)("section",{className:"bg-white py-16 px-4 lg:px-24",children:(0,s.jsxs)("div",{className:"max-w-5xl mx-auto",children:[(0,s.jsx)(u,{title:"Our Clients Say",className:"text-gray-900 font-bold",spacingClassName:"mb-4"}),(0,s.jsxs)("div",{className:"relative bg-gray-50 p-8 md:p-12 rounded-lg shadow-lg",children:[(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsxs)("blockquote",{className:"text-lg md:text-xl text-gray-700 italic mb-6",children:["“",n.review,"”"]}),(0,s.jsx)("p",{className:"text-lg font-medium text-gray-900",children:n.name})]}),(0,s.jsx)("div",{className:"flex justify-center mt-8 space-x-2",children:C.map((a,l)=>(0,s.jsx)("button",{onClick:()=>t(l),className:"w-3 h-3 rounded-full ".concat(l===e?"bg-primary-500":"bg-gray-300"),"aria-label":"View review ".concat(l+1)},l))}),(0,s.jsx)("button",{onClick:()=>{t(e=>0===e?C.length-1:e-1)},className:"absolute left-4 top-1/2 -translate-y-1/2 p-2 rounded-full hover:bg-gray-200 transition-colors","aria-label":"Previous review",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,s.jsx)("button",{onClick:()=>{t(e=>e===C.length-1?0:e+1)},className:"absolute right-4 top-1/2 -translate-y-1/2 p-2 rounded-full hover:bg-gray-200 transition-colors","aria-label":"Next review",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-gray-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}),(0,s.jsx)("div",{className:"mt-8 flex justify-center",children:(0,s.jsx)("div",{className:"trustpilot-widget w-full",ref:a,"data-locale":"en-US","data-template-id":"56278e9abfbbba0bdcd568bc","data-businessunit-id":"60b611b24edff200018023ad","data-style-height":"52px","data-style-width":"100%","data-token":"a24fbfde-b664-44b0-88df-d2e27ef6d853",children:(0,s.jsx)("a",{href:"https://www.trustpilot.com/review/ikook.co.uk",target:"_blank",rel:"noopener noreferrer",children:"Trustpilot"})})})]})})}var M=a(92538),S=a(67610);function A(e){let{data:t}=e;return(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})}function L(){let e=(0,n.useRouter)(),{isAuthenticated:t,user:a}=(0,S.n)();return((0,l.useEffect)(()=>{t&&(null==a?void 0:a.user_type)==="Chef"&&e.replace("/dashboard/chef")},[t,a,e]),t&&(null==a?void 0:a.user_type)==="Chef")?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(A,{data:{"@context":"https://schema.org","@type":"Organization",name:"iKooK",description:"Professional private chef services connecting talented chefs with food enthusiasts across Nigeria, United Kingdom, and South Africa.",url:"https://ikook.co.uk",logo:"https://ikook.co.uk/footer-logo.png",image:"https://ikook.co.uk/og-image.png",sameAs:["https://www.facebook.com/IKOOKAPP","https://www.instagram.com/ikookapp","https://twitter.com/ikookapp"],contactPoint:{"@type":"ContactPoint",contactType:"Customer Service",availableLanguage:["English"]},areaServed:[{"@type":"Country",name:"Nigeria"},{"@type":"Country",name:"United Kingdom"},{"@type":"Country",name:"South Africa"}]}}),(0,s.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,s.jsx)(i.Navigation,{}),(0,s.jsx)(d,{}),(0,s.jsx)(b,{}),(0,s.jsx)(k,{}),(0,s.jsx)(p,{}),(0,s.jsx)(N,{}),(0,s.jsx)(M.Footer,{})]})]})}},36121:(e,t,a)=>{"use strict";a.d(t,{b:()=>r,y:()=>i});var s=a(12115),l=a(88960),n=a(68383);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,t=!(arguments.length>
11)||void 0===arguments[1]||arguments[1],[a,i]=(0,s.useState)([]),[r,o]=(0,s.useState)(!0),[c,d]=(0,s.useState)(null),{market:m}=(0,n.A)();return(0,s.useEffect)(()=>{(async()=>{var a,s,n;try{o(!0),d(null);let s=new URLSearchParams({page:"1",page_size:e.toString(),status:"Active"});t&&m&&s.append("market",m);let n=await l.t.getMenus(s);(null==n?void 0:n.status)&&(null==n?void 0:null===(a=n.data)||void 0===a?void 0:a.results)?i(n.data.results):d("Invalid response format")}catch(e){d((null==e?void 0:null===(n=e.response)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:s.message)||"Failed to fetch menus")}finally{o(!1)}})()},[e,m,t]),{menus:a,loading:r,error:c}}let r=e=>{let[t,a]=(0,s.useState)(null),[n,i]=(0,s.useState)(!0),[r,o]=(0,s.useState)(null);return(0,s.useEffect)(()=>{e&&(i(!0),o(null),l.t.getMenuById(e).then(e=>{a((null==e?void 0:e.data)||e||null)}).catch(()=>{o("Failed to fetch menu details. Please try again later."),a(null)}).finally(()=>i(!1)))},[e]),{menu:t,loading:n,error:r}}},88960:(e,t,a)=>{"use strict";a.d(t,{t:()=>l});var s=a(15757);let l={async getMenus(e){let t=e?"?".concat(new URLSearchParams(e).toString()):"";return(await s.A.get("/menus/".concat(t))).data},getMenuById:async e=>(await s.A.get("/menus/".concat(e,"/"))).data,createMenu:async e=>(await s.A.post("/menus/",e)).data,updateMenu:async(e,t)=>(await s.A.patch("/menus/".concat(e,"/"),t)).data,deleteMenu:async e=>(await s.A.delete("/menus/".concat(e,"/"))).data,createMenuItem:async e=>(await s.A.post("/menus/items/",e)).data,updateMenuItem:async(e,t)=>(await s.A.patch("/menus/items/".concat(e,"/"),t)).data,deleteMenuItem:async e=>(await s.A.delete("/menus/items/".concat(e,"/"))).data,uploadMenuImage:async e=>(await s.A.post("/menus/images/",e,{headers:{"Content-Type":"multipart/form-data"}})).data,deleteMenuImage:async e=>(await s.A.delete("/menus/images/".concat(e,"/"))).data,generateMenuItemDescription:async e=>(await s.A.post("/menus/items/ai-description/",e)).data}},72198:(e,t,a)=>{"use strict";a.d(t,{ZV:()=>l});var s=a(97878);function l(e,t,a){let l=(0,s.F)(t);return new Intl.NumberFormat(l.locale,{minimumFractionDigits:0,maximumFractionDigits:0,useGrouping:!0,...a}).format(e)}},97878:(e,t,a)=>{"use strict";a.d(t,{F:()=>l});let s={NG:{code:"NG",locale:"en-NG",currency:"NGN",currencySymbol:"₦",phoneCountryCode:"+234"},GB:{code:"GB",locale:"en-GB",currency:"GBP",currencySymbol:"\xa3",phoneCountryCode:"+44"},ZA:{code:"ZA",locale:"en-ZA",currency:"ZAR",currencySymbol:"R",phoneCountryCode:"+27"}};function l(e){var t;return null!==(t=s[e])&&void 0!==t?t:s.NG}}}]);

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.