PageSourceSearch

https://bowtiesports.com/assets/Contact-BKAuA1Kt.js

js bowtiesports.com collected 2026-10-07 02:28:19 UTC 6,971 bytes, 1 lines download raw bytes

1import{r as y,j as e}from"./react-vendor-DUhHROXo.js";import{L as q,H as _,Z as T,o as L,ae as c}from"./index-BLtzf0SR.js";import{I as d}from"./input-RFokm5kN.js";import{T as B}from"./textarea-Da4-oaTC.js";import{S as E,a as M,b as C,c as I,d as G}from"./select-CMAo_7oa.js";import{s as N}from"./client-DTel1CZI.js";import{B as D}from"./briefcase-CdSp4ViD.js";import{M as z}from"./message-square-BDdDilNB.js";import{S as P}from"./send-DwNBDc56.js";import"./router-vendor-Dz9PdDzH.js";import"./index-BdQq_4o_.js";import"./index-O12prPmO.js";import"./chevron-up-B89bkR-F.js";const A=1,O="ec0f7898-3b9f-4cff-a89f-f6a84bd54f3d",R="e5566e68-bd05-4bce-aba0-191f7622a210",W="/__l5e/assets-v1/ec0f7898-3b9f-4cff-a89f-f6a84bd54f3d/contact-bg.jpg",F="a/v1/e5566e68-bd05-4bce-aba0-191f7622a210/ec0f7898-3b9f-4cff-a89f-f6a84bd54f3d/contact-bg.jpg",H="contact-bg.jpg",V=193970,Z="image/jpeg",Q="2026-07-14T18:41:31Z",U={version:A,asset_id:O,project_id:R,url:W,r2_key:F,original_filename:H,size:V,content_type:Z,created_at:Q},Y=U.url,w=[{value:"sponsorship",label:"Sponsorship & Advertising"},{value:"media",label:"Media & Press Inquiries"},{value:"speaking",label:"Speaking Engagements"},{value:"collaboration",label:"Collaboration"},{value:"general",label:"General Inquiry"}];function ce(){const[m,n]=y.useState(!1),[t,x]=y.useState("");async function k(s){var h,f,g,b,j;s.preventDefault(),n(!0);const u=s.target,r=new FormData(u),l=(h=r.get("name"))==null?void 0:h.trim(),o=(f=r.get("email"))==null?void 0:f.trim(),S=(g=r.get("company"))==null?void 0:g.trim(),p=(b=r.get("message"))==null?void 0:b.trim();if(!l||!o||!t||!p){c({title:"Missing fields",description:"Please fill out all required fields.",variant:"destructive"}),n(!1);return}try{const i=((j=w.find(a=>a.value===t))==null?void 0:j.label)||t,{error:v}=await N.from("ad_inquiries").insert({contact_name:l,email:o,company_name:S||"N/A",package_interest:i,message:p,status:"new"});v&&console.error("DB error:",v);try{const{error:a}=await N.functions.invoke("send-email",{body:{template:"contact-confirmation",to:o,data:{name:l,inquiry_type:i}}});a&&console.error("Email error:",a)}catch(a){console.error("Email send failed:",a)}c({title:"Message sent!",description:"We'll get back to you within 48 hours. Check your email for a confirmation."}),u.reset(),x("")}catch(i){console.error("Submit error:",i),c({title:"Something went wrong",description:"Please try again or email us directly.",variant:"destructive"})}finally{n(!1)}}return e.jsxs(q,{children:[e.jsxs(_,{children:[e.jsx("title",{children:"Contact Us | Bow Tie Sports Group"}),e.jsx("meta",{name:"description",content:"Get in touch with Bow Tie Sports Group for sponsorships, media inquiries, speaking engagements, and collaborations."}),e.jsx("link",{rel:"canonical",href:"https://btsgpodcast.lovable.app/contact"})]}),e.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:Y,alt:"",className:"w-full h-full object-cover",loading:"eager"}),e.jsx("div",{className:"absolute inset-0 bg-secondary/75"})]}),e.jsxs("div",{className:"container-wide px-4 text-center relative z-10",children:[e.jsx("h1",{className:"text-primary-foreground mb-4",children:"Get in Touch"}),e.jsx("div",{className:"divider-gold mx-auto mb-6"}),e.jsx("p",{className:"text-xl text-secondary-foreground/80 max-w-2xl mx-auto",children:"Business inquiries, sponsorship opportunities, and media requests."})]})]}),e.jsx("section",{className:"section-padding bg-background",children:e.jsx("div",{className:"container-wide max-w-5xl",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-5 gap-12",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-display font-bold mb-4",children:"Let's Work Together"}),e.jsx("p",{className:"text-muted-foreground",children:"Whether you're looking to sponsor the podcast, book D.O.L. for a speaking engagement, or explore a media collaboration, we'd love to hear from you."})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-accent/10 flex items-center justify-center flex-shrink-0",children:e.jsx(D,{className:"w-5 h-5 text-accent"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-sm",children:"Sponsorships"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Reach a dedicated audience of passionate NFL fans."})]})]}),e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-accent/10 flex items-center justify-center flex-shrink-0",children:e.jsx(z,{className:"w-5 h-5 text-accent"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-sm",children:"Media Requests"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Press inquiries, interviews, and guest appearances."})]})]}),e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-accent/10 flex items-center justify-center flex-shrink-0",children:e.jsx(T,{className:"w-5 h-5 text-accent"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-sm",children:"General"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Questions, feedback, or just want to say hello."})]})]})]})]}),e.jsx("div",{className:"lg:col-span-3",children:e.jsxs("form",{onSubmit:k,className:"bg-card rounded-xl border border-border p-8 space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Name"}),e.jsx(d,{name:"name",placeholder:"Your name",required:!0,maxLength:100})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Email"}),e.jsx(d,{name:"email",type:"email",placeholder:"[email protected]",required:!0,maxLength:255})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Inquiry Type"}),e.jsxs(E,{required:!0,value:t,onValueChange:x,children:[e.jsx(M,{children:e.jsx(C,{placeholder:"Select a category"})}),e.jsx(I,{children:w.map(s=>e.jsx(G,{value:s.value,children:s.label},s.value))})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Company / Organization"}),e.jsx(d,{name:"company",placeholder:"Optional",maxLength:200})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-sm font-medium mb-1.5 block",children:"Message"}),e.jsx(B,{name:"message",placeholder:"Tell us about your inquiry...",rows:5,required:!0,maxLength:2e3})]}),e.jsxs(L,{type:"submit",className:"w-full bg-accent hover:bg-accent/90 text-accent-foreground",disabled:m,children:[e.jsx(P,{className:"w-4 h-4 mr-2"}),m?"Sending...":"Send Message"]})]})})]})})})]})}export{ce as default};

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.