PageSourceSearch

https://timsasseen.com/assets/contact-CYCSU9U6.js

js timsasseen.com collected 2026-10-09 22:04:24 UTC 5,988 bytes, 1 lines download raw bytes

1import{c as u,r as c,j as e,t as a,M as g,a as j}from"./index-polGdH-M.js";import{u as f,s as b}from"./inquiries.functions-D5ediME-.js";import{D as y}from"./download-BLJh8Ox2.js";const N=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],v=u("circle-check",N),w=["VP or SVP roles in Market Development, Business Development, or Strategy","Chief Strategy Officer or CTO positions in clean energy companies","Hydrogen hub leadership and advisory roles","High-impact consulting in hydrogen, microgrids, or zero-emission infrastructure","Board positions with cleantech startups or nonprofits"];function T(){const[i,l]=c.useState(!1),[t,r]=c.useState(!1),[x,d]=c.useState(!1),p=f(b);return e.jsxs(e.Fragment,{children:[e.jsx("section",{className:"bg-navy py-16 text-white md:py-20",children:e.jsxs("div",{className:"container-prose",children:[e.jsx("div",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-teal-bright",children:"Contact"}),e.jsx("h1",{className:"mt-4 text-white",children:"Let's talk."}),e.jsx("p",{className:"mt-5 max-w-2xl text-lg text-warm/80",children:"Whether you are hiring for a VP-level role, looking for someone to lead your next clean energy project, or want to talk through a hard problem, I am happy to connect."})]})}),e.jsx("section",{className:"py-16 md:py-20",children:e.jsxs("div",{className:"container-prose grid gap-12 md:grid-cols-12",children:[e.jsx("div",{className:"md:col-span-7",children:e.jsx("form",{onSubmit:async s=>{s.preventDefault();const h=s.currentTarget,n=new FormData(h),o=String(n.get("topic")||"other");r(!0),d(!1);try{if(!(await p({data:{kind:"contact",name:String(n.get("name")||""),email:String(n.get("email")||""),topic:o,message:String(n.get("message")||"")}})).ok)throw new Error("save failed");a("contact_form_submit",{inquiry_type:o}),a("generate_lead",{method:"contact_form",inquiry_type:o}),l(!0)}catch{d(!0)}finally{r(!1)}},children:i?e.jsxs("div",{className:"rounded-lg border border-teal bg-teal/10 p-8",children:[e.jsxs("div",{className:"flex items-center gap-2 text-navy",children:[e.jsx(v,{size:20,className:"text-teal"}),e.jsx("span",{className:"font-semibold",children:"Message sent."})]}),e.jsx("p",{className:"mt-2 text-[15px] text-charcoal/85",children:"Thanks for reaching out. Tim will reply within two business days."})]}):e.jsxs("div",{className:"grid gap-5 rounded-lg border border-border bg-card p-8",children:[e.jsxs("div",{className:"grid gap-5 sm:grid-cols-2",children:[e.jsx(m,{label:"Name",name:"name",required:!0}),e.jsx(m,{label:"Email",name:"email",type:"email",required:!0})]}),e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-medium text-navy",children:"I'm interested in"}),e.jsxs("select",{name:"topic",defaultValue:"hire",className:"mt-2 w-full rounded-md border border-input bg-warm px-3 py-2 text-[15px] outline-none focus:border-teal focus:ring-2 focus:ring-teal/30",children:[e.jsx("option",{value:"hire",children:"Hiring Tim"}),e.jsx("option",{value:"speak",children:"Booking Tim to speak"}),e.jsx("option",{value:"consult",children:"Consulting"}),e.jsx("option",{value:"media",children:"Media or press"}),e.jsx("option",{value:"other",children:"Something else"})]})]}),e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-medium text-navy",children:"Message"}),e.jsx("textarea",{name:"message",rows:6,required:!0,placeholder:"A few sentences on the role, project, or problem.",className:"mt-2 w-full rounded-md border border-input bg-warm px-3 py-2 text-[15px] outline-none focus:border-teal focus:ring-2 focus:ring-teal/30"})]}),x&&e.jsxs("p",{className:"text-[15px] text-red-700",children:["The message could not be sent just now. Please try again, or"," ",e.jsx("a",{href:"mailto:[email protected]",className:"underline",children:"email Tim"})," directly."]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3 pt-1",children:[e.jsx("button",{type:"submit",className:"btn-primary",disabled:t,children:t?"Sending...":"Send message"}),e.jsxs("a",{href:"/tim-sasseen-cv.pdf",download:!0,className:"btn-secondary",onClick:()=>a("cv_download",{location:"contact"}),children:[e.jsx(y,{size:18})," Download CV"]})]})]})})}),e.jsxs("aside",{className:"md:col-span-5",children:[e.jsxs("div",{className:"rounded-lg border border-border bg-card p-7",children:[e.jsx("div",{className:"eyebrow",children:"Direct"}),e.jsxs("ul",{className:"mt-4 space-y-3 text-[15px]",children:[e.jsx("li",{children:e.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 text-navy hover:text-teal",onClick:()=>a("email_click",{location:"contact"}),children:[e.jsx(g,{size:16}),e.jsx("span",{children:"Email Tim"})]})}),e.jsx("li",{children:e.jsxs("a",{href:"https://www.linkedin.com/in/timothy-r-sasseen",target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-2 text-navy hover:text-teal",onClick:()=>a("linkedin_click",{location:"contact"}),children:[e.jsx(j,{size:16}),e.jsx("span",{children:"linkedin.com/in/timothy-r-sasseen"})]})}),e.jsx("li",{className:"text-charcoal/75",children:"Santa Barbara · Los Angeles · Ojochal, Costa Rica"})]})]}),e.jsxs("div",{className:"mt-6 rounded-lg border border-border bg-card p-7",children:[e.jsx("div",{className:"eyebrow",children:"What I'm open to"}),e.jsx("ul",{className:"mt-4 space-y-3 text-[15px] text-charcoal/85",children:w.map(s=>e.jsxs("li",{className:"flex gap-3",children:[e.jsx("span",{"aria-hidden":!0,
1className:"mt-2 h-1.5 w-1.5 flex-none rounded-full bg-teal"}),s]},s))})]})]})]})})]})}function m({label:i,name:l,type:t="text",required:r}){return e.jsxs("label",{className:"block",children:[e.jsx("span",{className:"text-sm font-medium text-navy",children:i}),e.jsx("input",{name:l,type:t,required:r,className:"mt-2 w-full rounded-md border border-input bg-warm px-3 py-2 text-[15px] outline-none focus:border-teal focus:ring-2 focus:ring-teal/30"})]})}export{T 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.