1import{r as m,j as e}from"./query-cHJHLq2Q.js";import{b as C,H as P,M as f,P as j,F as k,B as T}from"./index-DuDYZYaR.js";import{E as A}from"./external-link-CRUibj_H.js";import{M as I}from"./map-pin-D_TXW5NH.js";import"./react-vendor-DrsKylZW.js";import"./radix-ui-UNqLbP3Q.js";/** 2 * @license lucide-react v0.454.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const X=C("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),M=[{id:"venturi-ssd",label:"Venturi PXIe-SSD"},{id:"trifecta-ssd-raid",label:"Trifecta PXIe-SSD RAID"},{id:"trifecta-ssd-rm",label:"Trifecta PXIe-SSD Removable"},{id:"catalyst-gpu",label:"Catalyst PXIe-GPU"},{id:"trifecta-gpu",label:"Trifecta PXIe-GPU"},{id:"orca-c2x",label:"Orca-C2X PXIe-GPU"},{id:"catalyst-gbe",label:"Catalyst PXIe-GbE"},{id:"catalyst-usb",label:"Catalyst PXIe-USB"},{id:"transform-x",label:"Transform-X (Software Examples)"},{id:"other",label:"Other"}],F=[{value:"",label:"Select timeline..."},{value:"immediate",label:"Immediate"},{value:"short",label:"Short-Term (1â3 Months)"},{value:"mid",label:"Mid-Term (3â6 Months)"},{value:"long",label:"Long-Term (6+ Months)"}],R=[{value:"",label:"Select source..."},{value:"everything-rf",label:"Everything RF"},{value:"testmart",label:"TestMart"},{value:"microwave-journal",label:"Microwave Journal"},{value:"ni",label:"NI.com"},{value:"google",label:"Google"},{value:"tradeshow",label:"Tradeshow (please indicate below)"},{value:"other",label:"Other (please indicate below)"}],i="w-full px-3 py-2 rounded border border-gray-300 bg-white text-sm text-foreground placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-primary/40 focus:border-primary transition-colors",l="block text-xs font-semibold text-foreground uppercase tracking-wide mb-1.5";function B(){const[y,v]=m.useState(!1),[p,h]=m.useState(!1),[u,g]=m.useState(""),[s,r]=m.useState({name:"",email:"",organization:"",products:[],timeline:"",source:"",message:"",website:""}),N=t=>{r(a=>({...a,products:a.products.includes(t)?a.products.filter(x=>x!==t):[...a.products,t]}))},w=async t=>{t.preventDefault(),h(!0),g("");try{const a=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),x=await a.json();if(!a.ok)throw new Error(x.error||"Submission failed");v(!0)}catch(a){g(a instanceof Error?a.message:"Something went wrong. Please try again.")}finally{h(!1)}},n="https://radxtech.com",o="Contact RADX Technologies | Sales, Support & GSA Inquiries",c="Contact RADX Technologies for product inquiries, pricing, support, or GSA purchases. Reach us at [email protected] or +1 (619) 677-1849.",d=`${n}/contact`,b=`${n}/assets/PXIe-SSD-Family.jpg`,S={"@context":"https://schema.org","@type":"ContactPage","@id":`${d}#webpage`,name:o,url:d,description:c,isPartOf:{"@id":`${n}/#website`},about:{"@id":`${n}/#organization`}};return e.jsxs(e.Fragment,{children:[e.jsxs(P,{children:[e.jsx("title",{children:o}),e.jsx("meta",{name:"description",content:c}),e.jsx("link",{rel:"canonical",href:d}),e.jsx("meta",{property:"og:title",content:o}),e.jsx("meta",{property:"og:description",content:c}),e.jsx("meta",{property:"og:image",content:b}),e.jsx("meta",{property:"og:url",content:d}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:site_name",content:"RADX Technologies"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:o}),e.jsx("meta",{name:"twitter:description",content:c}),e.jsx("meta",{name:"twitter:image",content:b}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(S)})]}),e.jsx("section",{className:"bg-white border-b border-gray-200 py-10",children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsx("p",{className:"text-xs font-semibold text-primary uppercase tracking-widest mb-2",children:"Get in Touch"}),e.jsx("h1",{className:"text-3xl font-bold text-foreground",children:"Contact RADX Technologies"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:"For product inquiries, pricing, support, or GSA purchases, we're here to help."})]})}),e.jsx("section",{className:"bg-gray-50 py-10",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"flex flex-col lg:flex-row gap-6 items-start",children:[e.jsxs("div",{className:"w-full lg:w-[340px] flex-shrink-0 space-y-4",children:[e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-5",children:[e.jsx("p",{className:"text-xs font-bold text-primary uppercase tracking-widest mb-3",children:"Product & PR Inquiries"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2 text-sm text-foreground hover:text-primary transition-colors",children:[e.jsx(f,{className:"w-4 h-4 text-primary flex-shrink-0"}),"[email protected]"]}),e.jsxs("a",{href:"tel:+16196771849",className:"flex items-center gap-2 text-sm text-foreground hover:text-primary transition-colors",children:[e.jsx(j,{className:"w-4 h-4 text-primary flex-shrink-0"}),"+1 (619) 677-1849 Ã1"]})]})]}),e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-5",children:[e.jsx("p",{className:"text-xs font-bold text-primary uppercase tracking-widest mb-1",children:"Support"}),e.jsx("p",{className:"text-xs text-muted-foreground mb-3",children:"Current customers only"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2 text-sm text-foreground hover:text-primary transition-colors",children:[e.jsx(f,{className:"w-4 h-4 text-primary flex-shrink-0"}),"[email protected]"]}),e.jsxs("a",{href:"tel:+16196771849",className:"flex items-center gap-2 text-sm text-foreground hover:text-primary transition-colors",children:[e.jsx(j,{className:"w-4 h-4 text-primary flex-shrink-0"}),"+1 (619) 677-1849 Ã2"]}
6)]})]}),e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-5",children:[e.jsx("p",{className:"text-xs font-bold text-primary uppercase tracking-widest mb-2",children:"GSA Purchase Online"}),e.jsx("p",{className:"text-xs text-muted-foreground mb-3",children:"All RADX PXIe modules are COTS products that are BAA and TAA compliant and available on GSA from TestMart."}),e.jsxs("a",{href:"https://search.testmart.com/search/sitesearch.cfm/~q%60radx~m%60RADX~u1%60d",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-sm font-semibold text-primary hover:underline",children:[e.jsx(A,{className:"w-3.5 h-3.5"}),"Shop on GSAMart / TestMart"]})]}),e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-5",children:[e.jsx("p",{className:"text-xs font-bold text-primary uppercase tracking-widest mb-3",children:"Mailing Address"}),e.jsxs("div",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[e.jsx(I,{className:"w-4 h-4 text-primary flex-shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-foreground",children:"RADX Technologies, Inc."}),e.jsx("p",{children:"555 Bryant Street, #349"}),e.jsx("p",{children:"Palo Alto, CA 94301"}),e.jsx("p",{children:"USA"})]})]})]})]}),e.jsx("div",{className:"flex-1 bg-white border border-gray-200 rounded-lg p-6",children:y?e.jsxs("div",{className:"flex flex-col items-center justify-center py-20 text-center",children:[e.jsx("div",{className:"w-14 h-14 rounded-full bg-primary/10 flex items-center justify-center mb-5",children:e.jsx(X,{size:28,className:"text-primary"})}),e.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Message Sent!"}),e.jsx("p",{className:"text-sm text-muted-foreground max-w-sm",children:"Thank you for reaching out. A member of our team will be in touch with you shortly."})]}):e.jsxs("form",{onSubmit:w,className:"space-y-5",children:[e.jsxs("div",{style:{position:"absolute",left:"-9999px",top:"-9999px",opacity:0,pointerEvents:"none"},"aria-hidden":"true",children:[e.jsx("label",{htmlFor:"website",children:"Website"}),e.jsx("input",{id:"website",name:"website",type:"text",tabIndex:-1,autoComplete:"off",value:s.website,onChange:t=>r({...s,website:t.target.value})})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"name",className:l,children:["Name ",e.jsx("span",{className:"text-primary normal-case font-normal",children:"*"})]}),e.jsx("input",{id:"name",type:"text",required:!0,placeholder:"Jane Smith",value:s.name,onChange:t=>r({...s,name:t.target.value}),className:i})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"email",className:l,children:["Email ",e.jsx("span",{className:"text-primary normal-case font-normal",children:"*"})]}),e.jsx("input",{id:"email",type:"email",required:!0,placeholder:"[email protected]",value:s.email,onChange:t=>r({...s,email:t.target.value}),className:i})]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"organization",className:l,children:"Organization"}),e.jsx("input",{id:"organization",type:"text",placeholder:"Company / Agency / Lab",value:s.organization,onChange:t=>r({...s,organization:t.target.value}),className:i})]}),e.jsxs("div",{children:[e.jsx("p",{className:l,children:"Product Interest â Check all that apply"}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-y-2 gap-x-4",children:M.map(t=>e.jsxs("label",{className:"flex items-center gap-2.5 cursor-pointer group",children:[e.jsx("input",{type:"checkbox",checked:s.products.includes(t.id),onChange:()=>N(t.id),className:"w-4 h-4 rounded border-gray-300 accent-primary flex-shrink-0"}),e.jsx("span",{className:"text-sm text-muted-foreground group-hover:text-foreground transition-colors",children:t.label})]},t.id))})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"timeline",className:l,children:"Response Timeline"}),e.jsx("select",{id:"timeline",value:s.timeline,onChange:t=>r({...s,timeline:t.target.value}),className:i,children:F.map(t=>e.jsx("option",{value:t.value,children:t.label},t.value))})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"source",className:l,children:"Where did you find us?"}
6),e.jsx("select",{id:"source",value:s.source,onChange:t=>r({...s,source:t.target.value}),className:i,children:R.map(t=>e.jsx("option",{value:t.value,children:t.label},t.value))})]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"message",className:l,children:"Message"}),e.jsx("textarea",{id:"message",rows:6,placeholder:"Tell us about your application, requirements, or questions...",value:s.message,onChange:t=>r({...s,message:t.target.value}),className:`${i} resize-none`})]}),u&&e.jsx("p",{className:"text-sm text-red-600",children:e.jsx(k,{devId:"ee2379",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:ca00fccfb408989eddc401062c4d1219a6aceb6b9b55412357f1790862e8f178"},children:u})}),e.jsx("button",{type:"submit",disabled:p,className:"inline-flex items-center gap-2 bg-primary text-white font-semibold px-6 py-2.5 rounded text-sm hover:bg-primary/90 transition-colors disabled:opacity-60 disabled:cursor-not-allowed",children:p?"Sending...":"Send Message"})]})})]})})}),e.jsx(T,{hideContactButton:!0})]})}export{B 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.