PageSourceSearch

https://iitrpr.ac.in/assets/PhD-CeFYhkqg.js

js iitrpr.ac.in collected 2026-10-01 11:50:43 UTC 7,719 bytes, 16 lines download raw bytes

1import{r as i,o as u,D as N,j as e,A as l,p as y,q as v,s as w,L as p,h as A}from"./index-ZRYBhLqp.js";/* empty css                      */import{M as k}from"./index-DM_LUDYm.js";import{S as C}from"./SpinLoader-R5gtw5Zr.js";/* empty css            */const I=()=>{const[n,o]=i.useState("PhD"),f=i.useContext(u),{fetchActiveAdmissions:g,phdAdvt:r,loading:c}=f,{formattedDepartments:a,fetchDepartments:d}=i.useContext(N);i.useEffect(()=>{(!a||Object.keys(a).length===0)&&d()},[d]),i.useEffect(()=>{g()},[]);const j=[{srNo:1,programme:"Biomedical Engineering"},{srNo:2,programme:"Artificial Intelligence & Data Engineering"},{srNo:3,programme:"Computer Science & Engineering"},{srNo:4,programme:"Chemical Engineering"},{srNo:5,programme:"Mathematics"},{srNo:6,programme:"Physics"},{srNo:7,programme:"Chemistry"},{srNo:8,programme:"Civil Engineering"},{srNo:9,programme:"Electrical Engineering"},{srNo:10,programme:"Mechanical Engineering"},{srNo:11,programme:"Metallurgical & Materials Engineering"},{srNo:12,programme:"Humanities & Social Sciences"},{srNo:13,programme:"Center for Applied Research in Data Science"},{srNo:14,programme:"Center for Research for Energy Efficiency & Decarbonization"},{srNo:15,programme:"Centre of Excellence in Socio-Environmental Sustainability for River Sand Mining at IIT Ropar"},{srNo:16,programme:"Centre for Engineering Education"}];return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`.admission-box {
2  background: #ffffff;
3  border-radius: 8px;
4  padding: 25px;
5    border: 1px solid #e3e3e3;
6
7}
8
9.section-title {
10  font-size: 20px;
11  font-weight: 600;
12  padding-bottom: 6px;
13  border-bottom: 1px solid #ddd;
14    }
15
16}`}),e.jsxs("div",{className:"notification-container admissions-public-page",children:[e.jsxs("div",{className:"tab-navigation",children:[e.jsx("button",{className:`tab-button ${n==="PhD"?"active":""}`,onClick:()=>o("PhD"),children:"PhD Admissions"}),e.jsx("button",{className:`tab-button ${n==="phdInformation"?"active":""}`,onClick:()=>o("phdInformation"),children:"Important Information"})]}),n==="PhD"&&e.jsx(e.Fragment,{children:e.jsxs("div",{className:"meetings-section",children:[e.jsx("h2",{className:"faculty-section-heading",children:"PhD Admissions"}),c?e.jsx("div",{className:"flex justify-center py-5",children:e.jsx(C,{})}):Array.isArray(r)&&r.length>0?e.jsx("div",{className:"table-responsive",children:e.jsxs("table",{className:"meetings-table",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Advertisement"}),e.jsx("th",{children:"Academic Year"}),e.jsx("th",{children:"Department / Center"}),e.jsx("th",{style:{width:"10%"},children:"End Date"}),e.jsx("th",{children:"Apply Here"}),e.jsx("th",{children:"shortlisted"}),e.jsx("th",{children:"Selected"})]})}),e.jsx("tbody",{children:r.map(s=>{const m=s.files?.find(t=>t.type==="advertisement"),h=s.files?.find(t=>t.type==="shortlisted"),x=s.files?.find(t=>t.type==="selected"),b=a[s.department]?.name;return e.jsxs("tr",{children:[e.jsx("td",{children:m?e.jsxs("a",{href:`${l.base_url}${m.download_url}`,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 flex-wrap",children:[e.jsx("span",{children:s.title}),y(s.updated_at)&&e.jsx(k,{style:{color:"#e94646ff",flexShrink:0},className:"pulse-icon",size:22})]}):s.title}),e.jsx("td",{children:s?.academic_year||"2026-27"}),e.jsx("td",{children:b}),e.jsx("td",{children:v(s?.last_date).date}),e.jsx("td",{children:w(s?.last_date)?e.jsx("a",{href:s.application_link||"https://www.iitrpr.ac.in/studentportal/",className:"download-btn",target:"_blank",rel:"noopener noreferrer",children:"Apply"}):e.jsx("span",{className:"font-bold text-red-600 underline-offset-2 transition-colors cursor-not-allowed",children:"Closed"})}),e.jsx("td",{children:h?e.jsx("a",{href:`${l.base_url}${h.download_url}`,className:"download-btn",target:"_blank",rel:"noopener noreferrer",style:{background:"#bea053ff"},children:"Shortlisted"}):"-"}),e.jsx("td",{children:x?e.jsx("a",{href:`${l.base_url}${x.download_url}`,className:"download-btn",target:"_blank",rel:"noopener noreferrer",style:{background:"#aabf7eff"},children:"Selected"}):"-"})]},s.id)})})]})}):e.jsx("div",{className:"card p-5 text-center",style:{background:"rgba(0,0,0,0.02)",border:"1px dashed #ccc"},children:e.jsxs("div",{style:{opacity:.5},children:[e.jsxs("svg",{width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",className:"mb-3",children:[e.jsx("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),e.jsx("polyline",{points:"13 2 13 9 20 9"})]}),e.jsx("p",{style:{fontSize:"1.1rem",fontWeight:500},children:"No Active PhD Advertisements Found"}),e.jsx("p",{className:"text-muted small",children:"Please check back later for new updates."}),e.jsx("div",{className:"mt-4",children:e.jsx(p,{to:"/phd-archive",className:"button-default",children:"View Archived PhD Admissions"})})]})}),!c&&r&&r.length>0&&e.jsx("div",{className:"mt-24 pb-12 px-4 flex flex-col items-center",children:e.jsxs(p,{to:"/phd-archive",className:"group relative flex items-center justify-center h-16 w-100 bg-[#2d3e50] rounded-2xl overflow-hidden shadow-2xl shadow-[#2d3e50]/20 hover:scale-[1.02] active:scale-[0.98] transition-all duration-300",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-blue-900 to-blue-950 opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),e.jsxs("div",{className:"relative z-10 flex items-center gap-4 text-white",children:[e.jsx("span",{className:"text-xs font-black uppercase tracking-[0.3em]",children:"Previous Advertisements"}),e.jsx(A,{size:18,className:"group-hover:translate-x-1.5 transition-transform duration-300"})]})]})})]})}),n==="phdInformation"&&e.jsx(e.Fragment,{children:e.jsxs("div",{className:"container my-4",children:[e.jsx("h2",{className:"faculty-section-heading",children:"Important Information"}),e.jsxs("section",{className:"mb-4 rounded-3xl border border-slate-200 bg-white p-6 shadow-sm",children:[e.jsx("div",{className:"mb-5 rounded-2xl bg-[linear-gradient(135deg,rgba(11,81,142,0.08),rgba(240,165,0,0.10))] p-5",children:e.jsx("h5",{className:"text-xl font-bold text-[#0b518e]",children:"IIT Ropar offers Ph.D programmes in various Disciplines by different departments and Centres of the Institute:                  "})}),e.jsx("div",{className:"overflow-hidden rounded-2xl border border-slate-200",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full text-left text-sm",children:[e.jsx("thead",{className:"bg-slate-100 text-slate-700",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 font-semibold",children:"Sr. No."}),e.jsx("th",{className:"px-4 py-3 font-semibold",children:"Programme"})]})}),e.jsx("tbody",{className:"divide-y divide-slate-200 bg-white text-slate-700",children:j.map(s=>e.jsxs("tr",{children:[e.jsx("td",{className:"px-4 py-3",children:s.srNo}),e.jsx("td",{className:"px-4 py-3",children:s.programme})]},s.srNo))})]})})})]}),e.jsxs("section",{className:"admission-box my-5 p-4",children:[e.jsx("h4",{className:"section-title-left mb-3",children:"Contact Information"}),e.jsx("p",{children:e.jsx("strong",{children:"Available on working days (Monday to Frid
16ay): 9:00 AM to 5:30 PM"})}),e.jsxs("ul",{className:"program-imp list-with-bullets",children:[e.jsxs("li",{children:[e.jsx("b",{children:"Admission related queries:"})," 01881-231115, 01881-231114, 01881-231112"]}),e.jsxs("li",{children:[e.jsx("b",{children:"Hostel related queries:"})," 01881-231179, 01881-231177, 01881-231182"]}),e.jsxs("li",{children:[e.jsx("b",{children:"Email:"})," [email protected]"]})]})]})]})})]})]})};export{I 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.