import{j as e,H as p}from"./app-2gKhTNh_.js";import{L as g}from"./LandingLayout-7uh-oYye.js";import{F as o,aB as y,v as u}from"./index-DQiLWVLj.js";import{m as t}from"./proxy-N6hiut4S.js";import"./index-Kp1IKsWc.js";import"./index-C1sFUKMq.js";const f=u,j=()=>f;function F({campus:r,content:a}){const i=r?.theme||{gradientFrom:"from-gray-700",gradientTo:"to-gray-900",primary:"bg-gray-600"},s=a?.title||"Sistem Perkuliahan",c=a?.description||"Informasi belum tersedia.",l=a?.features||[],d={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.2}}},x={hidden:{opacity:0,y:30,scale:.95},visible:{opacity:1,y:0,scale:1,transition:{duration:.5,ease:"easeOut"}}},m={backgroundImage:"radial-gradient(circle at 1px 1px, #e2e8f0 0.5px, transparent 0)",backgroundSize:"20px 20px"};return e.jsxs(g,{campus:r,title:s,children:[e.jsx(p,{title:s}),e.jsxs("header",{className:`relative py-24 sm:py-32 bg-gradient-to-r ${i.gradientFrom} ${i.gradientTo} overflow-hidden`,children:[e.jsx("div",{className:"absolute inset-0 opacity-10 mix-blend-overlay",children:e.jsxs("svg",{className:"absolute right-0 bottom-0 transform translate-x-1/2 translate-y-1/2 lg:translate-x-1/3",width:"800",height:"800",fill:"none",viewBox:"0 0 800 800",children:[e.jsx("circle",{cx:"400",cy:"400",r:"400",stroke:"white",strokeWidth:"0.5"}),e.jsx("circle",{cx:"400",cy:"400",r:"300",stroke:"white",strokeWidth:"0.5",strokeDasharray:"2 4"})]})}),e.jsxs("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[e.jsx(t.h1,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-4xl sm:text-6xl font-extrabold text-white tracking-tight drop-shadow-lg",children:s}),e.jsx(t.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:"mt-4 text-xl text-gray-200 max-w-3xl mx-auto drop-shadow-md",children:c})]})]}),e.jsx("div",{className:"relative py-16 sm:py-24",style:m,children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:l.length>0?e.jsx(t.div,{variants:d,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.1},className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:l.map((n,h)=>e.jsxs(t.div,{variants:x,className:"group bg-white rounded-xl shadow-lg flex flex-col items-center text-center p-8 transition-all duration-300 hover:shadow-2xl hover:-translate-y-2",children:[e.jsx(t.div,{className:`flex-shrink-0 w-20 h-20 rounded-full ${i.primary} text-white flex items-center justify-center shadow-lg transition-all duration-300 group-hover:scale-110`,whileHover:{rotate:15},children:e.jsx(o,{icon:j(),className:"text-3xl"})}),e.jsx("h3",{className:"mt-6 text-xl font-bold text-gray-800",children:n.name}),e.jsx("p",{className:"mt-2 text-gray-600 text-sm leading-relaxed flex-grow",children:n.description})]},h))}):e.jsxs(t.div,{initial:{opacity:0},animate:{opacity:1},className:"flex flex-col items-center justify-center text-center p-12 bg-white rounded-lg shadow-lg text-gray-500",children:[e.jsx(o,{icon:y,className:"text-5xl mb-4"}),e.jsx("h2",{className:"text-2xl font-semibold text-gray-700",children:"Informasi Belum Tersedia"}),e.jsx("p",{className:"mt-2",children:"Detail sistem perkuliahan untuk kampus ini sedang dalam pembaruan."})]})})})]})}export{F as default};
