1import{j as e}from"./ui-vendor-sc7Ix2AM.js";import{u as s,a as r,L as a}from"./react-vendor-DrGUvmao.js";import{u as t,H as l,j as i,S as n,C as o,b as c,c as m,d,e as x,B as h,U as u}from"./index-BczH2x_6.js";import{U as p}from"./user-plus-BoIwnB4h.js";import{A as j}from"./arrow-right-DRRW9d27.js";import"./supabase-vendor-C0sqOAb0.js";import"./utils-Bmne0XXo.js";import"./query-vendor-DbH7i3FQ.js";function f(){const{user:f,userProfile:g,loading:b}=t(),v=s();return r.useEffect(()=>{b||f?!b&&g&&g.role&&"user"!==g.role&&null!==g.role&&v("/community"):v("/auth")},[f,g,b,v]),b?e.jsx("div",{className:"flex items-center justify-center min-h-[80vh]",children:e.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"})}):f?e.jsxs(e.Fragment,{children:[e.jsxs(l,{children:[e.jsx("title",{children:"Choose Your Role - Operation BeeStrong"}),e.jsx("meta",{name:"description",content:"Choose how you'd like to participate in Operation BeeStrong - as a mentor sharing your beekeeping expertise or as a mentee learning from experienced beekeepers."})]}),e.jsxs("div",{className:"container mx-auto py-12 px-4",children:[e.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-12",children:[e.jsxs(i,{variant:"secondary",className:"mb-4",children:[e.jsx(n,{className:"w-4 h-4 mr-1"}),"Account Created Successfully"]}),e.jsx("h1",{className:"text-4xl font-bold mb-4",children:"Welcome to Operation BeeStrong!"}),e.jsxs("p",{className:"text-xl text-muted-foreground mb-2",children:["Hi ",g?.first_name||f.email,"! ð"]}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Now that your account is set up, please choose how you'd like to participate in our beekeeping mentorship community."})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-8 max-w-4xl mx-auto",children:[e.jsx(o,{className:"relative overflow-hidden group hover:shadow-lg transition-all duration-300 cursor-pointer border-2 hover:border-primary/50",children:e.jsxs(a,{to:"/apply/mentee",className:"block h-full",children:[e.jsxs(c,{className:"text-center pb-4",children:[e.jsx("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-blue-100 flex items-center justify-center group-hover:bg-blue-200 transition-colors",children:e.jsx(p,{className:"w-8 h-8 text-blue-600"})}),e.jsx(m,{className:"text-2xl",children:"I want to learn beekeeping"}),e.jsx(d,{className:"text-base",children:"Connect with experienced beekeepers who will guide you through your beekeeping journey"})]}),e.jsxs(x,{children:[e.jsxs("div",{className:"space-y-3 text-sm text-muted-foreground",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary mt-2 flex-shrink-0"}),e.jsx("span",{children:"Get matched with experienced mentor beekeepers"})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary mt-2 flex-shrink-0"}),e.jsx("span",{children:"Learn hands-on techniques and best practices"})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary mt-2 flex-shrink-0"}),e.jsx("span",{children:"Access to community resources and support"})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary mt-2 flex-shrink-0"}),e.jsx("span",{children:"Build confidence in beekeeping practices"})]})]}),e.jsxs(h,{className:"w-full mt-6 group-hover:translate-x-1 transition-transform",children:["Apply as Mentee",e.jsx(j,{className:"w-4 h-4 ml-2"})]})]})]})}),e.jsx(o,{className:"relative overflow-hidden group hover:shadow-lg transition-all duration-300 cursor-pointer border-2 hover:border-primary/50",children:e.jsxs(a,{to:"/apply/mentor",className:"block h-full",children:[e.jsxs(c,{className:"text-center pb-4",children:[e.jsx("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-green-100 flex items-center justify-center group-hover:bg-green-200 transition-colors",children:e.jsx(u,{className:"w-8 h-8 text-green-600"})}),e.jsx(m,{className:"text-2xl",children:"I want to share my expertise"}),e.jsx(d,{className:"text-base",children:"Mentor fellow veterans and help them discover the therapeutic benefits of beekeeping"})]}),e.jsxs(x,{children:[e.jsxs("div",{className:"space-y-3 text-sm text-muted-foreground",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary mt-2 flex-shrink-0"}),e.jsx("span",{children:"Share your beekeeping knowledge and experience"})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary mt-2 flex-shrink-0"}),e.jsx("span",{children:"Make a meaningful impact in veterans' lives"})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary mt-2 flex-shrink-0"}),e.jsx("span",{children:"Join a supportive community of mentors"})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary mt-2 flex-shrink-0"}),e.jsx("span",{children:"Flexible mentoring schedule that works for you"})]})]}),e.jsxs(h,{className:"w-full mt-6 group-hover:translate-x-1 transition-transform",children:["Apply as Mentor",e.jsx(j,{className:"w-4 h-4 ml-2"})]})]})]})})]}),e.jsxs("div",{className:"text-center mt-12",children:[e.jsx("p",{className:"text-muted-foreground mb-4",children:"Not sure which role is right for you?"}),e.jsx(h,{variant:"outline",asChild:!0,children:e.jsx(a,{to:"/community",children:"Learn More About Our Community"})})]})]})]}):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.