1import{j as e}from"./index-Dvx9zsfL.js";import{S as t}from"./SEO-DG1avLP7.js";import{c as r,b as a}from"./react-vendor-CQ0uZISR.js";/* empty css */import"./pdf-vendor-DTW1PzPK.js";const i=[{id:"iit-delhi",name:"Indian Institute of Technology Delhi",location:"New Delhi",state:"Delhi",type:"Government",courses:["B.Tech","M.Tech","PhD"],rating:4.8,established:1961,accreditation:["NAAC A++","NBA","NIRF Rank 2"]},{id:"aiims-delhi",name:"All India Institute of Medical Sciences",location:"New Delhi",state:"Delhi",type:"Government",courses:["MBBS","MD","MS","PhD"],rating:4.9,established:1956,accreditation:["NAAC A++","NIRF Rank 1 (Medical)"]},{id:"du",name:"Delhi University",location:"New Delhi",state:"Delhi",type:"Government",courses:["BA","BSc","BCom","MA","MSc"],rating:4.5,established:1922,accreditation:["NAAC A+","NIRF Rank 11"]},{id:"bits-pilani",name:"BITS Pilani",location:"Pilani",state:"Rajasthan",type:"Private",courses:["B.E","M.E","MBA","PhD"],rating:4.7,established:1964,accreditation:["NAAC A","NBA","NIRF Rank 25"]},{id:"iim-ahmedabad",name:"Indian Institute of Management Ahmedabad",location:"Ahmedabad",state:"Gujarat",type:"Government",courses:["MBA","PGDM","PhD"],rating:4.9,established:1961,accreditation:["NIRF Rank 1 (Management)"]},{id:"nlu-delhi",name:"National Law University Delhi",location:"New Delhi",state:"Delhi",type:"Government",courses:["BA LLB","LLM","PhD"],rating:4.6,established:2008,accreditation:["NAAC A","NIRF Rank 3 (Law)"]},{id:"manipal",name:"Manipal Academy of Higher Education",location:"Manipal",state:"Karnataka",type:"Private",courses:["MBBS","B.Tech","BDS","MBA"],rating:4.4,established:1953,accreditation:["NAAC A++","NIRF Rank 16"]},{id:"srm",name:"SRM Institute of Science and Technology",location:"Chennai",state:"Tamil Nadu",type:"Private",courses:["B.Tech","M.Tech","MBA","MBBS"],rating:4.3,established:1985,accreditation:["NAAC A++","NBA"]}],n=["All States","Delhi","Karnataka","Tamil Nadu","Maharashtra","Gujarat","Rajasthan","Uttar Pradesh","West Bengal"],o=["All Courses","Engineering","Medical","Management","Law","Arts & Science"],s=()=>{const s=r(),[l,d]=a.useState([]),[c,p]=a.useState(!0),[x,h]=a.useState(""),[g,m]=a.useState("All States"),[u,y]=a.useState("All Courses"),[b,f]=a.useState("All");a.useEffect(()=>{var e,t,r;e=null,t=null,r=function*(){try{const e=yield fetch("/api/colleges"),t=yield e.json();t.success&&t.data.length>0?d(t.data):d(i)}catch(e){console.error("Failed to fetch colleges:",e),d(i)}finally{p(!1)}},new Promise((a,i)=>{var n=e=>{try{s(r.next(e))}catch(t){i(t)}},o=e=>{try{s(r.throw(e))}catch(t){i(t)}},s=e=>e.done?a(e.value):Promise.resolve(e.value).then(n,o);s((r=r.apply(e,t)).next())})},[]);const j=l.filter(e=>{const t=e.name.toLowerCase().includes(x.toLowerCase())||e.location.toLowerCase().includes(x.toLowerCase()),r="All States"===g||e.state===g,a="All"===b||e.type===b,i="All Courses"===u||e.courses.some(e=>e.toLowerCase().includes(u.toLowerCase()));return t&&r&&a&&i});return e.jsxs("div",{className:"career-guidance-page",children:[e.jsx(t,{title:"Colleges Directory & University Finder | WS Corporations",description:"Browse partner institutions, colleges, and top universities offering professional degree programs and technical placements.",keywords:"colleges list, find university, partner colleges, technical institutions directory",url:"https://www.websitescorp.com/career-guidance/colleges"}),e.jsxs("div",{className:"career-hero",style:{background:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",padding:"80px 20px",textAlign:"center",color:"white"},children:[e.jsx("h1",{style:{fontSize:"3rem",marginBottom:"20px",fontWeight:"700"},children:"Colleges & Universities Directory"}),e.jsx("p",{style:{fontSize:"1.3rem",maxWidth:"800px",margin:"0 auto",opacity:.95},children:"Find the best colleges and universities across India. Search by state, course, and type."})]}),e.jsxs("div",{style:{maxWidth:"1200px",margin:"40px auto",padding:"0 20px"},children:[e.jsxs("div",{style:{background:"white",borderRadius:"16px",padding:"30px",boxShadow:"0 4px 20px rgba(0,0,0,0.08)",marginBottom:"40px"},children:[e.jsx("h2",{style:{marginBottom:"25px",color:"#1a202c"},children:"Search & Filter Colleges"}),c?e.jsx("div",{style:{textAlign:"center",padding:"40px"},children:"Loading Colleges Directory..."}):e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{marginBottom:"20px"},children:e.jsx("input",{type:"text",placeholder:"Search by college name or location...",value:x,onChange:e=>h(e.target.value),style:{width:"100%",padding:"15px 20px",fontSize:"1rem",border:"2px s
1olid #e2e8f0",borderRadius:"12px",outline:"none",transition:"all 0.3s"},onFocus:e=>e.target.style.borderColor="#667eea",onBlur:e=>e.target.style.borderColor="#e2e8f0"})}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:"15px"},children:[e.jsxs("div",{children:[e.jsx("label",{style:{display:"block",marginBottom:"8px",fontWeight:"600",color:"#4a5568"},children:"State"}),e.jsx("select",{value:g,onChange:e=>m(e.target.value),style:{width:"100%",padding:"12px",border:"2px solid #e2e8f0",borderRadius:"10px",fontSize:"1rem",cursor:"pointer"},children:n.map(t=>e.jsx("option",{value:t,children:t},t))})]}),e.jsxs("div",{children:[e.jsx("label",{style:{display:"block",marginBottom:"8px",fontWeight:"600",color:"#4a5568"},children:"Course Type"}),e.jsx("select",{value:u,onChange:e=>y(e.target.value),style:{width:"100%",padding:"12px",border:"2px solid #e2e8f0",borderRadius:"10px",fontSize:"1rem",cursor:"pointer"},children:o.map(t=>e.jsx("option",{value:t,children:t},t))})]}),e.jsxs("div",{children:[e.jsx("label",{style:{display:"block",marginBottom:"8px",fontWeight:"600",color:"#4a5568"},children:"College Type"}),e.jsxs("select",{value:b,onChange:e=>f(e.target.value),style:{width:"100%",padding:"12px",border:"2px solid #e2e8f0",borderRadius:"10px",fontSize:"1rem",cursor:"pointer"},children:[e.jsx("option",{value:"All",children:"All Types"}),e.jsx("option",{value:"Government",children:"Government"}),e.jsx("option",{value:"Private",children:"Private"})]})]})]}),e.jsxs("div",{style:{marginTop:"20px",color:"#718096",fontSize:"0.95rem"},children:["Showing ",e.jsx("strong",{children:j.length})," college(s)"]})]})]}),e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(350px, 1fr))",gap:"25px",marginBottom:"60px"},children:j.map(t=>e.jsxs("div",{style:{background:"white",borderRadius:"16px",padding:"25px",boxShadow:"0 4px 15px rgba(0,0,0,0.08)",transition:"all 0.3s",cursor:"pointer",border:"2px solid transparent"},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-5px)",e.currentTarget.style.boxShadow="0 8px 30px rgba(102, 126, 234, 0.25)",e.currentTarget.style.borderColor="#667eea"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 4px 15px rgba(0,0,0,0.08)",e.currentTarget.style.borderColor="transparent"},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"start",marginBottom:"15px"},children:[e.jsx("h3",{style:{color:"#1a202c",fontSize:"1.3rem",flex:1},children:t.name}),e.jsx("span",{style:{background:"Government"===t.type?"#48bb78":"#ed8936",color:"white",padding:"4px 12px",borderRadius:"20px",fontSize:"0.8rem",fontWeight:"600",marginLeft:"10px"},children:t.type})]}),e.jsxs("div",{style:{marginBottom:"15px"},children:[e.jsxs("div",{style:{color:"#718096",marginBottom:"8px",display:"flex",alignItems:"center",gap:"8px"},children:[e.jsx("span",{}),e.jsxs("span",{children:[t.location,", ",t.state]})]}),e.jsxs("div",{style:{color:"#718096",marginBottom:"8px",display:"flex",alignItems:"center",gap:"8px"},children:[e.jsx("span",{}),e.jsxs("span",{children:[t.rating,"/5.0 Rating"]})]}),e.jsxs("div",{style:{color:"#718096",marginBottom:"8px",display:"flex",alignItems:"center",gap:"8px"},children:[e.jsx("span",{}),e.jsxs("span",{children:["Established ",t.established]})]})]}),e.jsxs("div",{style:{marginBottom:"15px"},children:[e.jsx("div",{style:{fontWeight:"600",color:"#4a5568",marginBottom:"8px"},children:"Courses Offered:"}),e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:"8px"},children:t.courses.map(t=>e.jsx("span",{style:{background:"#edf2f7",color:"#2d3748",padding:"4px 10px",borderRadius:"8px",fontSize:"0.85rem"},children:t},t))})]}),e.jsxs("div",{style:{marginBottom:"15px"},children:[e.jsx("div",{style:{fontWeight:"600",color:"#4a5568",marginBottom:"8px"},children:"Accreditation:"}),e.jsx("div",{style:{fontSize:"0.9rem",color:"#718096"},children:t.accreditation.join(" ⢠")})]}),e.jsx("button",{onClick:()=>s("/contact"),style:{width:"100%",padding:"12px",background:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",color:"white",border:"none",borderRadius:"10px",fontSize:"1rem",fontWeight:"600",cursor:"pointer",transition:"all 0.3s"},onMouseEnter:e=>{e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.boxShadow="0 4px 15px rgba(102, 126, 234, 0.4)"},onMouseLeave:e=>{e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="none"},children:"Get Admission Guidance â"})]},t.id))}),0===j.length&&e.jsxs("div",{style:{textAlign:"center",padding:"60px 20px",background:"white",borderRadius:"16px",boxShadow:"0 4px 15px rgba(0,0,0,0.08)"},children:[e.jsx("div",{style:{fontSize:"4rem",marginBottom:"20px"}}),e.jsx("h3",{style:{color:"#1a202c",marginBottom:"10px"},children:"No Colleges Found"}),e.jsx("p",{style:{color:"#718096"}
1,children:"Try adjusting your search filters"})]}),e.jsxs("div",{style:{background:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",borderRadius:"20px",padding:"50px 30px",textAlign:"center",color:"white",marginTop:"60px"},children:[e.jsx("h2",{style:{fontSize:"2rem",marginBottom:"15px"},children:"Need Help Choosing the Right College?"}),e.jsx("p",{style:{fontSize:"1.1rem",marginBottom:"30px",opacity:.95},children:"Our expert counselors can guide you through the admission process"}),e.jsx("button",{onClick:()=>s("/contact"),style:{padding:"15px 40px",background:"white",color:"#667eea",border:"none",borderRadius:"12px",fontSize:"1.1rem",fontWeight:"700",cursor:"pointer",transition:"all 0.3s"},onMouseEnter:e=>{e.currentTarget.style.transform="scale(1.05)",e.currentTarget.style.boxShadow="0 8px 25px rgba(0,0,0,0.2)"},onMouseLeave:e=>{e.currentTarget.style.transform="scale(1)",e.currentTarget.style.boxShadow="none"},children:"Book Free Counselling Session"})]})]})]})};export{s as default}; 2//# sourceMappingURL=CollegesDirectory-C24WG2Y4.js.map
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.