(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{4401:function(e,t,r){Promise.resolve().then(r.t.bind(r,2998,23)),Promise.resolve().then(r.t.bind(r,2489,23)),Promise.resolve().then(r.bind(r,737)),Promise.resolve().then(r.bind(r,6808)),Promise.resolve().then(r.bind(r,3003))},737:function(e,t,r){"use strict";r.r(t),r.d(t,{LoadingComp:function(){return LoadingComp},default:function(){return DelayedLoader}});var s=r(7437),i=r(6691),l=r.n(i),a=r(7290),n=r(2265),loading=()=>(0,s.jsx)(LoadingComp,{});function DelayedLoader(e){let{children:t}=e,[r,i]=(0,n.useState)(!0);return((0,n.useEffect)(()=>{let e=setTimeout(()=>{i(!1)},2e3);return()=>clearTimeout(e)},[]),r)?(0,s.jsx)(loading,{}):(0,s.jsx)(s.Fragment,{children:t})}let LoadingComp=()=>(0,s.jsx)("div",{className:"relative flex flex-col justify-center items-center h-screen bg-black px-6",children:(0,s.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-center gap-10",children:[(0,s.jsx)(a.E.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:1.2,ease:"easeOut"},children:(0,s.jsx)(l(),{src:"/logo.png",width:200,height:200,alt:"logo",priority:!0,className:"drop-shadow-[0_0_25px_rgba(255,0,255,0.5)]"})}),(0,s.jsxs)(a.E.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.8,duration:2,ease:"easeOut"},className:"text-center md:text-left",children:[(0,s.jsxs)("h1",{className:"text-3xl md:text-5xl font-semibold italic bg-gradient-to-r from-pink-500 via-purple-400 to-indigo-500 bg-clip-text text-transparent drop-shadow-md tracking-wide leading-tight",children:["“Where students ",(0,s.jsx)("br",{className:"hidden md:block"}),"don't just dream, they build.”"]}),(0,s.jsx)("p",{className:"mt-4 text-xl md:text-2xl font-medium bg-gradient-to-r from-neutral-200 to-neutral-400 bg-clip-text text-transparent italic tracking-wider",children:"— E-Cell IIIT Delhi \uD83D\uDC99"})]})]})})},6808:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return Foot}});var s=r(7437),i=r(6691),l=r.n(i),a=r(1396),n=r.n(a),o=r(8409),c=r(345),d=r(2643);r(2265);let h={repeat:1/0,ease:"linear"},x={hidden:{opacity:1},visible:{opacity:1}};function SpinningText(e){var t;let{children:r,duration:i=10,style:l,className:a,reverse:n=!1,radius:o=5,transition:u,variants:m}=e;if("string"!=typeof r&&!Array.isArray(r))throw Error("children must be a string or an array of strings");if(Array.isArray(r)){if(!r.every(e=>"string"==typeof e))throw Error("all elements in children array must be strings");r=r.join("")}let f=r.split("");f.push(" ");let p={...h,...u,duration:null!==(t=null==u?void 0:u.duration)&&void 0!==t?t:i},v={visible:{rotate:n?-360:360},...null==m?void 0:m.container},b={...x,...null==m?void 0:m.item};return(0,s.jsxs)(d.E.div,{className:(0,c.cn)("relative",a),style:{...l},initial:"hidden",animate:"visible",variants:v,transition:p,children:[f.map((e,t)=>(0,s.jsx)(d.E.span,{"aria-hidden":"true",variants:b,className:"absolute left-1/2 top-1/2 inline-block",style:{"--index":t,"--total":f.length,"--radius":o,transform:"\n translate(-50%, -50%)\n rotate(calc(360deg / var(--total) * var(--index)))\n translateY(calc(var(--radius, 5) * -1ch))\n ",transformOrigin:"center"},children:e},"".concat(t,"-").concat(e))),(0,s.jsx)("span",{className:"sr-only",children:r})]})}var Foot=()=>{let e={initiatives1:[{label:"Founders Talk",href:"/initiatives#Founders-talk"},{label:"Pitch Cafe",href:"/initiatives#Pitch-cafe"},{label:"Ideathon",href:"/initiatives#ideathon"},{label:"Open House",href:"/initiatives#open-house"},{label:"Snack Chat",href:"/initiatives#snackchat"}],initiatives2:[{label:"Resources",href:"/resources"},{label:"FAQs",href:"/resources#FAQs"},{label:"Video Highlights",href:"/resources#Videos"},{label:"Important Links",href:"/resources#ImpLinks"}],usefulLinks:[{label:"Home",href:"/"},{label:"About Us",href:"/about"},{label:"Our Team",href:"/team"},{label:"Initiatives",href:"/initiatives"},{label:"Gallery",href:"/gallery"},{label:"Contact",href:"/contact"}]};return(0,s.jsxs)("footer",{className:"bg-black text-white px-12 md:px-12 pt-20 pb-10 text-sm",children:[(0,s.jsxs)("div",{className:"max-w-7xl mx-auto grid grid-cols-1 lg:grid-cols-6 gap-12",children:[(0,s.jsxs)("div",{className:"col-span-2 flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)(l(),{src:"/logo.png",alt:"E-Cell IIITD Logo",width:80,height:80,className:"transition-transform duration-300 hover:scale-110 hover:drop-shadow-[0_0_12px_rgba(255,0,255,0.6)]"}),(0,s.jsx)("div",{className:"flex flex-col",children:(0,s.jsxs)("h1",{className:"text-xl font-bold text-white",children:["Entrepreneurship Cell ",(0,s.jsx)("br",{})," of IIIT Delhi"]})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-base font-semibold mb-2",children:"Subscribe to Our Newsletters"}),(0,s.jsxs)("form",{onSubmit:async e=>{e.preventDefault();let t=e.currentTarget.email,r=t.value;try{let e=await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:r})}),s=await e.json();e.ok?(alert(s.message||"Subscribed successfully!"),t.value=""):alert(s.message||"Something went wrong.")}catch(e){console.error(e),alert("Subscription failed.")}},className:"flex items-center border border-gray-600 rounded-full overflow-hidden max-w-sm",children:[(0,s.jsx)("input",{type:"email",name:"email",required:!0,placeholder:"Enter your email",className:"bg-black text-white px-4 py-2 flex-1 outline-none placeholder:text-gray-400"}),(0,s.jsx)("button",{type:"submit",className:"bg-white text-black px-4 py-2 font-bold hover:bg-purple-500 hover:text-white transition",children:"→"})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-base font-semibold mb-2",children:"Follow us"}),(0,s.jsx)("div",{className:"flex gap-4 text-xl text-gray-400",children:(0,s.jsxs)("div",{className:"flex gap-4 text-xl",children:[(0,s.jsx)(n(),{href:"https://linkedin.com",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.ltd,{className:"hover:text-purple-400 hover:scale-110 transition duration-300 cursor-pointer"})}),(0,s.jsx)(n(),{href:"https://instagram.com",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.Zf_,{className:"hover:text-pink-500 hover:scale-110 transition duration-300 cursor-pointer"})}),(0,s.jsx)(n(),{href:"https://twitter.com",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.LCd,{className:"hover:text-yellow-300 hover:scale-110 transition duration-300 cursor-pointer"})}),(0,s.jsx)(n(),{href:"https://youtube.com",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.V2E,{className:"hover:text-red-500 hover:scale-110 transition duration-300 cursor-pointer"})}),(0,s.jsx)(n(),{href:"https://facebook.com",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.Am9,{className:"hover:text-blue-500 hover:scale-110 transition duration-300 cursor-pointer"})})]})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-lg font-semibold mb-4",children:"Our Initiatives"}),(0,s.jsx)("ul",{className:"space-y-2 text-gray-400",children:e.initiatives1.map(e=>{let{label:t,href:r}=e;return(0,s.jsx)("li",{className:"hover:text-purple-400 hover:translate-x-1 transition duration-200",children:(0,s.jsx)(n(),{href:r,children:t})},t)})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-lg font-semibold mb-4 invisible md:visible",children:"More "}),(0,s.jsx)("ul",{className:"space-y-2 text-gray-400",children:e.initiatives2.map(e=>{let{label:t,href:r}=e;return(0,s.jsx)("li",{className:"hover:text-pink-500 hover:translate-x-1 transition duration-200",children:(0,s.jsx)(n(),{href:r,children:t})},t)})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-lg font-semibold mb-4",children:"Useful Links"}),(0,s.jsx)("ul",{className:"space-y-2 text-gray-400",children:e.usefulLinks.map(e=>{let{label:t,href:r}=e;return(0,s.jsx)("li",{className:"hover:text-yellow-300 hover:translate-x-1 transition duration-200",children:(0,s.jsx)(n(),{href:r,children:t})},t)})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-lg font-semibold mb-4",children:"Contact"}),(0,s.jsxs)("div",{className:"text-gray-400 leading-relaxed",children:[(0,s.jsxs)("p",{children:["E-Cell Room, ",(0,s.jsx)("br",{}),"Students Activity Center,"]}),(0,s.jsx)("p",{children:"IIIT Delhi, Okhla Phase III"}),(0,s.jsx)("p",{children:"New Delhi, 110020"}),(0,s.jsxs)("p",{className:"mt-2",children:["\uD83D\uDCE7"," ",(0,s.jsx)("a",{href:"mailto:ecell@iiitd.ac.in",className:"underline hover:text-purple-400 transition",children:"ecell@iiitd.ac.in"})]}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)("div",{className:"",children:(0,s.jsx)(SpinningText,{children:"Explore • Encounter • Endeavour •"})})]})]})]}),(0,s.jsxs)("div",{className:"text-center text-gray-500 mt-12 pt-6 border-t border-gray-800",children:["\xa9 ",new Date().getFullYear()," E-Cell IIIT Delhi. All rights reserved."]})]})}},3003:function(e,t,r){"use strict";r.r(t),r.d(t,{Nav:function(){return Nav}});var s=r(7437),i=r(2265),l=r(7290),a=r(1396),n=r.n(a),o=r(6691),c=r.n(o);let d={type:"spring",mass:.5,damping:11.5,stiffness:100,restDelta:.001,restSpeed:.001},MenuItem=e=>{let{setActive:t,active:r,item:i,children:a}=e;return(0,s.jsxs)("div",{onMouseEnter:()=>t(i),className:"relative",children:[(0,s.jsx)(l.E.p,{transition:{duration:.3},className:"cursor-pointer hover:opacity-[0.9] text-white",children:i}),null!==r&&(0,s.jsx)(l.E.div,{initial:{opacity:0,scale:.85,y:10},animate:{opacity:1,scale:1,y:0},transition:d,children:r===i&&a&&(0,s.jsx)("div",{className:"absolute top-[calc(100%_+_1.1rem)] left-1/2 transform -translate-x-1/2 pt-4",children:(0,s.jsx)(l.E.div,{transition:d,layoutId:"active",className:"bg-slate-500/70 backdrop-blur-md rounded-2xl overflow-hidden border border-slate-500/[0.7] shadow-xl",children:(0,s.jsx)(l.E.div,{layout:!0,className:"w-max h-full p-4",children:a})})})})]})},Menu=e=>{let{setActive:t,children:r}=e;return(0,s.jsx)("nav",{onMouseLeave:()=>t(null),className:"w-full bg-gradient-to-r from-indigo-500/60 via-purple-500/60 to-pink-500/60 backdrop-blur-lg border-b border-white/20 shadow-lg py-3",children:r})},HoveredLink=e=>{let{children:t,...r}=e;return(0,s.jsx)(n(),{...r,className:"text-neutral-200 hover:text-black transition-colors duration-300",children:t})};var h=r(345);function Nav(){return(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(Navbar,{})})}function Navbar(e){let{className:t}=e,[r,l]=(0,i.useState)(null),[a,o]=(0,i.useState)(!1);return(0,s.jsx)("div",{className:(0,h.cn)("top-0 left-0 w-full z-50",t),children:(0,s.jsx)(Menu,{setActive:l,children:(0,s.jsxs)("div",{className:"max-w-full mx-auto flex justify-between items-center px-6",children:[(0,s.jsxs)(n(),{href:"/",className:"flex items-center gap-4",children:[(0,s.jsx)(c(),{src:"/logo.png",alt:"Logo",width:48,height:48}),(0,s.jsxs)("div",{className:"text-white font-semibold text-[0.95rem] md:text-base leading-none space-y-[0.1rem]",children:[(0,s.jsx)("div",{className:"m-0 p-0",children:"Entrepreneurship Cell"}),(0,s.jsx)("div",{className:"text-white/70 m-0 p-0",children:"of IIIT Delhi"})]})]}),(0,s.jsx)("div",{className:"lg:hidden",children:(0,s.jsx)(MenuItem,{setActive:l,active:r,item:"☰",children:(0,s.jsxs)("div",{className:"flex flex-col space-y-4 text-sm",children:[(0,s.jsx)(HoveredLink,{href:"/about",children:"About Us"}),(0,s.jsx)(HoveredLink,{href:"/team",children:"Our Team"}),(0,s.jsx)(HoveredLink,{href:"/initiatives",children:"Initiatives"}),(0,s.jsx)(HoveredLink,{href:"/gallery",children:"Gallery"}),(0,s.jsx)(HoveredLink,{href:"/resources",children:"Resources"}),(0,s.jsx)(HoveredLink,{href:"/contact",children:"Contact Us"})]})})}),(0,s.jsxs)("div",{className:"flex items-center gap-6 ".concat(a?"flex-col absolute bg-white top-16 left-4 right-4 p-6":"hidden lg:flex"),children:[(0,s.jsx)(HoveredLink,{href:"/about",children:"About Us"}),(0,s.jsx)(HoveredLink,{href:"/team",children:"Our Team"}),(0,s.jsx)(HoveredLink,{href:"/gallery",children:"Gallery"}),(0,s.jsx)(MenuItem,{setActive:l,active:r,item:"Resources",children:(0,s.jsxs)("div",{className:"flex flex-col space-y-4 text-sm",children:[(0,s.jsx)(HoveredLink,{href:"/resources#FAQs",children:"FAQs"}),(0,s.jsx)(HoveredLink,{href:"/resources#ImpLinks",children:"Important Links"})]})}),(0,s.jsx)(HoveredLink,{href:"/contact",children:"Contact Us"})]})]})})})}},345:function(e,t,r){"use strict";r.d(t,{cn:function(){return cn}});var s=r(7042),i=r(4769);function cn(){for(var e=arguments.length,t=Array(e),r=0;r