PageSourceSearch

https://summitstudio.ai/assets/contact-DrwZEg7M.js

js summitstudio.ai collected 2026-10-05 12:42:20 UTC 4,869 bytes, 1 lines download raw bytes

1import{G as e,o as t,q as n}from"./useStore-B9WcefOa.js";import{a as r,s as i}from"./primitives-Bq5imDbx.js";import{n as a}from"./createServerFn-BPZIP7du.js";import{D as o}from"./index-CMTd1qDF.js";import{n as s,r as c}from"./plans-8y4lPgAF.js";import{a as l,i as u,n as d,r as f}from"./form-C03K9X01.js";import{t as p}from"./PageShell-Ch6skvTw.js";import{t as m}from"./public.functions-CwGY9oGb.js";var h=n(e()),g=t();function _(){let{topic:e}=o.useSearch(),t=a(m),[n,_]=(0,h.useState)(`idle`),[v,y]=(0,h.useState)(null);async function b(e){e.preventDefault();let n=e.currentTarget,r=new FormData(n);_(`pending`),y(null);try{await t({data:{name:String(r.get(`name`)??``),email:String(r.get(`email`)??``),company:String(r.get(`company`)??``),topic:String(r.get(`topic`)??``),message:String(r.get(`message`)??``),sourcePath:`/contact`}}),n.reset(),_(`sent`)}catch(e){_(`error`),y(e instanceof Error?e.message:`Your message could not be sent. Please try again.`)}}return(0,g.jsx)(p,{backdrop:`valley`,eyebrow:`Contact`,title:`Tell us what you are trying to grow.`,intro:`Send us the detail and we will reply from the Summit team. If you would rather talk it through, book a call.`,children:(0,g.jsx)(r,{className:`bg-background`,children:(0,g.jsxs)(`div`,{className:`grid gap-12 lg:grid-cols-[1.2fr_0.8fr]`,children:[(0,g.jsxs)(`form`,{onSubmit:b,className:`space-y-6`,noValidate:!1,children:[(0,g.jsxs)(`div`,{className:`grid gap-6 md:grid-cols-2`,children:[(0,g.jsx)(d,{label:`Your name`,htmlFor:`name`,children:(0,g.jsx)(`input`,{id:`name`,name:`name`,required:!0,maxLength:120,className:l,autoComplete:`name`})}),(0,g.jsx)(d,{label:`Email`,htmlFor:`email`,children:(0,g.jsx)(`input`,{id:`email`,name:`email`,type:`email`,required:!0,maxLength:200,className:l,autoComplete:`email`})}),(0,g.jsx)(d,{label:`Company`,htmlFor:`company`,hint:`Optional`,children:(0,g.jsx)(`input`,{id:`company`,name:`company`,maxLength:160,className:l,autoComplete:`organization`,"aria-describedby":`company-hint`})}),(0,g.jsx)(d,{label:`What is this about?`,htmlFor:`topic`,children:(0,g.jsxs)(`select`,{id:`topic`,name:`topic`,className:l,defaultValue:e??`membership`,children:[(0,g.jsx)(`option`,{value:`membership`,children:`A growth membership`}),(0,g.jsx)(`option`,{value:`scale`,children:`Scale membership scoping`}),(0,g.jsx)(`option`,{value:`application`,children:`A custom application`}),(0,g.jsx)(`option`,{value:`signal`,children:`Summit Signal`}),(0,g.jsx)(`option`,{value:`editor`,children:`Summit Site Editor access`}),(0,g.jsx)(`option`,{value:`agency`,children:`Agency Program`}),(0,g.jsx)(`option`,{value:`affiliate`,children:`Affiliate Program`}),(0,g.jsx)(`option`,{value:`other`,children:`Something else`})]})})]}),(0,g.jsx)(d,{label:`Message`,htmlFor:`message`,children:(0,g.jsx)(`textarea`,{id:`message`,name:`message`,required:!0,rows:7,maxLength:4e3,className:l})}),n===`sent`?(0,g.jsx)(f,{tone:`success`,children:`Thanks — your message is saved and the team will reply by email.`}):null,n===`error`?(0,g.jsx)(f,{tone:`error`,children:v}):null,(0,g.jsx)(u,{pending:n===`pending`,children:`Send message`})]}),(0,g.jsxs)(`aside`,{className:`space-y-6`,children:[(0,g.jsxs)(`div`,{className:`rounded-xl border border-border bg-card p-8`,children:[(0,g.jsx)(`h2`,{className:`font-display text-xl font-medium`,children:`Book a call`}),(0,g.jsx)(`p`,{className:`mt-3 text-sm leading-relaxed text-muted-foreground`,children:`Prefer to talk? Use our booking page to find a time with the team.`}),(0,g.jsxs)(`a`,{href:s,target:`_blank`,rel:`noreferrer noopener`,className:`group mt-6 inline-flex items-center gap-3 border-b border-border-strong pb-2 font-display font-medium transition-colors hover:border-primary hover:text-primary`,children:[`Open the booking page`,(0,g.jsx)(`span`,{"aria-hidden":`true`,children:`↗`})]})]}),(0,g.jsxs)(`div`,{className:`rounded-xl border border-border bg-card p-8`,children:[(0,g.jsx)(`h2`,{className:`font-display text-xl font-medium`,children:`Start a discovery`}),(0,g.jsx)(`p`,{className:`mt-3 text-sm leading-relaxed text-muted-foreground`,children:`Four short steps about your business and goals, so our first conversation starts further along.`}),(0,g.jsxs)(i,{to:`/discover`,className:`group mt-6 inline-flex items-center gap-3 border-b border-border-strong pb-2 font-display font-medium transition-colors hover:border-primary hover:text-primary`,children:[`Answer the questions`,(0,g.jsx)(`span`,{"aria-hidden":`true`,children:`↗`})]})]}),(0,g.jsxs)(`div`,{className:`rounded-xl border border-border bg-surface p-8`,children:[(0,g.jsx)(`h2`,{className:`font-display text-xl font-medium`,children:`Email`}),(0,g.jsx)(`a`,{href:`mailto:${c}`,className:`mt-3 inline-block border-b border-border-strong pb-0.5 text-sm transition-colors hover:border-primary hover:text-primary`,children:c})]})]})]})})})}export{_ as component};

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.