PageSourceSearch

https://www.smallbizagent.ai/assets/contact-BeCeOXLK.js

js smallbizagent.ai collected 2026-10-05 15:06:24 UTC 10,906 bytes, 1 lines download raw bytes

1import{r as d,j as e}from"./vendor-query-CnAhr2B8.js";import{a as f,L as l,ax as w,p as n,s as i,n as v,B as p,aC as x,I as m,a6 as y,a8 as k,ab as S,K as C}from"./index-CLUtDhnY.js";import"./vendor-ui-CYA7SV0W.js";import"./vendor-charts-CPMWc2oJ.js";import"./vendor-forms-UY-il7MQ.js";const g=({className:c})=>e.jsxs("svg",{viewBox:"0 0 100 100",fill:"currentColor",className:c,children:[e.jsx("rect",{x:"47",y:"5",width:"6",height:"10",rx:"3"}),e.jsx("circle",{cx:"50",cy:"5",r:"4"}),e.jsx("rect",{x:"25",y:"18",width:"50",height:"40",rx:"12"}),e.jsx("rect",{x:"30",y:"28",width:"40",height:"15",rx:"7",fill:"black"}),e.jsx("circle",{cx:"40",cy:"35",r:"5",fill:"white"}),e.jsx("circle",{cx:"60",cy:"35",r:"5",fill:"white"}),e.jsx("path",{d:"M 38 48 Q 50 55 62 48",stroke:"black",strokeWidth:"3",fill:"none",strokeLinecap:"round"}),e.jsx("path",{d:"M 32 58 L 32 75 Q 32 82 39 82 L 61 82 Q 68 82 68 75 L 68 58"}),e.jsx("path",{d:"M 42 62 L 50 68 L 58 62",stroke:"black",strokeWidth:"2",fill:"none"}),e.jsx("ellipse",{cx:"20",cy:"65",rx:"8",ry:"12"}),e.jsx("ellipse",{cx:"80",cy:"65",rx:"8",ry:"12"}),e.jsx("circle",{cx:"20",cy:"78",r:"5"}),e.jsx("circle",{cx:"80",cy:"78",r:"5"}),e.jsx("rect",{x:"36",y:"82",width:"10",height:"12",rx:"3"}),e.jsx("rect",{x:"54",y:"82",width:"10",height:"12",rx:"3"})]});function T(){const{toast:c}=f(),[a,r]=d.useState({name:"",email:"",subject:"",message:""}),[b,o]=d.useState(!1),[h,u]=d.useState(!1),N=async t=>{t.preventDefault(),u(!0);try{const s=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:a.name,email:a.email,subject:a.subject,message:a.message})}),j=await s.json();if(!s.ok)throw new Error(j.message||"Failed to send message");c({title:"Message sent!",description:j.message||"We'll get back to you soon."}),o(!0)}catch(s){c({title:"Failed to send message",description:s.message||"Please try again later.",variant:"destructive"})}finally{u(!1)}};return e.jsxs("div",{className:"min-h-screen bg-black text-white",children:[e.jsx("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-black/80 backdrop-blur-lg border-b border-neutral-800",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex items-center justify-between h-16",children:[e.jsx(l,{href:"/",children:e.jsxs("div",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(g,{className:"h-8 w-8 text-white"}),e.jsx("span",{className:"text-lg font-bold tracking-wide",children:"SMALLBIZ AGENT"})]})}),e.jsx(l,{href:"/",children:e.jsxs("span",{className:"flex items-center gap-2 text-sm text-neutral-400 hover:text-white transition-colors cursor-pointer",children:[e.jsx(w,{className:"h-4 w-4"}),"Back to Home"]})})]})})}),e.jsx("main",{className:"pt-28 pb-20 px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4",children:"Get in Touch"}),e.jsx("p",{className:"text-xl text-neutral-400 max-w-2xl mx-auto",children:"Have a question, need help, or want to learn more about SmallBizAgent? We'd love to hear from you."})]}),e.jsxs("div",{className:"grid md:grid-cols-5 gap-12",children:[e.jsx("div",{className:"md:col-span-3",children:b?e.jsx(n,{className:"bg-neutral-900 border-neutral-800",children:e.jsxs(i,{className:"p-8 text-center",children:[e.jsx("div",{className:"h-16 w-16 rounded-full bg-green-500/10 flex items-center justify-center mx-auto mb-6",children:e.jsx(v,{className:"h-8 w-8 text-green-400"})}),e.jsx("h2",{className:"text-2xl font-bold text-white mb-3",children:"Message Sent!"}),e.jsxs("p",{className:"text-neutral-400 mb-6",children:["Thank you for reaching out. We've received your message and will get back to you within 24 hours. You can also reach us directly at"," ",e.jsx("a",{href:"mailto:[email protected]",className:"text-blue-400 hover:text-blue-300",children:"[email protected]"})]}),e.jsx(p,{variant:"outline",className:"border-neutral-700 text-white hover:bg-neutral-800",onClick:()=>{o(!1),r({name:"",email:"",subject:"",message:""})},children:"Send Another Message"})]})}):e.jsx(n,{className:"bg-neutral-900 border-neutral-800",children:e.jsxs(i,{className:"p-8",children:[e.jsx("h2",{className:"text-xl font-semibold text-white mb-6",children:"Send Us a Message"}),e.jsxs("form",{onSubmit:N,className:"space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(x,{htmlFor:"name",className:"text-neutral-300 text-sm",children:"Your Name"}),e.jsx(m,{id:"name",required:!0,placeholder:"John Smith",value:a.name,onChange:t=>r(s=>({...s,name:t.target.value})),className:"mt-1.5 bg-neutral-800 border-neutral-700 text-white placeholder:text-neutral-500"})]}),e.jsxs("div",{children:[e.jsx(x,{htmlFor:"email",className:"text-neutral-300 text-sm",children:"Email Address"}),e.jsx(m,{id:"email",type:"email",required:!0,placeholder:"[email protected]",value:a.email,onChange:t=>r(s=>({...s,email:t.target.value})),className:"mt-1.5 bg-neutral-800 border-neutral-700 text-white placeholder:text-neutral-500"})]})]}),e.jsxs("div",{children:[e.jsx(x,{htmlFor:"subject",className:"text-neutral-300 text-sm",children:"Subject"}),e.jsx(m,{id:"subject",required:!0,placeholder:"How can we help?",value:a.subject,onChange:t=>r(s=>({...s,subject:t.target.value})),className:"mt-1.5 bg-neutral-800 border-neutral-700 text-white placeholder:text-neutral-500"})]}),e.jsxs("div",{children:[e.jsx(x,{htmlFor:"message",className:"text-neutral-300 text-sm",children:"Message"}),e.jsx("textarea",{id:"message",required:!0,rows:6,placeholder:"Tell us what you need help with...",value:a.message,onChange:t=>r(s=>({...s,message:t.target.value})),className:"mt-1.5 w-full rounded-md bg-neutral-800 border border-neutral-700 text-white placeholder:text-neutral-500 px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-white/20 resize-none"})]}),e.jsx(p,{type:"submit",className:"w-full bg-white text-black hover:bg-neutral-200",disabled:h,children:h?"Sending...":e.jsxs(e.Fragment,{children:[e.jsx(y,{className:"mr-2 h-4 w-4"}),"Send Message"]})})]})]})})}),e.jsxs("div",{className:"md:col-span-2 space-y-6",children:[e.jsx(n,{className:"bg-neutral-900 border-neutral-800",children:e.jsx(i,{className:"p-6",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"h-10 w-10 rounded-lg bg-blue-500/10 flex items-center justify-center flex-shrink-0",children:e.jsx(k,{className:"h-5 w-5 text-blue-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-white mb-1",children:"Email Us"}),e.jsx("a",{href:"mailto:[email protected]",className:"text-blue-400 hover:text-blue-300 text-sm",children:"[email protected]"}),e.jsx("p",{className:"text-xs text-neutral-500 mt-1",children:"We typically respond within 24 hours"})]})]})})}),e.jsx(n,{className:"bg-neutral-900 border-neutral-800",children:e.jsx(i,{className:"p-6",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"h-10 w-10 rounded-lg bg-green-500/10 flex items-center justify-center flex-shrink-0",children:e.jsx(S,{className:"h-5 w-5 text-green-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-white mb-1",children:"Support Hours"}),e.jsx("p",{className:"text-sm text-neutral-300",children:"Monday - Friday"}),e.jsx("p",{className:"text-sm text-neutral-300",children:"9:00 AM - 6:00 PM EST"}),e.jsx("p",{className:"text-xs text-neutral-500 mt-1",children:"Priority support for paid plans"})]})]})})}),e.jsx(n,{className:"bg-neutral-900 border-neutral-800",children:e.jsx(i,{className:"p-6",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"h-10 w-10 rounded-lg bg-purple-500/10 flex items-center justify-center flex-shrink-0",children:e.jsx(C,{className:"h-5 w-5 text-purple-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-white mb-1",children:"Location"}),e.jsx("p",{className:"text-sm text-neutral-300",children:"United States"}),e.jsx("p",{className:"text-xs text-neutral-500 mt-1",children:"Serving small businesses nationwide"})]})]})})}),e.jsxs("div",{className:"bg-gradient-to-br from-neutral-900 to-neutral-950 rounded-xl p-6 border border-neutral-800",children:[e.jsx("h3",{className:"font-semibold text-white mb-3",children:"Common Inquiries"}),e.jsxs("ul",{className:"space-y-2 text-sm text-neutral-400",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-neutral-600 mt-0.5",children:"•"}),e.jsx("span",{children:"Account setup and onboarding help"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-neutral-600 mt-0.5",children:"•"}),e.jsx("span",{children:"AI receptionist configuration"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-neutral-600 mt-0.5",children:"•"}),e.jsx("span",{children:"Billing and subscription questions"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-neutral-600 mt-0.5",children:"•"}),e.jsx("span",{children:"Feature requests and feedback"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-neutral-600 mt-0.5",children:"•"}),e.jsx("span",{children:"Partnership and integration inquiries"})]})]}),e.jsx("div",{className:"mt-4 pt-4 border-t border-neutral-800",children:e.jsx(l,{href:"/support",children:e.jsx("span",{className:"text-sm text-blue-400 hover:text-blue-300 cursor-pointer",children:"Check our FAQ for instant answers →"})})})]})]})]})]})}),e.jsx("footer",{className:"py-12 px-4 sm:px-6 lg:px-8 border-t border-neutral-800",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6",children:[e.jsx(l,{href:"/",children:e.jsxs("div",{className:"flex items-center gap-3 cursor-pointer",children:[e.jsx(g,{className:"h-6 w-6 text-white"}),e.jsx("span",{className:"font-bold",children:"SMALLBIZ AGENT"})]})}),e.jsxs("div",{className:"flex items-center gap-8 text-sm text-neutral-400",children:[e.jsx(l,{href:"/privacy",children:e.jsx("span",{className:"hover:text-white transition-colors cursor-pointer",children:"Privacy"})}),e.jsx(l,{href:"/terms",children:e.jsx("span",{className:"hover:text-white transition-colors cursor-pointer",children:"Terms"})}),e.jsx(l,{href:"/support",children:e.jsx("span",{className:"hover:text-white transition-colors cursor-pointer",children:"Support"})}),e.jsx("span",{className:"text-white font-medium",children:"Contact"})]}),e.jsxs("div",{className:"text-sm text-neutral-500",children:["© ",new Date().getFullYear()," SmallBizAgent. All rights reserved."]})]})})})]})}export{T 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.