1import{K as f,r as h,j as e,$ as l}from"./app-B835LByG.js";import{F as d,a as m,T as b}from"./index-DDeWC3bn.js";const o=[{href:"/",label:"Home"},{href:"/about",label:"About"},{href:"/education",label:"Education"},{href:"/research",label:"Research"},{href:"/community",label:"Community Service"},{href:"/experience",label:"Experience"},{href:"/committee",label:"Committee"},{href:"/activity",label:"Activity"},{href:"/gallery",label:"Gallery"}];function j({children:i}){const{url:n}=f(),[a,r]=h.useState(!1),c=()=>{r(!a)},s=()=>{r(!1)},x=t=>e.jsx(l,{href:t.href,className:`font-body relative text-lg font-medium text-gray-800 transition-all hover:text-blue-500 ${n===t.href?"text-blue-600 after:w-full":"after:w-0"} after:absolute after:bottom-[-3px] after:left-0 after:h-[2px] after:bg-blue-500 after:transition-all after:duration-300 hover:after:w-full`,children:t.label},t.href);return e.jsxs("div",{className:"flex min-h-screen flex-col",children:[e.jsxs("header",{className:"flex items-center justify-between bg-white px-4 py-4 shadow-md md:px-12 xl:px-20",children:[e.jsx(l,{href:"/",children:e.jsx("h1",{className:"font-body text-2xl font-bold text-gray-900",children:"Sri Adnyani"})}),e.jsx("button",{className:"text-2xl xl:hidden",onClick:c,children:a?e.jsx(d,{}):e.jsx(m,{})}),e.jsx("nav",{className:"hidden gap-8 xl:flex",children:o.map(x)})]}),a&&e.jsx("div",{className:"fixed inset-0 z-50 flex bg-black bg-opacity-50",onClick:s,children:e.jsx("div",{className:"relative w-64 bg-white p-2 shadow-md transition-transform duration-300 ease-in-out",onClick:t=>t.stopPropagation(),children:e.jsx("nav",{className:"mt-6 flex flex-col space-y-4",children:o.map(t=>e.jsx(l,{href:t.href,className:"block w-full rounded-md px-4 py-2 text-lg font-semibold text-gray-800 transition-all hover:bg-blue-500 hover:text-white",onClick:s,children:t.label},t.href))})})}),e.jsxs("main",{className:"flex-grow p-4 md:px-12 xl:px-20",children:[i," ",e.jsx(b,{})]}),e.jsx("footer",{className:"bg-black p-2 text-center",children:e.jsx("h1",{className:"text-sm font-medium text-gray-300",children:"Powered by passion & coffee â | © 2025"})})]})}export{j as G};
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.