1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[651],{2587:(e,s,t)=>{t.d(s,{A:()=>a});var r=t(5155);function a(){return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,r.jsxs)("div",{className:"mb-2 flex items-end justify-center space-x-[6px]",children:[(0,r.jsxs)("div",{className:"relative h-7 w-5",children:[(0,r.jsx)("div",{className:"absolute right-0 top-0 h-full w-[3px] bg-[#D89B2B]"}),(0,r.jsx)("div",{className:"absolute bottom-0 right-0 h-[3px] w-full bg-[#D89B2B]"})]}),(0,r.jsxs)("div",{className:"relative h-7 w-5",children:[(0,r.jsx)("div",{className:"absolute left-0 top-0 h-full w-[3px] bg-[#D89B2B]"}),(0,r.jsx)("div",{className:"absolute bottom-0 left-0 h-[3px] w-full bg-[#D89B2B]"})]})]}),(0,r.jsx)("span",{className:"text-sm font-bold leading-none tracking-[0.15em] text-[#344059] md:text-base",children:"LEGACY LEADERS"})]})}},3307:(e,s,t)=>{t.d(s,{default:()=>u});var r=t(5155),a=t(2115),l=t(5299),i=t(5917),n=t(2987),o=t(3155),c=t(64),d=t(7161),h=t(5239),x=t(2619),m=t.n(x);function u(){let[e,s]=(0,a.useState)(""),[t,x]=(0,a.useState)("idle"),[u,f]=(0,a.useState)(""),p=async t=>{if(t.preventDefault(),e){x("loading"),f("");try{let t=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})});if(t.ok)x("success"),s("");else{let e=await t.json();x("error"),f(e.error||"Failed to subscribe. Please try again.")}}catch(e){console.error("Newsletter error:",e),x("error"),f("A network error occurred. Please try again later.")}}};return(0,r.jsx)("footer",{id:"contact",className:"bg-[#1e2533] pb-10 pt-20 text-white",children:(0,r.jsxs)("div",{className:"mx-auto max-w-7xl px-6",children:[(0,r.jsxs)("div",{className:"mb-16 grid grid-cols-1 gap-12 md:grid-cols-4",children:[(0,r.jsxs)("div",{className:"col-span-1 md:col-span-1",children:[(0,r.jsx)("div",{className:"mb-6 inline-block",children:(0,r.jsx)(h.default,{src:"/image.webp",alt:"Legacy Leaders logo",width:180,height:64,className:"h-auto w-auto max-w-[180px]",priority:!1})}),(0,r.jsx)("p",{className:"text-sm leading-relaxed text-gray-400",children:"Empowering the next generation of leaders through mentorship, fellowship, and corporate coaching."})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"mb-6 text-sm font-bold uppercase tracking-widest text-[#D89B2B]",children:"Quick Links"}),(0,r.jsxs)("ul",{className:"space-y-4",children:[(0,r.jsx)("li",{children:(0,r.jsx)(m(),{href:"/our-story",className:"text-gray-400 transition-colors hover:text-white",children:"Our Story"})}),(0,r.jsx)("li",{children:(0,r.jsx)(m(),{href:"/our-programs",className:"text-gray-400 transition-colors hover:text-white",children:"Our Programs"})}),(0,r.jsx)("li",{children:(0,r.jsx)(m(),{href:"/get-involved",className:"text-gray-400 transition-colors hover:text-white",children:"Get Involved"})}),(0,r.jsx)("li",{children:(0,r.jsx)(m(),{href:"#",className:"text-gray-400 transition-colors hover:text-white",children:"Blog"})})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"mb-6 text-sm font-bold uppercase tracking-widest text-[#D89B2B]",children:"Contact"}),(0,r.jsxs)("ul",{className:"space-y-4 text-sm text-gray-400",children:[(0,r.jsx)("li",{children:"[email protected]"}),(0,r.jsx)("li",{children:"+1 (773) 217-9528"}),(0,r.jsx)("li",{children:"Chicago, IL 60601"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"mb-6 text-sm font-bold uppercase tracking-widest text-[#D89B2B]",children:"Newsletter"}),(0,r.jsx)("p",{className:"mb-4 text-sm text-gray-400",children:"Stay updated with our latest programs and impact."}),(0,r.jsxs)("form",{onSubmit:p,className:"flex flex-col gap-2",children:[(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("input",{type:"email",placeholder:"EMAIL ADDRESS",value:e,onChange:e=>s(e.target.value),disabled:"loading"===t||"success"===t,required:!0,className:"w-full border border-gray-600 bg-transparent px-4 py-2 text-sm text-white focus:border-[#D89B2B] focus:outline-none disabled:opacity-50"}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===t||"success"===t,className:"flex min-w-[52px] items-center justify-center bg-[#D89B2B] px-4 py-2 text-white transition-colors hover:bg-white hover:text-[#344059] disabled:opacity-50 disabled:hover:bg-[#D89B2B] disabled:hover:text-white","aria-label":"Submit email",children:"loading"===t?(0,r.jsx)(l.A,{className:"h-5 w-5 animate-spin"}):"success"===t?(0,r.jsx)(i.A,{className:"h-5 w-5"}):(0,r.jsx)(n.A,{className:"h-5 w-5"})})]}),"success"===t&&(0,r.jsx)("p",{className:"text-xs text-green-400 animate-in fade-in",children:"Successfully subscribed!"}),"error"===t&&(0,r.jsx)("p",{className:"text-xs text-red-400 animate-in fade-in",children:u})]})]})]}),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-between border-t border-gray-700 pt-8 text-sm text-gray-500 md:flex-row",children:[(0,r.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," Legacy Leaders. All rights reserved."]}),(0,r.jsxs)("div",{className:"mt-4 flex items-center gap-6 md:mt-0",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(m(),{href:"https://www.facebook.com/mylegacyleaders","aria-label":"Legacy Leaders Facebook",className:"flex h-10 w-10 items-center justify-center rounded-full bg-white/10 text-white transition-all hover:bg-[#D89B2B] hover:scale-105",children:(0,r.jsx)(o.A,{className:"h-5 w-5"})}),(0,r.jsx)(m(),{href:"https://x.com/mylegacyleaders","aria-label":"Legacy Leaders X",className:"flex h-10 w-10 items-center justify-center rounded-full bg-white/10 text-white transition-all hover:bg-[#D89B2B] hover:scale-105",children:(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:"h-5 w-5 fill-current",children:(0,r.jsx)("path",{d:"M18.901 1.153h3.68l-8.043 9.19L24 22.847h-7.406l-5.8-7.584-6.64 7.584H.473l8.6-9.83L0 1.154h7.594l5.243 6.932 6.064-6.933zm-1.292 19.5h2.04L6.486 3.24H4.298z"})})}),(0,r.jsx)(m(),{href:"https://www.youtube.com/user/legacyleaderstv","aria-label":"Legacy Leaders YouTube",className:"flex h-10 w-10 items-center justify-center rounded-full bg-white/10 text-white transition-all hover:bg-[#D89B2B] hover:scale-105",children:(0,r.jsx)(c.A,{className:"h-5 w-5"})}),(0,r.jsx)(m(),{href:"https://www.instagram.com/mylegacyleaders","aria-label":"Legacy Leaders Instagram",className:"flex h-10 w-10 items-center justify-center rounded-full bg-white/10 text-white transition-all hover:bg-[#D89B2B] hover:scale-105",children:(0,r.jsx)(d.A,{className:"h-5 w-5"})})]}),(0,r.jsx)("a",{href:"#",className:"transition-colors hover:text-white",children:"Privacy Policy"}),(0,r.jsx)("a",{href:"#",className:"transition-colors hover:text-white",children:"Terms of Service"})]})]})]})})}},6037:(e,s,t)=>{t.d(s,{default:()=>m});
1var r=t(5155),a=t(2619),l=t.n(a),i=t(2115),n=t(4033),o=t(9540),c=t(5229),d=t(2587);function h(e){let{children:s,variant:t="primary",className:a="",href:i,onClick:n}=e,o="".concat("inline-flex cursor-pointer items-center justify-center border px-6 py-3 text-sm font-semibold uppercase tracking-wider transition-all duration-300"," ").concat({primary:"border-[#D89B2B] bg-[#D89B2B] text-white hover:bg-transparent hover:text-[#D89B2B]",secondary:"border-[#344059] bg-[#344059] text-white hover:bg-transparent hover:text-[#344059]",outline:"border-[#344059] bg-transparent text-[#344059] hover:bg-[#344059] hover:text-white",outlineWhite:"border-white bg-transparent text-white hover:bg-white hover:text-[#344059]"}[t]," ").concat(a);return i?(0,r.jsx)(l(),{href:i,className:o,onClick:n,children:s}):(0,r.jsx)("button",{type:"button",className:o,onClick:n,children:s})}let x=[{name:"Our Story",href:"/our-story",subLinks:[{name:"About Us",href:"/our-story"},{name:"Our History",href:"/our-story#our-history"},{name:"Leadership",href:"/our-story#leadership"},{name:"Sneaker Gala",href:"/our-story#sneaker-gala"}]},{name:"Our Programs",href:"/our-programs",subLinks:[{name:"Legacy Fellows",href:"/our-programs#legacy-fellows"},{name:"Legacy Mentors",href:"/our-programs#legacy-mentors"},{name:"Legacy Coaching",href:"/our-programs#legacy-coaching"}]},{name:"Get Involved",href:"/get-involved",subLinks:[{name:"Volunteer",href:"/get-involved#volunteer"},{name:"Request an Intern",href:"/get-involved#request-intern"},{name:"Donate",href:"/get-involved#legacy-donor"}]},{name:"Contact Us",href:"/contact-us"}];function m(){let[e,s]=(0,i.useState)(!1),[t,a]=(0,i.useState)(!1),[m,u]=(0,i.useState)(null),[f,p]=(0,i.useState)(null),g=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=()=>s(window.scrollY>50);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,i.useEffect)(()=>{let e=e=>{g.current&&!g.current.contains(e.target)&&u(null)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,r.jsxs)("header",{className:"fixed top-0 z-50 w-full transition-all duration-300 ".concat(e?"bg-white py-4 shadow-sm":"bg-white/95 py-6"),children:[(0,r.jsxs)("div",{className:"mx-auto flex max-w-7xl items-center justify-between px-6",children:[(0,r.jsx)(l(),{href:"/",className:"z-50 flex-shrink-0",children:(0,r.jsx)(d.A,{})}),(0,r.jsx)("nav",{ref:g,className:"hidden items-center space-x-8 lg:flex",children:x.map((e,s)=>(0,r.jsxs)("div",{className:"relative",onMouseEnter:()=>e.subLinks&&u(s),onMouseLeave:()=>u(null),children:[(0,r.jsxs)(l(),{href:e.href,className:"flex items-center gap-1 cursor-pointer text-sm font-semibold uppercase tracking-wider transition-colors hover:text-[#D89B2B]",children:[e.name,e.subLinks&&(0,r.jsx)(n.A,{size:14,className:"transition-transform duration-200 ".concat(m===s?"rotate-180 text-[#D89B2B]":"")})]}),e.subLinks&&m===s&&(0,r.jsx)("div",{className:"absolute left-0 top-full pt-6 min-w-[220px]",children:(0,r.jsx)("div",{className:"overflow-hidden border border-gray-200 bg-white shadow-xl animate-in fade-in slide-in-from-top-2 duration-200",children:e.subLinks.map((e,s)=>(0,r.jsx)(l(),{href:e.href.includes("#")?{pathname:e.href.split("#")[0],hash:e.href.split("#")[1]}:e.href,className:"block cursor-pointer px-5 py-3 text-xs font-semibold uppercase tracking-widest text-[#344059] transition-colors hover:bg-[#f8f6f1] hover:text-[#D89B2B] ".concat(0!==s?"border-t border-gray-100":""),onClick:()=>u(null),children:e.name},e.name))})})]},e.name))}),(0,r.jsx)("div",{className:"hidden items-center space-x-4 lg:flex",children:(0,r.jsx)(h,{variant:"primary",href:{pathname:"/get-involved",hash:"legacy-donor"},children:"Donate Today"})}),!t&&(0,r.jsx)("button",{className:"z-50 cursor-pointer text-[#344059] lg:hidden",onClick:()=>a(!0),"aria-label":"Open menu",children:(0,r.jsx)(o.A,{size:28})})]}),t&&(0,r.jsxs)("div",{className:"fixed inset-0 z-40 flex h-[100dvh] w-full flex-col bg-white overflow-y-auto pt-24 pb-12 px-6 animate-in fade-in duration-200",children:[(0,r.jsx)("button",{type:"button",className:"absolute right-6 top-6 cursor-pointer text-[#344059]",onClick:()=>{a(!1),p(null)},"aria-label":"Close menu",children:(0,r.jsx)(c.A,{size:30})}),(0,r.jsxs)("div",{className:"flex flex-col space-y-6 w-full max-w-sm mx-auto",children:[x.map((e,s)=>(0,r.jsxs)("div",{className:"flex flex-col border-b border-gray-100 pb-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)(l(),{href:e.href,className:"text-2xl font-black uppercase tracking-tight text-[#344059]",onClick:()=>{e.subLinks||a(!1)},children:e.name}),e.subLinks&&(0,r.jsx)("button",{onClick:()=>p(f===s?null:s),className:"p-2 text-[#D89B2B]",children:(0,r.jsx)(n.A,{size:24,className:"transition-transform duration-300 ".concat(f===s?"rotate-180":"")})})]}),e.subLinks&&f===s&&(0,r.jsx)("div",{className:"mt-4 flex flex-col space-y-4 pl-4 border-l-2 border-[#D89B2B] animate-in slide-in-from-top-2",children:e.subLinks.map(e=>(0,r.jsx)(l(),{href:e.href.includes("#")?{pathname:e.href.split("#")[0],hash:e.href.split("#")[1]}:e.href,className:"text-sm font-bold uppercase tracking-widest text-gray-500 hover:text-[#D89B2B]",onClick:()=>a(!1),children:e.name},e.name))})]},e.name)),(0,r.jsx)("div",{className:"pt-6",children:(0,r.jsx)(h,{variant:"primary",className:"w-full",href:{pathname:"/get-involved",hash:"legacy-donor"},onClick:()=>a(!1),children:"Donate Today"})})]})]})]})}}}]);
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.