PageSourceSearch

https://destini.ai/assets/contact-BVufc4Ff.js

js destini.ai collected 2026-10-05 12:09:31 UTC 4,915 bytes, 1 lines download raw bytes

1import{r as h,j as e,o as p,s as t,t as j}from"./index-Bj_V9Is2.js";import{u,a as g,F as f,b as r,c as i,d as o,e as c,f as l,T as b,B as N}from"./textarea-HjtGfMMy.js";import{I as n}from"./input-CDqZwMjE.js";import{N as y}from"./Navbar-oMDsdy5-.js";import{I as v,Y as w,F}from"./Footer-LffyC8oL.js";import{c as S}from"./createLucideIcon-CWIq_39t.js";import"./index-B8-uZzVA.js";import"./utils-BB1SQE6n.js";import"./x-DA1vm-qO.js";const M=[["path",{d:"M16 2v2",key:"scm5qe"}],["path",{d:"M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2",key:"1waht3"}],["path",{d:"M8 2v2",key:"pbkmx"}],["circle",{cx:"12",cy:"11",r:"3",key:"itu57m"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],k=S("contact",M),I=p({name:t().trim().min(2).max(100),email:t().trim().email().max(255),subject:t().trim().min(5).max(200),message:t().trim().min(10).max(2e3)});function B(){const[m,d]=h.useState(!1),a=u({resolver:g(I),defaultValues:{name:"",email:"",subject:"",message:""}}),x=async s=>{d(!0),setTimeout(()=>{d(!1),j.success("Message sent",{description:"We'll get back to you as soon as possible."}),a.reset()},1500)};return e.jsxs("div",{className:"destini-scope bg-cosmic-light/5 min-h-screen",children:[e.jsx(y,{}),e.jsx("div",{className:"bg-cosmic text-white py-20 pt-32",children:e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-serif font-bold mb-4",children:"Contact Us"}),e.jsx("p",{className:"text-lg md:text-xl text-white/70 max-w-2xl mx-auto",children:"We'd love to hear from you. Get in touch with the Destini.ai team."})]})}),e.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-12 md:py-20",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-start",children:[e.jsxs("div",{className:"bg-white rounded-2xl shadow-lg p-8 order-2 md:order-1",children:[e.jsx("h2",{className:"text-2xl font-serif font-semibold mb-6",children:"Get in Touch"}),e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium mb-2",children:"Email Us"}),e.jsxs("p",{className:"text-gray-600",children:["For general inquiries: ",e.jsx("a",{href:"mailto:[email protected]",className:"text-cosmic-purple hover:underline",children:"[email protected]"})]}),e.jsxs("p",{className:"text-gray-600",children:["For support: ",e.jsx("a",{href:"mailto:[email protected]",className:"text-cosmic-purple hover:underline",children:"[email protected]"})]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium mb-2",children:"Follow Us"}),e.jsx("p",{className:"text-gray-600 mb-2",children:"Stay connected with us on social media."}),e.jsxs("div",{className:"flex space-x-4",children:[e.jsx("a",{href:"https://www.instagram.com/destni.ai/",target:"_blank",rel:"noopener noreferrer",className:"text-gray-600 hover:text-cosmic-purple",children:e.jsx(v,{className:"w-6 h-6"})}),e.jsx("a",{href:"https://www.youtube.com/@destiniai",target:"_blank",rel:"noopener noreferrer",className:"text-gray-600 hover:text-cosmic-purple",children:e.jsx(w,{className:"w-6 h-6"})})]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-medium mb-2",children:"Office Hours"}),e.jsx("p",{className:"text-gray-600",children:"Monday – Friday: 9:00 AM – 5:00 PM (IST)"}),e.jsx("p",{className:"text-gray-600",children:"Saturday – Sunday: Closed"})]})]})]}),e.jsxs("div",{className:"bg-white rounded-2xl shadow-lg p-8 order-1 md:order-2",children:[e.jsxs("div",{className:"flex items-center space-x-3 mb-6",children:[e.jsx(k,{className:"h-6 w-6 text-cosmic-purple"}),e.jsx("h2",{className:"text-2xl font-serif font-semibold",children:"Send a Message"})]}),e.jsx(f,{...a,children:e.jsxs("form",{onSubmit:a.handleSubmit(x),className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsx(r,{control:a.control,name:"name",render:({field:s})=>e.jsxs(i,{children:[e.jsx(o,{children:"Your Name"}),e.jsx(c,{children:e.jsx(n,{placeholder:"John Doe",...s})}),e.jsx(l,{})]})}),e.jsx(r,{control:a.control,name:"email",render:({field:s})=>e.jsxs(i,{children:[e.jsx(o,{children:"Email Address"}),e.jsx(c,{children:e.jsx(n,{placeholder:"[email protected]",...s})}),e.jsx(l,{})]})})]}),e.jsx(r,{control:a.control,name:"subject",render:({field:s})=>e.jsxs(i,{children:[e.jsx(o,{children:"Subject"}),e.jsx(c,{children:e.jsx(n,{placeholder:"What is this regarding?",...s})}),e.jsx(l,{})]})}),e.jsx(r,{control:a.control,name:"message",render:({field:s})=>e.jsxs(i,{children:[e.jsx(o,{children:"Your Message"}),e.jsx(c,{children:e.jsx(b,{placeholder:"Please share your thoughts or questions...",className:"min-h-32",...s})}),e.jsx(l,{})]})}),e.jsx(N,{type:"submit",className:"w-full bg-cosmic-purple hover:bg-cosmic-purple/90",disabled:m,children:m?"Sending...":"Send Message"})]})})]})]})}),e.jsx(F,{})]})}
1export{B 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.