1import{j as e,f as _,n as y,s as L,H as W}from"./index-qdmhk9je.js";import{r as n}from"./vendor-react-DXfu0YkJ.js";import{o as v,V as I,W as z,U as V,Y,Z as M,q,_ as j,$ as P,j as G}from"./vendor-icons-D7Wh9KcK.js";import{S as O}from"./SubscriptionPaymentModal-BFq5oaoc.js";import"./vendor-pdf-v-sEuCgt.js";import"./vendor-ui--7kLNIgQ.js";import"./vendor-charts-odGm-fv0.js";import"./vendor-supabase-BVvKO2AB.js";const $=({setPage:s})=>{const[r,i]=n.useState(!1),[c,l]=n.useState(null);return n.useEffect(()=>{(async()=>{try{const d=await _();l(d.learnerCount)}catch(d){console.error("Error fetching stats:",d)}})()},[]),e.jsxs("section",{className:"bg-gradient-to-br from-white to-[#F9F7FF] overflow-hidden relative mx-2 sm:mx-6 lg:mx-8 rounded-[15px]",children:[e.jsx("div",{className:"absolute top-1/4 left-1/4 w-16 h-16 bg-purple-200 rounded-full opacity-30 filter blur-2xl animate-pulse"}),e.jsx("div",{className:"absolute top-10 right-1/4 w-4 h-4 bg-green-300 rounded-full opacity-50 filter blur-sm"}),e.jsx("div",{className:"absolute bottom-10 left-1/2 w-3 h-3 bg-orange-300 rounded-full opacity-50 filter blur-sm"}),e.jsx("div",{className:"container mx-auto px-2 sm:px-6 lg:px-8 py-10 relative z-10",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[e.jsxs("div",{className:"text-center lg:text-left",children:[e.jsx("h1",{className:"inline-block bg-purple-50 text-brand-purple px-4 py-2 rounded-full text-sm sm:text-base font-bold border border-purple-100 mb-6 shadow-sm",children:"Free Online Courses, Live Classes & Internships for Students"}),e.jsxs("h2",{className:"text-4xl sm:text-5xl md:text-6xl font-extrabold text-gray-900 leading-tight tracking-tight",children:["You're not stuck. ",e.jsx("br",{}),"You're just ",e.jsx("span",{className:"text-brand-purple",children:"one skill"})," ",e.jsxs("span",{className:"relative inline-block",children:[e.jsx("span",{className:"text-brand-purple",children:"away"}),e.jsx("span",{className:"absolute bottom-0 left-0 w-[105%] h-1.5 bg-brand-purple -mb-2"})]}),e.jsx("span",{className:"text-brand-purple",children:"."}),e.jsx("span",{className:"inline-block w-3 h-3 bg-cyan-400 ml-2 transform translate-y-[-1rem]"})]}),e.jsx("h2",{className:"mt-6 text-xl font-semibold text-brand-purple max-w-xl mx-auto lg:mx-0",children:"Start your journey with free online courses, live classes, and student internship programs."}),e.jsx("p",{className:"mt-4 text-lg text-gray-600 max-w-xl mx-auto lg:mx-0",children:"Life feels tough when opportunities seem out of reach. At WeVersity, we help you break that barrier by learning skills and discovering how to earn with them, so you can create the future you deserve."}),e.jsxs("div",{className:"mt-10 flex flex-col sm:flex-row items-center justify-center lg:justify-start gap-6",children:[e.jsx("button",{onClick:()=>s("courses"),className:"bg-gradient-to-r from-purple-600 to-indigo-600 text-white font-semibold px-8 py-4 rounded-lg hover:opacity-90 transition-opacity shadow-lg shadow-purple-500/30 text-base",children:"Start Learning For Free"}),e.jsxs("div",{className:"flex items-center",children:[e.jsxs("div",{className:"flex -space-x-3 mr-3",children:[e.jsx("img",{className:"inline-block h-10 w-10 rounded-full ring-2 ring-white",src:"https://i.pravatar.cc/40?u=a",alt:"WeVersity student attending a live online coding class"}),e.jsx("img",{className:"inline-block h-10 w-10 rounded-full ring-2 ring-white",src:"https://i.pravatar.cc/40?u=b",alt:"Student learning digital marketing for free"}),e.jsx("img",{className:"inline-block h-10 w-10 rounded-full ring-2 ring-white",src:"https://i.pravatar.cc/40?u=c",alt:"Mentorship session for college students"})]}),e.jsxs("span",{className:"font-semibold text-gray-700 text-sm",children:["Join ",c?`${c.toLocaleString()}+`:"1,000+"," learners"]})]})]})]}),e.jsxs("div",{className:"relative flex justify-center items-center p-4",children:[e.jsx("div",{className:"absolute inset-x-0 top-1/2 -translate-y-1/2 h-5/6 bg-purple-100/70 rounded-full blur-3xl -z-10"}),e.jsx("div",{className:"absolute -top-4 -right-4 w-36 h-36 bg-purple-100/50 rounded-lg -z-10 transform rotate-12"}),e.jsx("div",{className:"relative aspect-video w-full rounded-[15p
1x] shadow-xl overflow-hidden border-2 border-white/50 bg-black",children:r?e.jsx("iframe",{className:"w-full h-full",src:"https://www.youtube.com/embed/3qLdO2cubUY?autoplay=1",title:"How to Enroll in a Course",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:"https://img.youtube.com/vi/3qLdO2cubUY/maxresdefault.jpg",alt:"Video Thumbnail",className:"w-full h-full object-cover"}),e.jsxs("div",{onClick:()=>i(!0),className:"absolute inset-0 bg-black/40 flex items-center justify-center cursor-pointer group",children:[e.jsx("div",{className:"w-14 h-14 sm:w-16 sm:h-16 bg-white/95 backdrop-blur-md rounded-full flex items-center justify-center text-brand-purple group-hover:bg-brand-purple group-hover:text-white group-hover:scale-110 transition-all duration-300 shadow-[0_8px_30px_rgb(0,0,0,0.12)] border border-white/20",children:e.jsx("svg",{className:"w-5 h-5 sm:w-6 sm:h-6 ml-1",viewBox:"0 0 24 24",fill:"currentColor",children:e.jsx("path",{d:"M8 5v14l11-7z"})})}),e.jsx("div",{className:"absolute bottom-4 left-4 bg-white/10 backdrop-blur-md px-3 py-1.5 rounded-lg border border-white/20",children:e.jsxs("p",{className:"text-white text-xs font-bold flex items-center gap-2",children:[e.jsx("span",{className:"w-2 h-2 bg-red-500 rounded-full animate-pulse"}),"How to Enroll"]})})]})]})})]})]})})]})},x=({className:s=""})=>e.jsx("div",{className:`flex-shrink-0 w-6 h-6 rounded-full bg-[#E9D5FF] flex items-center justify-center mr-4 group-hover:bg-white/20 ${s}`,children:e.jsx("svg",{className:"w-4 h-4 text-brand-purple group-hover:text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",d:"M5 13l4 4L19 7"})})}),H=()=>{const[s,r]=n.useState(!1);return n.useRef(null),e.jsxs("section",{className:"py-10 bg-white mx-4 sm:mx-6 lg:mx-8 rounded-[15px]",children:[e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 grid lg:grid-cols-2 gap-12 lg:gap-20 items-center",children:[e.jsx("div",{className:"relative flex justify-center items-center",children:e.jsx("div",{className:"relative aspect-video w-full rounded-[15px] shadow-xl overflow-hidden border-2 border-white/50",children:e.jsx("img",{src:"https://res.cloudinary.com/dn93gd6yw/image/upload/f_auto,q_auto/v1767611714/WhatsApp_Image_2026-01-05_at_3.50.49_PM_bubkoc.jpg",alt:"Course Preview",className:"w-full h-full object-cover"})})}),e.jsxs("div",{children:[e.jsxs("h2",{className:"text-3xl md:text-4xl font-extrabold text-gray-900 leading-tight",children:["What You'll Get as a ",e.jsx("br",{}),e.jsx("span",{className:"text-brand-purple",children:"Student at WeVersity"})]}),e.jsx("p",{className:"mt-4 text-gray-600 text-lg",children:"Instead of overwhelming you with hundreds of disconnected courses, we focus on clarity and action."}),e.jsx("div",{className:"w-20 h-1 bg-brand-purple my-6"}),e.jsxs("ul",{className:"mt-8 space-y-5 text-gray-600",children:[e.jsxs("li",{className:"flex items-start",children:[e.jsx(x,{}),e.jsxs("div",{children:[e.jsx("strong",{className:"text-gray-800",children:"Live Classes:"})," ","Learn directly from experts in real-time online sessions."]})]}),e.jsxs("li",{className:"flex items-start",children:[e.jsx(x,{}),e.jsxs("div",{children:[e.jsx("strong",{className:"text-gray-800",children:"Guaranteed Internships:"})," ","Gain practical, resume-ready experience upon course completion."]})]}),e.jsxs("li",{className:"flex items-start",children:[e.jsx(x,{}),e.jsxs("div",{children:[e.jsx("strong",{className:"text-gray-800",children:"Recognized Certificates:"})," ","Get certified to showcase your new skills to employers globally."]})]}),e.jsxs("li",{className:"flex items-start",children:[e.jsx(x,{}),e.jsxs("div",{children:[e.jsx("strong",{className:"text-gray-800",children:"1-on-1 Mentorship:"})," ","Get personalized guidance from industry professionals throughout your journey."]})]})]})]})]}),e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 mt-24 max-w-6xl",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsxs("h2",{className:"text-3xl md:text-4xl font-extrabold text-gray-900 tracking-tight",children:["How it ",e.jsx("span",{className:"text-brand-purple",children:"Works"})]}),e.jsx("p",{className:"mt-4 text-gray-600 text-lg",children:"Your simple path from learning to earning."})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"hidden lg:block absolute top-12 left-[10%] right-[10%] h-1 bg-gradient-to-r from-purple-200 via-indigo-200 to-purple-200 -z-10 rounded-full opacity-50"}),e.jsxs("ol",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 list-none p-0 m-0",children:[e.jsxs("li",{className:"group bg-white p-8 rounded-[20px] shadow-md border border-gray-100/80 hover:shadow-xl hover:shadow-
1purple-500/10 hover:-translate-y-2 transition-all duration-300 relative text-center",children:[e.jsx("div",{className:"w-16 h-16 mx-auto bg-gradient-to-br from-brand-purple to-indigo-600 text-white rounded-full flex items-center justify-center text-2xl font-extrabold mb-6 shadow-lg shadow-purple-500/30 ring-8 ring-purple-50 group-hover:scale-110 transition-transform duration-300",children:"1"}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-3",children:"Enroll Free"}),e.jsx("p",{className:"text-gray-600 leading-relaxed",children:"Enroll in a free online course of your choice to get started."})]}),e.jsxs("li",{className:"group bg-white p-8 rounded-[20px] shadow-md border border-gray-100/80 hover:shadow-xl hover:shadow-purple-500/10 hover:-translate-y-2 transition-all duration-300 relative text-center",children:[e.jsx("div",{className:"w-16 h-16 mx-auto bg-gradient-to-br from-brand-purple to-indigo-600 text-white rounded-full flex items-center justify-center text-2xl font-extrabold mb-6 shadow-lg shadow-purple-500/30 ring-8 ring-purple-50 group-hover:scale-110 transition-transform duration-300",children:"2"}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-3",children:"Live Classes"}),e.jsx("p",{className:"text-gray-600 leading-relaxed",children:"Attend live classes and complete assignments with expert guidance."})]}),e.jsxs("li",{className:"group bg-white p-8 rounded-[20px] shadow-md border border-gray-100/80 hover:shadow-xl hover:shadow-purple-500/10 hover:-translate-y-2 transition-all duration-300 relative text-center",children:[e.jsx("div",{className:"w-16 h-16 mx-auto bg-gradient-to-br from-brand-purple to-indigo-600 text-white rounded-full flex items-center justify-center text-2xl font-extrabold mb-6 shadow-lg shadow-purple-500/30 ring-8 ring-purple-50 group-hover:scale-110 transition-transform duration-300",children:"3"}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-3",children:"Internship"}),e.jsx("p",{className:"text-gray-600 leading-relaxed",children:"Complete an internship for real experience and practical skills."})]}),e.jsxs("li",{className:"group bg-white p-8 rounded-[20px] shadow-md border border-gray-100/80 hover:shadow-xl hover:shadow-purple-500/10 hover:-translate-y-2 transition-all duration-300 relative text-center",children:[e.jsx("div",{className:"w-16 h-16 mx-auto bg-gradient-to-br from-brand-purple to-indigo-600 text-white rounded-full flex items-center justify-center text-2xl font-extrabold mb-6 shadow-lg shadow-purple-500/30 ring-8 ring-purple-50 group-hover:scale-110 transition-transform duration-300",children:"4"}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-3",children:"Get Certified"}),e.jsx("p",{className:"text-gray-600 leading-relaxed",children:"Get certified and launch your career as a confident professional."})]})]})]})]})]})},R=()=>{const s=[{icon:e.jsx(v,{className:"w-8 h-8"}),title:"Launch Your Career",description:"Acquire the exact practical skills employers are hunting for and land high-paying jobs in the global tech market."},{icon:e.jsx(I,{className:"w-8 h-8"}),title:"Maximize Earnings",description:"Stop just learningâstart earning. We guide you on how to freelance and monetize your skills from day one."},{icon:e.jsx(z,{className:"w-8 h-8"}),title:"Master In-Demand Skills",description:"Stay relevant with up-to-date courses designed by experts, ensuring you learn what the industry actually needs."},{icon:e.jsx(V,{className:"w-8 h-8"}),title:"Grow Your Network",description:"Join a supportive community of mentors and peers. Collaboration is the key to faster growth and better opportunities."}];return e.jsx("section",{className:"py-16 bg-white mx-4 sm:mx-6 lg:mx-8 rounded-[15px]",children:e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl",children:[e.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[e.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-extrabold text-gray-800 tracking-tight",children:["How Learning ",e.jsx("span",{className:"text-brand-purple",children:"Changes Lives"})]}),e.jsx("p",{className:"mt-6 text-lg text-gray-600",children:"Education is more than just memorizing facts. It's the catalyst for a better future, financial stability, and personal growth."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:s.map((r,i)=>
1e.jsxs("div",{className:"bg-[#F8F9FB] rounded-[15px] p-8 border border-gray-100 transition-all duration-300 hover:shadow-xl hover:shadow-purple-500/10 hover:-translate-y-2 group cursor-default",children:[e.jsx("div",{className:"w-16 h-16 bg-white rounded-[15px] flex items-center justify-center mb-6 shadow-sm text-brand-purple group-hover:bg-brand-purple group-hover:text-white transition-colors duration-300",children:r.icon}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-3 group-hover:text-brand-purple transition-colors leading-tight",children:r.title}),e.jsx("p",{className:"text-gray-600 leading-relaxed text-sm",children:r.description})]},i))})]})})},B=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-10 w-10 text-brand-purple group-hover:text-white transition-colors duration-300",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"1.5",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 17L4.5 12l5.25-5m4.5 10l5.25-5-5.25-5"})}),Q=()=>e.jsx(Y,{className:"h-10 w-10 text-brand-purple group-hover:text-white transition-colors duration-300",strokeWidth:"1.5"}),T=()=>e.jsx(M,{className:"h-10 w-10 text-brand-purple group-hover:text-white transition-colors duration-300",strokeWidth:"1.5"}),U=()=>{const s=[{icon:e.jsx(B,{}),title:"A coding course...",description:"Could mean freelancing projects that pay for your college tuition."},{icon:e.jsx(Q,{}),title:"A communication course...",description:"Could mean landing that dream job."},{icon:e.jsx(T,{}),title:"A design course...",description:"Could mean starting your own side hustle."}];return e.jsx("section",{className:"py-10 bg-gray-50 mx-4 sm:mx-6 lg:mx-8 rounded-[15px]",children:e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 text-center max-w-5xl",children:[e.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-extrabold text-gray-800 tracking-tight",children:["Your First Step Could"," ",e.jsx("span",{className:"text-brand-purple",children:"Change Everything"})]}),e.jsx("p",{className:"mt-6 text-lg text-gray-600",children:"It's not just about learning. It's about finally seeing a way forward."}),e.jsx("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8",children:s.map(r=>e.jsxs("div",{className:"group bg-white px-8 py-10 rounded-[15px] shadow-sm border border-gray-200/80 text-left transition-all duration-300 hover:bg-brand-purple hover:shadow-xl hover:shadow-purple-500/30 hover:-translate-y-2 cursor-pointer",children:[e.jsx("div",{className:"w-20 h-20 bg-brand-purple-light rounded-full flex items-center justify-center mb-6 ring-8 ring-gray-50 transition-colors duration-300 group-hover:bg-white/20",children:r.icon}),e.jsx("h3",{className:"font-bold text-xl text-gray-900 transition-colors duration-300 group-hover:text-white",children:r.title}),e.jsx("p",{className:"mt-2 text-gray-600 transition-colors duration-300 group-hover:text-purple-200",children:r.description})]},r.title))})]})})},D=()=>{const s=[{title:"Mentorship & Guidance:",description:"Get answers, advice, and encouragement from people who've been where you are."},{title:"Community Support:",description:"Connect with fellow learners chasing the same goals."},{title:"Student Help Center:",description:"Step-by-step guides, FAQs, and resources to keep you moving forward without confusion."}];return e.jsx("section",{className:"py-10 bg-white overflow-hidden mx-4 sm:mx-6 lg:mx-8 rounded-[15px]",children:e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 grid lg:grid-cols-2 gap-16 items-center",children:[e.jsxs("div",{children:[e.jsxs("h2",{className:"text-3xl md:text-4xl font-extrabold text-gray-800 tracking-tight",children:["Never Learn ",e.jsx("span",{className:"text-brand-purple",children:"Alone: Student Mentorship"}),e.jsx("span",{className:"inline-block w-2.5 h-2.5 bg-cyan-400 ml-2 transform -translate-y-1"})]}),e.jsx("div",{className:"w-24 h-1 bg-brand-purple my-6"}),e.jsx("p",{className:"mt-4 text-gray-600 text-lg",children:"At WeVersity, you're not just clicking through videos. You're part of a community that wants you to succeed."}),e.jsx("div",{className:"mt-8 space-y-4",children:s.map(r=>
1e.jsxs("div",{className:"group bg-white p-5 rounded-[15px] border border-gray-200/60 flex items-start shadow-sm transition-all duration-300 hover:bg-brand-purple hover:shadow-lg hover:shadow-purple-500/20 hover:border-transparent cursor-pointer",children:[e.jsx(x,{}),e.jsxs("div",{children:[e.jsx("strong",{className:"text-gray-800 transition-colors duration-300 group-hover:text-white",children:r.title}),e.jsx("p",{className:"text-gray-600 transition-colors duration-300 group-hover:text-purple-200",children:r.description})]})]},r.title))})]}),e.jsx("div",{className:"relative flex justify-center items-center h-80 lg:h-[28rem] pl-8 lg:pl-12",children:e.jsx("img",{src:"https://res.cloudinary.com/dn93gd6yw/image/upload/f_auto,q_auto/v1762155143/IMAGE11_wzzpbs.png",alt:"A student participating in a video call for mentorship",className:"rounded-[15px] h-full w-auto object-cover ring-4 ring-white transform rotate-3 sm:rotate-6 transition-transform duration-300"})})]})})},J=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"1.5",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18v-5.25m0 0a6.01 6.01 0 001.5-.189m-1.5.189a6.01 6.01 0 01-1.5-.189m3.75 7.478a12.06 12.06 0 01-4.5 0m3.75 2.311a7.5 7.5 0 01-7.5 0c.601.49 1.295.922 2.056 1.283a7.5 7.5 0 014.388 0c.76-.36 1.455-.793 2.056-1.283zM12 3v2.25m0 0c-1.01.042-2.006.236-2.938.602a6.018 6.018 0 00-2.132 1.636c-.529.529-.935 1.152-1.234 1.838a6.009 6.009 0 00-.324 2.682 6.01 6.01 0 00.324 2.682 6.018 6.018 0 002.132 1.636c.529.529 1.152.935 1.838 1.234a6.009 6.009 0 002.682.324c.97-.005 1.93-.19 2.825-.523a6.01 6.01 0 002.048-1.547 6.018 6.018 0 001.532-2.12A6.01 6.01 0 0018 12c0-.97-.19-1.93-.523-2.825a6.018 6.018 0 00-1.547-2.048 6.018 6.018 0 00-2.12-1.532A6.01 6.01 0 0012 3z"})}),Z=({setPage:s})=>{const[r,i]=n.useState(!1);return n.useRef(null),e.jsx("section",{className:"py-10 bg-white mx-4 sm:mx-6 lg:mx-8 rounded-[15px]",children:e.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"relative bg-[#F9FAFB] rounded-[15px] p-8 sm:p-12 lg:p-16 overflow-hidden shadow-inner shadow-purple-500/10",style:{backgroundImage:"url('data:image/svg+xml,%3Csvg width=\\'100%25\\' height=\\'100%25\\' xmlns=\\'http://www.w3.org/2000/svg\\'%3E%3Cdefs%3E%3Cpattern id=\\'wave\\' patternUnits=\\'userSpaceOnUse\\' width=\\'60\\' height=\\'60\\' patternTransform=\\'rotate(45)\\'%3E%3Cpath d=\\'M 0 30 Q 15 45 30 30 Q 45 15 60 30\\' stroke=\\'%23F3F4F6\\' stroke-width=\\'1\\' fill=\\'none\\'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width=\\'100%25\\' height=\\'100%25\\' fill=\\'url(%23wave)\\'/%3E%3C/svg%3E')"},children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-transparent via-transparent to-purple-500/10 mix-blend-multiply pointer-events-none"}),e.jsx("div",{className:"absolute top-0 left-0 right-0 h-24 bg-gradient-to-b from-purple-100/50 to-transparent mix-blend-multiply pointer-events-none"}),e.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center relative z-10",children:[e.jsx("div",{className:"aspect-video rounded-[15px] shadow-lg overflow-hidden bg-black",children:e.jsx("img",{src:"https://res.cloudinary.com/dn93gd6yw/image/upload/f_auto,q_auto/v1767611711/WhatsApp_Image_2026-01-05_at_3.58.27_PM_atghgz.jpg",alt:"WeVersity learn to earn platform student dashboard",className:"w-full h-full object-cover"})}),e.jsxs("div",{className:"text-center lg:text-left",children:[e.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-extrabold text-gray-900 tracking-tight leading-tight",children:["Don't Just Learn. Build Something"," ",e.jsxs("span",{className:"relative inline-block text-brand-purple",children:["Real",e.jsxs("svg",{className:"absolute -bottom-1.5 left-0 w-full h-4",viewBox:"0 0 100 10",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M1 5 C 10 2, 20 6, 30 5 C 40 4, 50 7, 60 5 C 70 3, 80 6, 90 5 C 95 4.5, 99 6, 99 6",stroke:"#F97316",strokeWidth:"4",fill:"transparent",strokeLinecap:"round"}),e.jsx("path",{d:"M1 7 C 12 5, 22 8, 32 7 C 42 6, 52 9, 62 7 C 72 5, 82 8, 92 7 C 97 6.5, 99 8, 99 8",stroke:"#F97316",strokeWidth:"4",fill:"transparent",strokeLinecap:"round",opacity:"0.6"})]})]})]}),e.jsxs("p",{className:"mt-6 text-gray-700 max-w-xl mx-auto lg:mx-0",children:["Forget boring internships. At WeVersity, you'll dive into"," ",e.jsx("strong",{className:"text-gray-900",children:"live projects"}),", sharpen your technical skills, and leave with a portfolio that speaks louder than any certificate. Learn, create, and make an impact â all at once."]}),e.jsxs("div",{className:"mt-8 flex flex-col sm:flex-row justify-center lg:justify-start gap-4",children:[e.jsx("button",{onClick:()=>s("internship-application"),className:"bg-brand-purple text-white font-semibold px-8 py-3 rounded-lg hover:bg-brand-purple-dark transition-colors shadow-md",children:"Build Your Future"}),e.jsxs("button",{onClick:()=>s("internship"),className:"bg-white text-gray-800 font-semibold px-8 py-3 rounded-lg border border-brand-purple hover:bg-brand-purple-light transition-colors flex items-center justify-center shadow-sm",children:[e.jsx(J,{}),"Learn More"]})]})]})]})]})})})},K=({setPage:s})=>e.jsx("section",{className:"py-10 bg-white mx-4 sm:mx-6 lg:mx-8 rounded-[15p
1x]",children:e.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"relative bg-brand-purple text-white rounded-[15px] p-8 sm:p-12 md:p-16 text-center shadow-2xl shadow-purple-500/40 overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 left-0 w-48 h-48 bg-white/10 rounded-full -translate-x-1/4 -translate-y-1/4"}),e.jsx("div",{className:"absolute bottom-0 right-0 w-64 h-64 bg-white/10 rounded-full translate-x-1/4 translate-y-1/4"}),e.jsxs("div",{className:"relative z-10",children:[e.jsxs("h2",{className:"text-3xl md:text-4xl font-extrabold max-w-3xl mx-auto",children:["You're ready. ",e.jsx("br",{className:"hidden sm:block"}),"Let's turn your skills into your future."]}),e.jsx("p",{className:"mt-4 text-purple-200 max-w-2xl mx-auto text-base sm:text-lg",children:"Learning is easier when you know someone has your back. And at WeVersity, you'll always have support at every step."}),e.jsx("button",{onClick:()=>s("courses"),className:"mt-8 w-full sm:w-auto whitespace-nowrap bg-[#4C1D95] text-white font-bold px-4 py-3 sm:px-10 sm:py-4 rounded-lg hover:bg-[#3B0764] transition-colors shadow-lg text-[10px] sm:text-sm tracking-wider border-2 border-white max-w-sm mx-auto",children:"START YOUR FREE LEARNING JOURNEY"})]})]})})}),X=({role:s,title:r,subtitle:i})=>{const[c,l]=n.useState([]),[o,d]=n.useState(!0),[h,p]=n.useState(null),[m,N]=n.useState(null),[g,b]=n.useState(!1),[f,k]=n.useState(null);n.useEffect(()=>{E(),C(),S()},[s]);const S=async()=>{const{data:{session:t}}=await window.supabase.auth.getSession();N(t)},C=async()=>{try{const{data:t}=await window.supabase.from("global_settings").select("value").eq("key","subscription_enforcement").maybeSingle();if(t&&t.value){const a=s==="instructor"?"instructor":"student";t.value.hasOwnProperty(a)?p(t.value[a]):p(t.value.enabled??!0)}else p(!0)}catch(t){console.error("Error checking subscription enforcement:",t),p(!0)}},E=async()=>{d(!0);try{const{data:t,error:a}=await window.supabase.from("subscription_plans").select(` 2 *, 3 features:plan_features( 4 feature_key, 5 feature_value, 6 is_enabled 7 ) 8 `).eq("active",!0).eq("role_type",s).order("price",{ascending:!0});if(a)throw a;console.log(`Fetched ${(t==null?void 0:t.length)||0} plans for role: ${s}`,t),l(t||[])}catch(t){console.error("Error fetching pricing info:",t)}finally{d(!1)}},F=t=>{if(!m){y.error("Please login to subscribe to a plan");return}if(t.price===0){y.success(`You have selected the free ${t.name} plan!`);return}k(t),b(!0)};return o||h===null||h===!1?null:e.jsxs("section",{className:"py-24 bg-white relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-brand-purple/5 rounded-full blur-[100px] -mr-48 -mt-48"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-blue-500/5 rounded-full blur-[100px] -ml-48 -mb-48"}),e.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[e.jsxs("div",{className:"text-center mb-20",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-brand-purple/5 border border-brand-purple/10 mb-6 shadow-sm",children:[e.jsx(q,{size:14,className:"text-brand-purple fill-brand-purple"}),e.jsx("span",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-brand-purple",children:"Membership Plans"})]}),e.jsx("h2",{className:"text-4xl md:text-6xl font-black text-gray-900 mb-6 tracking-tight",children:r||(s==="student"?"Upgrade Your Learning":"Scale Your Academy")}),e.jsx("p",{className:"text-gray-500 font-medium max-w-2xl mx-auto text-lg leading-relaxed",children:i||"Flexible plans designed to help you succeed at every stage of your journey."})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 items-stretch",children:[c.length===0&&!o&&e.jsxs("div",{className:"col-span-full text-center py-24 bg-gray-50 rounded-[3rem] border-2 border-dashed border-gray-100 flex flex-col items-center justify-center",children:[e.jsx(j,{size:48,className:"text-gray-200 mb-4"}),e.jsx("p",{className:"text-gray-400 font-bold text-xl",children:"New plans arriving soon."}),e.jsxs("p",{className:"text-gray-300 text-sm mt-2 font-medium",children:["We're currently updating our subscription offerings for ",s,"s."]})]}),c.map((t,a)=>{var w;return e.jsxs("div",{className:`group relative rounded-[3rem] p-10 transition-all duration-500 hover:-translate-y-2 flex flex-col ${a===1?"bg-gray-900 text-white shadow-2xl shadow-brand-purple/20 ring-1 ring-white/10":"bg-white text-gray-900 border border-gray-100 shadow-xl shadow-gray-50/50 hover:shadow-2xl"}`,children:[a===1&&e.jsx("div",{className:"absolute -top-5 left-1/2 -translate-x-1/2 bg-gradient-to-r from-brand-purple to-indigo-600 text-white px-8 py-2 rounded-full text-[10px] font-black uppercase tracking-[0.2em] shadow-xl shadow-brand-purple/40 z-20",children:"Most Popular"}),e.jsxs("div",{className:"relative z-10",children:[e.jsx("div",{className:`w-16 h-16 rounded-[15p
8x] flex items-center justify-center mb-8 transition-transform group-hover:scale-110 duration-500 ${a===0?"bg-gray-50 text-gray-400":a===1?"bg-white/10 text-white backdrop-blur-md":"bg-brand-purple/10 text-brand-purple"}`,children:a===0?e.jsx(j,{size:32}):a===1?e.jsx(v,{size:32}):e.jsx(P,{size:32})}),e.jsx("h3",{className:"text-3xl font-black mb-3 tracking-tight",children:t.name}),e.jsx("p",{className:`text-sm font-medium leading-relaxed mb-10 ${a===1?"text-gray-400":"text-gray-500"}`,children:t.description||`Optimized access for professional ${t.role_type}s.`}),e.jsxs("div",{className:"flex items-baseline gap-2 mb-10",children:[e.jsxs("span",{className:"text-5xl font-black tracking-tighter",children:["$",t.price]}),e.jsx("div",{className:"flex flex-col",children:e.jsxs("span",{className:`text-[10px] font-black uppercase tracking-widest ${a===1?"text-brand-purple":"text-gray-400"}`,children:["USD / ",t.billing_cycle]})})]}),e.jsxs("div",{className:"space-y-5 mb-10 flex-1",children:[e.jsx("div",{className:`h-px w-full mb-6 ${a===1?"bg-white/10":"bg-gray-100"}`}),(w=t.features)==null?void 0:w.map((u,A)=>e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:`mt-0.5 w-5 h-5 rounded-full flex items-center justify-center shrink-0 ${a===1?"bg-brand-purple text-white shadow-lg shadow-brand-purple/30":"bg-emerald-500 text-white"}`,children:e.jsx(G,{size:12,strokeWidth:4})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-bold tracking-tight uppercase tracking-wide",children:u.feature_key.replace(/_/g," ")}),e.jsx("p",{className:`text-[10px] font-medium leading-tight mt-0.5 ${a===1?"text-gray-400":"text-gray-500"}`,children:u.feature_value==="true"?"Enabled":u.feature_value==="unlimited"?"No Limits":`Limited to: ${u.feature_value}`})]})]},A))]}),e.jsx("button",{onClick:()=>F(t),className:`w-full py-5 rounded-[15px] font-black text-sm tracking-widest uppercase transition-all duration-300 shadow-xl active:scale-[0.98] ${a===1?"bg-white text-gray-900 hover:bg-gray-100 shadow-white/5":a===2?"bg-brand-purple text-white hover:bg-brand-purple-dark shadow-brand-purple/20 border-none":"bg-white border-2 border-gray-200 text-gray-900 hover:border-brand-purple hover:text-brand-purple shadow-none"}`,children:t.price===0?"Start Free":"Get Started"})]})]},t.id)})]})]}),g&&f&&m&&e.jsx(O,{isOpen:g,onClose:()=>b(!1),plan:f,session:m})]})},ee=()=>{const[s,r]=n.useState([]);n.useEffect(()=>{const l=L.filter(o=>o.page_identifier==="students");r(l.map(o=>({question:o.question,answer:o.answer})))},[]);const[i,c]=n.useState(null);return e.jsx("section",{className:"py-12 bg-white mx-4 sm:mx-6 lg:mx-8 rounded-[15px] mb-10",children:e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 max-w-4xl",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsxs("h2",{className:"text-3xl md:text-4xl font-extrabold text-gray-900 tracking-tight",children:["Frequently Asked ",e.jsx("span",{className:"text-brand-purple",children:"Questions"})]}),e.jsx("p",{className:"mt-4 text-gray-600 text-lg",children:"Everything you need to know about our student skill development programs."})]}),e.jsx("div",{className:"space-y-4",children:s.map((l,o)=>e.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[e.jsxs("button",{className:"w-full text-left px-6 py-4 bg-gray-50 hover:bg-gray-100 flex justify-between items-center transition-colors",onClick:()=>c(i===o?null:o),children:[e.jsx("span",{className:"font-semibold text-gray-800",children:l.question}),e.jsx("span",{className:"text-gray-500 text-xl font-bold",children:i===o?"-":"+"})]}),i===o&&e.jsx("div",{className:"px-6 py-4 bg-white text-gray-600",children:l.answer})]},o))})]})})},ce=({setPage:s})=>{const[r,i]=n.useState(!1);return n.useEffect(()=>{(async()=>{try{const{data:l}=await window.supabase.from("global_settings").select("value").eq("key","subscription_enforcement").maybeSingle();l&&l.value?l.value.hasOwnProperty("student")?i(l.value.student):i(l.value.enabled||!1):i(!1)}catch(l){console.error("Error checking subscription enforcement:",l),i(!1)}})().finally(()=>{setTimeout(()=>{},500)})},[]),e.jsxs("div",{children:[e.jsxs(W,{defer:!1,children:[e.jsx("title",{children:"Free Online Courses for Students 2026 Guide | WeVersity"}),e.jsx("meta",{name:"description",content:"Join WeVersity as a student for free live classes, internships, and certified courses in AI, web development, digital marketing, and more. Start now. Free."}),e.jsx("meta",{property:"og:title",content:"Free Online Courses for Students 2026 Guide | WeVersity"}),e.jsx("meta",{property:"og:description",content:"Join WeVersity as a student for free live classes, internships, and certified courses in AI, web development, digital marketing, and more. Start now. Free."}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:image:alt",content:"Students learning live online skills with WeVersity"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:"Free Online Courses for Students | WeVersity"}),e.jsx("meta",{name:"twitter:description",content:"Free live classes, internships, and certifications for students at WeVersity."}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Are WeVersity courses really free?",acceptedA
8nswer:{"@type":"Answer",text:"Yes, WeVersity's core courses and live classes are free to join; some optional add-ons or specialized programs may have separate terms, the semicolon is used correctly here, joining two related independent clauses."}},{"@type":"Question",name:"Do WeVersity courses include a certificate?",acceptedAnswer:{"@type":"Answer",text:"Yes, students who complete a course receive a certificate they can add to their Resume/CV or LinkedIn profile."}},{"@type":"Question",name:"Can students get an internship through WeVersity?",acceptedAnswer:{"@type":"Answer",text:"Yes, WeVersity offers internship opportunities tied to its courses so students can gain practical, resume-ready experience."}},{"@type":"Question",name:"Is WeVersity suitable for beginners with no experience?",acceptedAnswer:{"@type":"Answer",text:"Yes, courses are structured for beginners and cover fundamentals before moving into applied, career-focused skills."}},{"@type":"Question",name:"How are WeVersity classes delivered â live or recorded?",acceptedAnswer:{"@type":"Answer",text:"WeVersity offers live expert-led classes, giving students direct interaction with instructors rather than only pre-recorded content."}},{"@type":"Question",name:"Does WeVersity help students find jobs after completing a course?",acceptedAnswer:{"@type":"Answer",text:"Yes. Course completion, internships, and certifications are designed to make students job-ready; check the specific course page for placement support details."}}]})}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"HowTo",name:"How to Learn and Earn as a Student at WeVersity",description:"Your simple path from learning to earning at WeVersity.",step:[{"@type":"HowToStep",name:"Enroll Free",text:"Enroll in a free online course of your choice to get started."},{"@type":"HowToStep",name:"Live Classes",text:"Attend live classes and complete assignments with expert guidance."},{"@type":"HowToStep",name:"Internship",text:"Complete an internship for real experience and practical skills."},{"@type":"HowToStep",name:"Get Certified",text:"Get certified and launch your career as a confident professional."}]})})]}),e.jsx($,{setPage:s}),e.jsx(H,{}),e.jsx(R,{}),e.jsx(U,{}),e.jsx(D,{}),e.jsx(Z,{setPage:s}),r&&e.jsx(X,{role:"student"}),e.jsx(ee,{}),e.jsx(K,{setPage:s})]})};export{ce 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.