PageSourceSearch

https://jkshahclasses.com/assets/AlumniPage-Ud90Uq-t.js

js jkshahclasses.com collected 2026-10-02 13:24:15 UTC 6,742 bytes, 1 lines download raw bytes

1var h=(d,o,a)=>new Promise((c,r)=>{var x=t=>{try{s(a.next(t))}catch(i){r(i)}},l=t=>{try{s(a.throw(t))}catch(i){r(i)}},s=t=>t.done?c(t.value):Promise.resolve(t.value).then(x,l);s((a=a.apply(d,o)).next())});import{r as n,j as e,A as f,I as p,K as j,U as b,c0 as v}from"./index-COtfmzs3.js";function y(){const[d,o]=n.useState([]),[a,c]=n.useState(null),[r,x]=n.useState(!0);n.useEffect(()=>{h(null,null,function*(){try{const{ok:t,data:i}=yield v.getAlumni({limit:100,sort:"order"});if(t&&i.success){const m=i.data;o(m);const u=m.find(g=>g.isFeatured);u&&c(u)}}catch(t){console.error("Failed to fetch alumni:",t)}finally{x(!1)}})},[]);const l=a||{name:"Hon. Shri Piyush Goyal",designation:"Cabinet Minister of Commerce & Industry",image:"/uploads/alumni/piyush_goyal.jpg"};return e.jsxs("div",{className:"min-h-screen bg-slate-50/50 pb-24 font-sans",children:[e.jsxs("div",{className:"relative overflow-hidden bg-[#373081] pt-20 pb-24 md:pt-24 md:pb-32",children:[e.jsx("div",{className:"absolute top-0 right-0 w-1/2 h-full opacity-10",children:e.jsx("div",{className:"absolute inset-0 bg-gradient-to-l from-white/20 to-transparent skew-x-12 transform translate-x-1/2"})}),e.jsx("div",{className:"absolute bottom-0 left-0 w-full h-24 bg-gradient-to-t from-black/20 to-transparent"}),e.jsxs("div",{className:"relative max-w-7xl mx-auto px-4 text-center",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white/90 text-sm font-medium mb-6 animate-fade-in",children:[e.jsx(f,{className:"w-4 h-4 text-yellow-400"}),"Legacy of Excellence"]}),e.jsxs("h1",{className:"text-4xl md:text-6xl lg:text-7xl font-extrabold text-white tracking-tight mb-6 uppercase",children:["Our ",e.jsx("span",{className:"text-[#A79ACD]",children:"Esteemed"})," Alumni"]}),e.jsx("p",{className:"max-w-2xl mx-auto text-lg md:text-xl text-white/70 leading-relaxed italic",children:'"Celebrating the remarkable journeys of our former students who continue to shape the world with leadership and integrity."'})]})]}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 -mt-20 md:-mt-32 relative z-10",children:e.jsxs("div",{className:"bg-white rounded-3xl shadow-2xl border border-slate-100 overflow-hidden relative flex flex-col md:flex-row min-h-[500px]",children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-gradient-to-bl from-[#373081]/5 to-transparent rounded-full -mr-32 -mt-32 blur-3xl pointer-events-none"}),r?e.jsx("div",{className:"w-full flex items-center justify-center p-20",children:e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[e.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-[#373081]"}),e.jsx("p",{className:"text-[#373081] font-medium animate-pulse",children:"Loading Spotlight..."})]})}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-full md:w-1/3 lg:w-2/5 xl:w-[45%] relative aspect-[4/5] md:aspect-square bg-slate-50 flex items-center justify-center overflow-hidden",children:e.jsx(p,{src:l.image||"/uploads/placeholder.png",alt:l.name,className:"w-full h-full object-contain object-center"})}),e.jsx("div",{className:"w-full md:w-2/3 lg:w-3/5 xl:w-[55%] p-8 md:px-12 md:py-16 flex flex-col justify-center relative z-10",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("span",{className:"text-sm font-bold text-[#373081]/60 uppercase tracking-[0.2em] block",children:"Inspirational Achiever"}),e.jsx("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-black text-[#373081] uppercase leading-tight",children:l.name}),e.jsx("div",{className:"h-1.5 w-24 bg-gradient-to-r from-[#373081] to-[#A79ACD] rounded-full mb-6"}),e.jsx("div",{className:"space-y-2",children:l.designation.split(",").map((s,t)=>e.jsx("p",{className:`text-xl md:text-2xl font-bold tracking-tight ${t===0?"text-slate-600 font-semibold":"text-[#373081]"}`,children:s.trim()},t))}),e.jsxs("div",{className:"pt-8 flex flex-wrap gap-6 border-t border-slate-100 mt-8",children:[e.jsxs("div",{className:"flex items-center gap-3 text-slate-500 text-sm font-medium",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-[#373081]/5 flex items-center justify-center text-[#373081]",children:e.jsx(j,{className:"w-5 h-5"})}),e.jsx("span",{children:"JKShah Alumnus"})]}),e.jsxs("div",{className:"flex items-center gap-3 text-slate-500 text-sm font-medium",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-[#373081]/5 flex items-center justify-center text-[#373081]",children:e.jsx(b,{className:"w-5 h-5"})}),e.jsx("span",{children:"Inspiration to Thousands"})]})]})]})})]})]})}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 mt-24 text-center",children:e.jsx("div",{className:"inline-block px-8 py-4 bg-[#373081]/5 rounded-2xl border border-[#373081]/10",children:e.jsx("p",{className:"text-[#373081] font-bold text-xl md:text-2xl uppercase tracking-widest",children:"A Community of Global Leaders"})})}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 mt-12 md:mt-16",children:r?e.jsx("div",{className:"flex justify-center items-center py-20",children:e.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-[#373081]"})}):e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-x-8 gap-y-16",children:d.filter(s=>s._id!==(a==null?void 0:a._id)).map((s,t)=>e.jsxs("div",{className:"flex flex-col items-center text-center group",children:[e.jsxs("div",{className:"relative mb-6",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-[#373081] to-[#A79ACD] rounded-full blur-lg opacity-0 group-hover:opacity-40 transition-opacity duration-300"}),e.jsx("div",{className:"relative w-28 h-28 md:w-32 md:h-32 rounded-full border-[6px] border-white ring-2 ring-[#A79ACD]/20 overflow-hidden shadow-xl transition-all duration-500 group-hover:scale-110 group-hover:ring-[#373081]/30 group-hover:-translate-y-2",children:e.jsx(p,{src:s.image||"/uploads/placeholder.png",alt:s.name,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"})})]}),e.jsxs("div",{className:"space-y-2 transition-all duration-300 group-hover:translate-y-[-4px]",children:[e.jsx("h3",{className:"text-[12px] md:text-[14px] font-black text-[#373081] uppercase leading-tight tracking-wide px-2 min-h-[2.5rem] flex items-center justify-center",children:s.name}),e.jsx("div",{className:"h-0.5 w-8 bg-[#A79ACD]/30 mx-auto transition-all duration-300 group-hover:w-16 group-hover:bg-[#373081]/40"}),e.jsx("p",{className:"text-[10px] md:text-[12px] text-slate-500 font-bold leading-tight max-w-[140px] mx-auto px-1 uppercase tracking-tighter italic",children:s.designation})]})]},s._id||t))})})]})}export{y as AlumniPage};

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.