PageSourceSearch

https://aurcc.ac.in/assets/Research-CaBKkf7k.js

js aurcc.ac.in collected 2026-10-02 20:04:49 UTC 5,708 bytes, 1 lines download raw bytes

1import{r as d,j as e}from"./index-C79-5lOV.js";import{O as o}from"./OfficePageTemplate-CnVgm_y0.js";import{O as l}from"./OfficeContentSection-DXyRFAO4.js";import{S as i}from"./StaffCard-01Uwo85A.js";/* empty css                             */const g=()=>{const[t,c]=d.useState(null),a=[{key:"description",label:"Description"},{key:"supervisors",label:"Supervisors"},{key:"staff",label:"Staff"}];return d.useEffect(()=>{fetch("/api/research-cell").then(r=>r.json()).then(c).catch(r=>console.error(r))},[]),t?e.jsx("section",{className:"pt-[100px] sm:pt-[100px] lg:pt-[50px]",children:e.jsx(o,{officeName:"RESEARCH CELL",heroSubtitle:"Fostering research and innovation across disciplines",sections:a,contactEmail:"[email protected]",children:e.jsxs("div",{className:"content space-y-16",children:[e.jsxs("section",{id:"description",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl lg:text-4xl font-bold text-[rgb(100,25,25)] uppercase mb-2",children:"About the Research Cell"}),e.jsx("div",{className:"flex justify-center",children:e.jsx("span",{className:"block w-24 h-1.5 rounded-full bg-[#f5c842]"})})]}),e.jsx("div",{className:"bg-white rounded-2xl shadow-sm border border-[rgb(220,140,140)] p-6 lg:p-8",children:e.jsx("ul",{className:"list-disc pl-5 space-y-4 text-base lg:text-lg xl:text-lg text-gray-800 leading-relaxed",children:(Array.isArray(t==null?void 0:t.description)?t.description:[]).map((r,s)=>e.jsx("li",{className:"whitespace-pre-wrap break-words",children:r},s))})})]}),e.jsx(l,{sectionId:"supervisors",title:"Scholars Details by Department",children:e.jsx("div",{className:"no-scrollbar shadow-lg rounded-xl border-r border-gray-200",children:e.jsxs("table",{className:"w-full text-left text-sm lg:text-base",children:[e.jsx("thead",{className:"bg-[rgb(100,25,25)] text-white uppercase tracking-wider sticky top-0",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-4 font-bold border-r border-[rgb(105,30,30)]",children:"Department"}),e.jsx("th",{className:"px-3 py-4 font-bold text-center border-r border-[rgb(105,30,30)]",children:"Completed (FT)"}),e.jsx("th",{className:"px-3 py-4 font-bold text-center border-r border-[rgb(105,30,30)]",children:"Completed (PT)"}),e.jsx("th",{className:"px-3 py-4 font-bold text-center border-r border-[rgb(105,30,30)]",children:"Registered (FT)"}),e.jsx("th",{className:"px-3 py-4 font-bold text-center border-r border-[rgb(105,30,30)]",children:"Registered (PT)"}),e.jsx("th",{className:"px-3 py-4 font-bold text-center border-r border-[rgb(105,30,30)]",children:"Comp. Total"}),e.jsx("th",{className:"px-3 py-4 font-bold text-center border-r border-[rgb(105,30,30)]",children:"Reg. Total"}),e.jsx("th",{className:"px-3 py-4 font-bold text-center bg-[rgb(110,35,35)]",children:"Overall"})]})}),e.jsx("tbody",{className:"bg-white divide-y divide-gray-200",children:(Array.isArray(t==null?void 0:t.supervisors)?t.supervisors:[]).map((r,s)=>e.jsxs("tr",{className:"hover:bg-[rgb(220,140,140)]/30 transition-colors",children:[e.jsx("td",{className:"px-4 py-4 font-bold text-[rgb(100,25,25)] border-r border-gray-100",children:r.department}),e.jsx("td",{className:"px-3 py-4 text-center border-r border-gray-100 font-medium",children:r.phdCompletedFullTime}),e.jsx("td",{className:"px-3 py-4 text-center border-r border-gray-100 font-medium",children:r.phdCompletedPartTime}),e.jsx("td",{className:"px-3 py-4 text-center border-r border-gray-100 font-medium",children:r.phdRegisteredFullTime}),e.jsx("td",{className:"px-3 py-4 text-center border-r border-gray-100 font-medium",children:r.phdRegisteredPartTime}),e.jsx("td",{className:"px-3 py-4 text-center border-r border-[rgb(220,140,140)] font-bold text-green-700 bg-green-50/20",children:r.completedFTPT}),e.jsx("td",{className:"px-3 py-4 text-center border-r border-[rgb(220,140,140)] font-bold text-[rgb(110,35,35)] bg-[rgb(220,140,140)]/20",children:r.registeredFTPT}),e.jsx("td",{className:"px-3 py-4 text-center font-extrabold text-[rgb(100,25,25)] bg-[rgb(220,140,140)]/50",children:r.completedFTPT+r.registeredFTPT})]},s))}),e.jsx("tfoot",{className:"bg-gray-100 font-bold",children:e.jsxs("tr",{children:[e.jsx("td",{className:"px-4 py-4 border-t-2 border-gray-300",children:"TOTAL"}),e.jsx("td",{className:"px-3 py-4 text-center border-t-2 border-gray-300",children:t.supervisors.reduce((r,s)=>
1r+s.phdCompletedFullTime,0)}),e.jsx("td",{className:"px-3 py-4 text-center border-t-2 border-gray-300",children:t.supervisors.reduce((r,s)=>r+s.phdCompletedPartTime,0)}),e.jsx("td",{className:"px-3 py-4 text-center border-t-2 border-gray-300",children:t.supervisors.reduce((r,s)=>r+s.phdRegisteredFullTime,0)}),e.jsx("td",{className:"px-3 py-4 text-center border-t-2 border-gray-300",children:t.supervisors.reduce((r,s)=>r+s.phdRegisteredPartTime,0)}),e.jsx("td",{className:"px-3 py-4 text-center border-t-2 border-gray-300 text-green-800",children:t.supervisors.reduce((r,s)=>r+s.completedFTPT,0)}),e.jsx("td",{className:"px-3 py-4 text-center border-t-2 border-gray-300 text-[rgb(105,30,30)]",children:t.supervisors.reduce((r,s)=>r+s.registeredFTPT,0)}),e.jsx("td",{className:"px-3 py-4 text-center border-t-2 border-gray-300 bg-[rgb(200,120,120)] text-[rgb(100,25,25)]",children:t.supervisors.reduce((r,s)=>r+(s.completedFTPT+s.registeredFTPT),0)})]})})]})})}),e.jsx(l,{sectionId:"staff",title:"Staff",children:e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:(Array.isArray(t==null?void 0:t.staff_members)?t.staff_members:[]).map((r,s)=>e.jsx(i,{staff:{...r,image:r.image}},s))})})]})})}):e.jsx("p",{className:"text-center mt-20",children:"Loading..."})};export{g 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.