PageSourceSearch

https://aurcc.ac.in/assets/COD-EgT8mx-I.js

js aurcc.ac.in collected 2026-10-02 20:05:40 UTC 2,966 bytes, 1 lines download raw bytes

1import{r as a,j as e}from"./index-C79-5lOV.js";const p=()=>{const[l,x]=a.useState([]),[n,r]=a.useState(!0),c="";if(a.useEffect(()=>{fetch("/api/cell-coordinators").then(t=>t.json()).then(t=>{console.log("COD API:",t),x(t.centres||[]),r(!1)}).catch(t=>{console.error(t),r(!1)})},[]),n)return e.jsx("p",{className:"text-center mt-20",children:"Loading..."});if(l.length===0)return e.jsx("p",{className:"text-center mt-20",children:"No coordinator details available"});const i=[...l.filter(t=>t.members.length>1),...l.filter(t=>t.members.length===1)];return e.jsxs("div",{className:"p-4 sm:p-6 md:p-9 bg-white min-h-screen pt-[120px] sm:pt-[140px] lg:pt-[180px]",children:[e.jsxs("div",{className:"text-center py-4 sm:py-5",children:[e.jsx("h1",{className:"text-xl sm:text-2xl lg:text-3xl xl:text-4xl font-bold text-[rgb(100,25,25)] tracking-wide font-serif",children:"CELL COORDINATORS"}),e.jsx("div",{className:"flex justify-center mt-2 mb-3 sm:mb-4",children:e.jsx("span",{className:"block w-24 sm:w-32 h-2 rounded-full bg-[#f5c842]"})})]}),e.jsx("div",{className:"container mx-auto font-sans flex flex-col gap-8 sm:gap-16 mb-20 px-4",children:i.map((t,o)=>e.jsxs("section",{className:"w-full flex flex-col items-center",children:[e.jsxs("div",{className:"flex flex-col items-center mb-10 w-full max-w-xl",children:[e.jsx("h2",{className:"text-xl sm:text-2xl lg:text-3xl font-bold text-[rgb(110,35,35)] uppercase tracking-[0.2em] text-center",children:t.centre}),e.jsx("div",{className:"w-24 h-1 bg-gradient-to-r from-transparent via-[rgb(110,35,35)] to-transparent mt-4 opacity-40"})]}),e.jsx("div",{className:"flex flex-wrap justify-center gap-4 sm:gap-10 w-full px-4",children:t.members.map((s,d)=>e.jsxs("div",{className:"cod-card bg-white rounded-2xl sm:rounded-3xl shadow-md border-2 border-[rgb(90,25,25)] overflow-hidden flex items-center p-2.5 xs:p-4 sm:p-8 gap-2.5 xs:gap-4 sm:gap-8 hover:shadow-2xl transition-all duration-500 group w-full max-w-2xl",children:[e.jsx("div",{className:"flex-shrink-0 w-16 h-16 xs:w-20 xs:h-20 sm:w-32 sm:h-32 rounded-xl sm:rounded-2xl overflow-hidden border-2 border-[rgb(110,35,35)] shadow-md bg-gray-50",children:e.jsx("img",{src:`${c}/public/${s.photo}`,alt:s.name,className:"w-full h-full object-cover object-top"})}),e.jsxs("div",{className:"flex flex-col justify-center flex-grow min-w-0 gap-1 sm:gap-2",children:[e.jsx("h4",{className:"text-[7.5px] min-[350px]:text-[9px] min-[390px]:text-[10px] min-[430px]:text-xs sm:text-lg font-bold text-[rgb(100,25,25)] uppercase leading-tight tracking-tight truncate",children:s.name}),s.position&&e.jsx("h5",{className:"text-[8px] min-[400px]:text-[9px] sm:text-xs font-semibold text-gray-700 uppercase leading-tight tracking-tight break-words",children:s.position}),s.coordinator&&e.jsx("p",{className:"text-[10px] sm:text-sm font-medium text-gray-500 uppercase leading-tight tracking-tight break-words",children:s.coordinator})]})]},d))})]},o))})]})};export{p 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.