1import{a as n,j as e}from"./query-vendor-BB0JUlq_.js";import{g as c}from"./unsplash-gQ5iVEsL.js";import{a as d}from"./index-CVuSjWCq.js";import{d as u}from"./react-vendor-BIjsaQ6L.js";import"./ui-vendor-CwH6wFZJ.js";function f(){const[i,o]=n.useState(null),r=u(),{user:s}=d();return n.useEffect(()=>{if(!s){r("/login");return}(async()=>{const a=["music success","celebration","achievement","music celebration"];let t=null;for(let l of a)if(t=await c(l),t)break;o(t)})()},[s,r]),s?e.jsx("div",{className:"min-h-screen flex items-center justify-center py-8",style:{backgroundImage:i?`linear-gradient(rgba(2,6,23,0.5), rgba(2,6,23,0.5)), url(${i})`:void 0,backgroundSize:"cover"},children:e.jsx("div",{className:"bg-card/95 rounded-lg p-8 shadow-lg max-w-2xl w-full mx-4",children:e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-6",children:e.jsx("svg",{className:"w-8 h-8 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),e.jsx("h1",{className:"text-3xl font-bold text-green-600 mb-4",children:"Application Submitted Successfully!"}),e.jsx("p",{className:"text-lg text-foreground/80 mb-6",children:"Thank you for your interest in In Tune Music Tuition. Your application has been received and is being reviewed."}),e.jsxs("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-6 mb-6",children:[e.jsx("h2",{className:"text-lg font-semibold text-blue-800 mb-3",children:"What happens next?"}),e.jsxs("div",{className:"text-left space-y-2 text-blue-700",children:[e.jsxs("p",{children:["1. ",e.jsx("strong",{children:"Review Process:"})," Our team will review your application within 2-3 business days."]}),e.jsxs("p",{children:["2. ",e.jsx("strong",{children:"Email Notification:"})," You'll receive an email with the decision."]}),e.jsxs("p",{children:["3. ",e.jsx("strong",{children:"Next Steps:"})," If approved, you'll be able to book your first lesson!"]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("p",{className:"text-foreground/70",children:"In the meantime, feel free to explore our website and learn more about our teaching approach."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[e.jsx("button",{onClick:()=>r("/"),className:"px-6 py-3 bg-primary text-primary-foreground rounded-md font-medium hover:bg-primary/90",children:"Explore Our Website"}),e.jsx("button",{onClick:()=>r("/dashboard"),className:"px-6 py-3 border border-primary text-primary rounded-md font-medium hover:bg-primary/5",children:"Go to Dashboard"})]})]}),e.jsx("div",{className:"mt-8 pt-6 border-t border-border",children:e.jsxs("p",{className:"text-sm text-foreground/60",children:["Questions? Contact us at"," ",e.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})})]})})}):null}export{f 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.