PageSourceSearch

https://courtmatch.ai/_next/static/chunks/pages/newHomePage/bookdemo-6dd60bd96b71a189.js

js courtmatch.ai collected 2026-10-02 00:28:25 UTC 8,321 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2591],{42403:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>m});var a=s(37876),l=s(14232),r=s(43626),n=s.n(r),o=s(77328),i=s.n(o),c=s(22926),x=s(95258),p=s(15526),d=s(63709),u=s(19189);function m(){let[e,t]=(0,l.useState)(""),[s,r]=(0,l.useState)(""),[o,m]=(0,l.useState)(""),[h,f]=(0,l.useState)(""),[g,w]=(0,l.useState)(""),[b,j]=(0,l.useState)(""),[v,y]=(0,l.useState)(!1),{mutateAsync:N,isLoading:F}=(0,p.n)(({id:e,data:t})=>(0,d.Gw)(e,t)),A=async()=>{if(""===e||""===s||""===o||""===h||""===g)return void(0,u.$U)({title:"",description:"Please fill all required fields",color:"danger",variant:"flat"});if(!o.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/))return void(0,u.$U)({title:"",description:"Please provide a valid email",color:"danger",variant:"flat"});let a={body:JSON.stringify({site:"courtmatch",name:`${e} ${s}`,email:o,phone:h,company:g,message:b||"Book a Demo request"})};try{(await N({id:1,data:a})).status.toString().startsWith("2")&&(t(""),r(""),m(""),f(""),w(""),j(""),y(!0),setTimeout(()=>{y(!1)},3500))}catch(e){(0,u.$U)({title:"",description:e.response?.data?.message||"Error submitting form",color:"default",variant:"flat"})}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("title",{children:"Book a Demo | CourtMatch Court Reservation Software"}),(0,a.jsx)("meta",{name:"description",content:"Get a personalized walkthrough of CourtMatch — the all-in-one court reservation and club management platform for racquet sports facilities."}),(0,a.jsx)("meta",{property:"og:title",content:"Book a Demo | CourtMatch Court Reservation Software"}),(0,a.jsx)("meta",{property:"og:description",content:"Get a personalized walkthrough of CourtMatch — the all-in-one court reservation and club management platform for racquet sports facilities."}),(0,a.jsx)("meta",{property:"og:url",content:"https://www.courtmatch.ai/bookdemo/"}),(0,a.jsx)("meta",{property:"og:type",content:"website"})]}),(0,a.jsxs)("main",{className:`flex min-h-screen overflow-x-hidden sm:overflow-x-clip flex-col bg-neutral99 ${n().variable} font-inter`,children:[(0,a.jsx)(c.A,{}),(0,a.jsx)("div",{className:"w-full max-w-[1140px] mx-auto px-0 sm:px-6 lg:px-8 py-12 sm:py-16 lg:py-24",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-start",children:[(0,a.jsxs)("div",{className:"order-1 lg:order-1 px-4 sm:px-0",children:[(0,a.jsxs)("h1",{className:"text-[32px] sm:text-[56px] font-extrabold text-neutral20 text-center sm:text-left leading-tight mb-6",children:["See How CourtMatch Helps Your Club Run"," ",(0,a.jsx)("span",{className:"text-[#504AFF]",children:"Better"}),"."]}),(0,a.jsxs)("p",{className:"text-[16px] text-neutral20 leading-relaxed mb-8 text-center sm:text-left",children:["Get ",(0,a.jsx)("b",{children:"a personalized walkthrough"})," of CourtMatch for club owners and managers. See how it streamlines scheduling, communication, and programs, so your club runs more efficiently."]}),(0,a.jsxs)("div",{className:"space-y-4 justify-center items-center sm:items-start flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center w-fit gap-3 h-[48px] bg-white rounded-[4px] px-[20px] ",style:{boxShadow:"0px 4px 32px 1px #504AFF14"},children:[(0,a.jsx)("div",{className:"mt-[2px] flex h-6 w-6 items-center justify-center rounded-[9px] flex-shrink-0",children:(0,a.jsx)("img",{src:"/images/newHomePage/assuranceIcon.svg",alt:"Check",className:"w-full h-full"})}),(0,a.jsx)("p",{className:"text-[14px] text-neutral20",children:"Guidance on setup, pricing, and next steps"})]}),(0,a.jsxs)("div",{className:"flex items-center w-fit gap-3 h-[48px] bg-white rounded-[4px] px-[20px] ",style:{boxShadow:"0px 4px 32px 1px #504AFF14"},children:[(0,a.jsx)("div",{className:"mt-[2px] flex h-6 w-6 items-center justify-center rounded-[9px] flex-shrink-0",children:(0,a.jsx)("img",{src:"/images/newHomePage/assuranceIcon.svg",alt:"Check",className:"w-full h-full"})}),(0,a.jsx)("p",{className:"text-[14px] text-neutral20",children:"Clear answers to your use cases"})]}),(0,a.jsxs)("div",{className:"flex items-center w-fit gap-3 h-[48px] bg-white rounded-[4px] px-[20px] ",style:{boxShadow:"0px 4px 32px 1px #504AFF14"},children:[(0,a.jsx)("div",{className:"mt-[2px] flex h-6 w-6 items-center justify-center rounded-[9px] flex-shrink-0",children:(0,a.jsx)("img",{src:"/images/newHomePage/assuranceIcon.svg",alt:"Check",className:"w-full h-full"})}),(0,a.jsx)("p",{className:"text-[14px] text-neutral20",children:"Insight into key features and best practices"})]})]})]}),(0,a.jsxs)("div",{className:"order-2 lg:order-2 relative mt-4 sm:mt-0",children:[(0,a.jsx)("div",{className:"absolute -top-8 -right-8 w-full h-[400px] rounded-lg opacity-20 pointer-events-none"}),(0,a.jsxs)("div",{className:"relative bg-white px-4 py-8 sm:p-8",children:[(0,a.jsx)("div",{className:"w-full h-[22px] bg-[#DCDBFF] absolute top-0 right-0",style:{clipPath:"pol
1ygon(0 0, 100% 0, 0 100%)"}}),(0,a.jsx)("div",{className:"mt-4"}),v?(0,a.jsxs)("div",{className:"bg-[#D5F5ED] rounded-[6px] h-auto py-6 px-4 flex flex-col items-center justify-center text-center",children:[(0,a.jsx)("span",{className:"text-[14px] font-bold text-[#125342] mb-1",children:"Thanks for contacting us!"}),(0,a.jsx)("span",{className:"text-[14px] text-[#125342]",children:"We will be in touch with you shortly!"})]}):(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("input",{type:"text",value:e,onChange:e=>t(e.target.value),placeholder:"First Name",className:"h-[48px] w-full rounded-[4px]  bg-[#F6F6F6] px-4 text-[14px] outline-none placeholder:text-[#9A9A9A] focus:border-primary focus:bg-white transition-colors"})}),(0,a.jsx)("div",{children:(0,a.jsx)("input",{type:"text",value:s,onChange:e=>r(e.target.value),placeholder:"Last Name",className:"h-[48px] w-full rounded-[4px]  bg-[#F6F6F6] px-4 text-[14px] outline-none placeholder:text-[#9A9A9A] focus:border-primary focus:bg-white transition-colors"})})]}),(0,a.jsx)("div",{children:(0,a.jsx)("input",{type:"email",value:o,onChange:e=>m(e.target.value),placeholder:"Email",className:`h-[48px] w-full rounded-[4px]  px-4 text-[14px] outline-none placeholder:text-[#9A9A9A] focus:bg-white transition-colors ${""!==o&&!o.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)?" bg-red-50":" bg-[#F6F6F6] "}`})}),(0,a.jsx)("div",{children:(0,a.jsx)("input",{type:"tel",value:h,onChange:e=>f(e.target.value),placeholder:"Phone",className:"h-[48px] w-full rounded-[4px]  bg-[#F6F6F6] px-4 text-[14px] outline-none placeholder:text-[#9A9A9A] focus:border-primary focus:bg-white transition-colors"})}),(0,a.jsx)("div",{children:(0,a.jsx)("input",{type:"text",value:g,onChange:e=>w(e.target.value),placeholder:"Company/Club Name",className:"h-[48px] w-full rounded-[4px]  bg-[#F6F6F6] px-4 text-[14px] outline-none placeholder:text-[#9A9A9A] focus:border-primary focus:bg-white transition-colors"})}),(0,a.jsx)("div",{children:(0,a.jsx)("textarea",{value:b,onChange:e=>j(e.target.value),placeholder:"Please share any details that will help us prepare for our meeting.",rows:4,className:"h-auto min-h-[100px] w-full resize-none rounded-[4px]  bg-[#F6F6F6] px-4 py-3 text-[14px] outline-none placeholder:text-[#9A9A9A] focus:border-primary focus:bg-white transition-colors"})}),(0,a.jsx)("button",{onClick:A,disabled:F,className:"w-full rounded-[4px] bg-primary py-[12px] h-[48px] text-[14px] font-semibold text-white hover:opacity-90 transition-opacity disabled:opacity-50 flex items-center justify-center",children:F?"Submitting...":"Submit"})]})]})]})]})}),(0,a.jsx)(x.A,{})]})]})}},43626:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},60798:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/newHomePage/bookdemo",function(){return s(42403)}])},77328:(e,t,s)=>{e.exports=s(88022)}},e=>{e.O(0,[4209,636,6593,8792],()=>e(e.s=60798)),_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.