1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[231],{8787:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/install-app",function(){return r(23472)}])},23472:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return index_page}});var s=r(85893),n=r(67294),a=r(15782),l=r(81072),o=r(9836),i=r(70342),c=r(95377);let getIOSInstructions=e=>"safari"===e?[{text:'Press "More" icon',icon:"moreMenuIOS"},{text:'Tap the "Share" button',icon:"shareIOS"},{text:'Press "More" icon',icon:"moreMenuIOS"},{text:'Scroll down and tap "Add to Home Screen"',icon:"addHomeScreen"}]:[{text:'Tap the "Share" button',icon:"shareIOS"},{text:'Press "More" icon',icon:"moreMenuIOS"},{text:'Scroll down and tap "Add to Home Screen"',icon:"addHomeScreen"}],IosInstallInstructions=e=>{let{browser:t}=e,r=getIOSInstructions(t);return(0,s.jsxs)("div",{className:"w-full max-w-md bg-surface text-onSurface rounded p-6 shadow-lg",children:[(0,s.jsx)("h2",{className:"text-xl font-header font-bold mb-6 text-center",children:"Install on iOS"}),(0,s.jsx)("ol",{className:"space-y-6",children:r.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-center space-x-4",children:[(0,s.jsx)("div",{className:"bg-primary text-onPrimary rounded-full w-8 h-8 flex items-center justify-center shrink-0 font-bold",children:t+1}),(0,s.jsxs)("div",{className:"flex grow items-center",children:[(0,s.jsx)("p",{className:"text-base grow mr-4",children:e.text}),(0,s.jsx)("span",{className:"text-primary",children:(0,s.jsx)(c.Z,{name:e.icon,size:32})})]})]},t))})]})};var d=r(89966);let InstallAction=e=>{let{onInstall:t}=e;return(0,s.jsxs)("div",{className:"flex flex-col items-center text-center p-8 bg-surface text-onSurface rounded shadow-lg max-w-md w-full",children:[(0,s.jsx)("h2",{className:"text-2xl font-header font-bold mb-4",children:"Ready to install?"}),(0,s.jsx)("p",{className:"mb-8 text-base",children:"Install our app for a faster, more reliable experience and easy access anytime."}),(0,s.jsx)(d.zx,{title:"Install App",onPress:t,variant:"primary",containerClassName:"w-full"})]})},getAndroidInstructions=e=>"firefox"===e?[{text:"Tap the three dots in the toolbar",icon:"moreMenuIOS"},{text:'Select "Install"',icon:"addHomeScreen"}]:[{text:"Tap the three dots in the top right corner",icon:"moreMenuVert"},{text:'Tap "Add to Home screen" or "Install app"',icon:"addHomeScreen"},{text:'Follow the prompt to "Add" or "Install"'}],AndroidInstallInstructions=e=>{let{browser:t}=e,r=getAndroidInstructions(t);return(0,s.jsxs)("div",{className:"w-full max-w-md bg-surface text-onSurface rounded p-6 shadow-lg",children:[(0,s.jsx)("h2",{className:"text-xl font-header font-bold mb-6 text-center",children:"Install on Android"}),(0,s.jsx)("ol",{className:"space-y-6",children:r.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-center space-x-4",children:[(0,s.jsx)("div",{className:"bg-primary text-onPrimary rounded-full w-8 h-8 flex items-center justify-center shrink-0 font-bold",children:t+1}),(0,s.jsxs)("div",{className:"flex items-center grow",children:[(0,s.jsx)("p",{className:"text-base mr-4 grow",children:e.text}),e.icon&&(0,s.jsx)("span",{className:"text-primary",children:(0,s.jsx)(c.Z,{name:e.icon,size:32})})]})]},t))})]})};var x=r(71508);let DesktopRedirectInfo=e=>{let{url:t}=e;return(0,s.jsxs)("div",{className:"flex flex-col items-center text-center p-8 bg-surface text-onSurface rounded shadow-lg max-w-md w-full",children:[(0,s.jsx)("h2",{className:"text-2xl font-header font-bold mb-4",children:"Open on your phone"}),(0,s.jsx)("p",{className:"mb-6 text-base",children:"Scan this QR code with your phone's camera to install the app and get the best experience."}),(0,s.jsx)("div",{className:"p-4 rounded shadow-inner mb-6",children:(0,s.jsx)(x.t,{value:t,size:200})}),(0,s.jsxs)("div",{className:"text-sm opacity-75",children:[(0,s.jsx)("p",{children:"Or visit this page on your mobile browser:"}),(0,s.jsx)("p",{className:"font-mono mt-1 break-all",children:t})]})]})},AppInstalled=()=>(0,s.jsxs)("div",{className:"flex flex-col items-center text-center p-6 bg-surface text-onSurface rounded shadow-lg max-w-md w-full",children:[(0,s.jsx)("div",{className:"text-primary rounded-full p-4 mb-4",children:(0,s.jsx)(c.Z,{name:"check",size:48})}),(0,s.jsx)("h2",{className:"text-2xl font-header font-bold mb-2",children:"App Installed!"}),(0,s.jsx)("p",{className:"text-base",children:"You're all set! You can now access our app directly from your home screen."})]});var index_page=()=>{let{logoURL:e,name:t}=(0,l.Fx)(),{triggerInstall:r,isInstalled:c,canInstall:d}=(0,a.P)(),{isDesktop:x,isIOS:m,isMobile:u,isTablet:h,browser:f}
1=(0,i.b)(),[p,b]=(0,n.useState)("");return(0,n.useEffect)(()=>{b(window.location.href)},[]),(0,s.jsxs)("div",{className:"flex flex-col bg-background text-onBackground selection:bg-primary/30",children:[(0,s.jsx)(o.Z,{schema:{type:"landing"}}),(0,s.jsxs)("div",{className:"relative w-full overflow-hidden bg-primary py-16 px-4 md:py-24 shadow-2xl",children:[(0,s.jsxs)("div",{className:"absolute top-0 left-0 w-full h-full overflow-hidden z-0 opacity-20",children:[(0,s.jsx)("div",{className:"absolute -top-[10%] -left-[10%] w-[40%] h-[40%] rounded-full bg-white blur-[120px] animate-pulse"}),(0,s.jsx)("div",{className:"absolute top-[20%] -right-[5%] w-[30%] h-[30%] rounded-full bg-secondaryContainer blur-[100px]"}),(0,s.jsx)("div",{className:"absolute -bottom-[10%] left-[20%] w-[50%] h-[50%] rounded-full bg-onPrimary blur-[150px] opacity-30"})]}),(0,s.jsxs)("div",{className:"relative z-10 flex flex-col items-center max-w-4xl mx-auto",children:[e&&(0,s.jsxs)("div",{className:"relative group mb-8",children:[(0,s.jsx)("div",{className:"absolute -inset-1 bg-white rounded-[2rem] blur opacity-25 group-hover:opacity-50 transition duration-1000 group-hover:duration-200"}),(0,s.jsx)("img",{src:e,alt:t,className:"relative w-28 h-28 md:w-32 md:h-32 rounded-[2rem] shadow-2xl bg-white p-3 transform transition duration-500 hover:scale-105"})]}),(0,s.jsx)("h1",{className:"text-5xl md:text-7xl font-hero font-bold mb-6 text-onPrimary tracking-tight drop-shadow-lg text-center",children:t}),(0,s.jsx)("p",{className:"text-xl md:text-3xl font-medium text-onPrimary/90 max-w-2xl text-center leading-relaxed mb-4",children:"The future of ordering is here."}),(0,s.jsx)("div",{className:"h-1 w-20 bg-onPrimary/30 rounded-full mb-8"})]})]}),(0,s.jsxs)("section",{className:"relative flex-grow flex flex-col items-center justify-start -mt-12 px-4 md:px-8 pb-20 z-20",children:[(0,s.jsx)("div",{className:"w-full flex justify-center transform transition duration-700 hover:translate-y-[-4px]",children:(()=>{if(c)return(0,s.jsx)(AppInstalled,{});if(x)return(0,s.jsx)(DesktopRedirectInfo,{url:p});if(u||h){if(d)return(0,s.jsx)(InstallAction,{onInstall:r});if(m)return(0,s.jsx)(IosInstallInstructions,{browser:f})}return(0,s.jsx)(AndroidInstallInstructions,{browser:f})})()}),(0,s.jsxs)("div",{className:"mt-20 max-w-6xl w-full",children:[(0,s.jsx)("h2",{className:"text-3xl font-hero font-bold text-center mb-12 text-onBackground/80",children:"Why you'll love it"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-10",children:[(0,s.jsxs)("div",{className:"group flex flex-col items-center text-center p-8 bg-surface rounded shadow-lg border border-onSurface/5 transition-all duration-300 hover:shadow-2xl hover:border-primary/20",children:[(0,s.jsx)("div",{className:"w-16 h-16 rounded bg-primary/10 text-primary flex items-center justify-center mb-6 transform transition duration-500 group-hover:rotate-12 group-hover:scale-110",children:(0,s.jsx)("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})})}),(0,s.jsx)("h3",{className:"font-bold text-xl mb-3 text-onSurface",children:"Instant Access"}),(0,s.jsx)("p",{className:"text-onSurface/70 leading-relaxed",children:"Skip the browser. Launch directly from your home screen with a single tap."})]}),(0,s.jsxs)("div",{className:"group flex flex-col items-center text-center p-8 bg-surface rounded shadow-lg border border-onSurface/5 transition-all duration-300 hover:shadow-2xl hover:border-primary/20",children:[(0,s.jsx)("div",{className:"w-16 h-16 rounded bg-primary/10 text-primary flex items-center justify-center mb-6 transform transition duration-500 group-hover:rotate-12 group-hover:scale-110",children:(0,s.jsx)("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"})})}),(0,s.jsx)("h3",{className:"font-bold text-xl mb-3 text-onSurface",children:"Smart Alerts"}),(0,s.jsx)("p",{className:"text-onSurface/70 leading-relaxed",children:"Stay updated with real-time order tracking and exclusive app-only deals."})]}),(0,s.jsxs)("div",{className:"group flex flex-col items-center text-center p-8 bg-surface rounded shadow-lg border border-onSurface/5 transition-all duration-300 hover:shadow-2xl hover:border-primary/20",children:[(0,s.jsx)("div",{className:"w-16 h-16 rounded bg-primary/10 text-primary flex items-center justify-center mb-6 transform transition duration-500 group-hover:rotate-12 group-hover:scale-110",children:(0,s.jsx)("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,s.jsx)("h3",{className:"font-bold text-xl mb-3 text-onSurface",children:"Fluid UI"}),(0,s.jsx)("p",{className:"text-onSurface/70 leading-relaxed",children:"A premium, full-screen experience optimized for speed and your device."})]})]})]})]})]})}},70342:function(e,t,r){"use strict";r.d(t,{b:function(){return useGuessDeviceInfo}});var s=r(67294),n=r(85518);let getBrowserType=()=>n.i7||n.mJ||n.un||n.f0?"chromium":n.G6?"safari":n.vU?"firefox":"unknown",useGuessDeviceInfo=()=>
1{let[e,t]=(0,s.useState)(!1),[r,a]=(0,s.useState)(!1),[l,o]=(0,s.useState)(!1),[i,c]=(0,s.useState)(!1),[d,x]=(0,s.useState)(!1),[m,u]=(0,s.useState)(!1),[h,f]=(0,s.useState)("unknown");return(0,s.useEffect)(()=>{x(n.Dt),c(n.gn),o(n.nI),t(n.tq),a(n.Em),u(window.navigator.maxTouchPoints>0),f(getBrowserType())},[]),{isIOS:i,isAndroid:d,isDesktop:l,isMobile:e,isTablet:r,browser:h,hasTouchScreen:m}}}},function(e){e.O(0,[518,508,774,888,179],function(){return e(e.s=8787)}),_N_E=e.O()}]);
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.