(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9181],{4582:(e,a,n)=>{Promise.resolve().then(n.bind(n,45)),Promise.resolve().then(n.t.bind(n,2619,23)),Promise.resolve().then(n.t.bind(n,1356,23)),Promise.resolve().then(n.bind(n,7678))},7678:(e,a,n)=>{"use strict";n.d(a,{Header:()=>p});var t=n(5155),r=n(2115),s=n(2619),l=n.n(s),i=n(5239),o=n(63),d=n(7212),m=n(4788),c=n(9155),h=n(2821),x=n(5889);function f(){for(var e=arguments.length,a=Array(e),n=0;n<e;n++)a[n]=arguments[n];return(0,x.QP)((0,h.$)(a))}let u=[{name:"Beranda",href:"/"},{name:"Produk",href:"/produk"},{name:"Modul",href:"/modul"},{name:"Demo",href:"/demo"},{name:"Customer & Partner",href:"/customer-partner"},{name:"Berita",href:"/berita"},{name:"Kontak",href:"/kontak"}];function p(){let[e,a]=(0,r.useState)(!1),[n,s]=(0,r.useState)(!1),h=(0,o.usePathname)();return(0,r.useEffect)(()=>{let e=()=>a(window.scrollY>10);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,r.useEffect)(()=>(document.body.style.overflow=n?"hidden":"",()=>{document.body.style.overflow=""}),[n]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:f("fixed top-0 inset-x-0 z-50 transition-all duration-300 ease-apple",e?"nav-blur bg-white/80 border-b border-navy-100":"nav-blur bg-white/60 border-b border-navy-100/50"),children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1280px] px-6 lg:px-8 flex h-14 items-center justify-between",children:[(0,t.jsxs)(l(),{href:"/",className:"flex items-center gap-2.5 group","aria-label":"EduraMind home",children:[(0,t.jsx)(i.default,{src:"/images/favicon.png",alt:"EduraMind",width:32,height:32,className:"w-8 h-8",priority:!0}),(0,t.jsxs)("div",{className:"flex flex-col leading-none",children:[(0,t.jsx)("span",{className:"text-[15px] font-semibold tracking-normal-tight text-navy-800",children:"EduraMind"}),(0,t.jsx)("span",{className:"text-[10px] font-medium tracking-wide text-navy-400 mt-0.5",children:"Smart ERP for Education"})]})]}),(0,t.jsx)("nav",{className:"hidden lg:flex items-center gap-7",children:u.map(e=>{let a=h===e.href;return(0,t.jsx)(l(),{href:e.href,className:f("text-[13px] font-medium transition-colors",a?"text-navy-800":"text-navy-500 hover:text-navy-800"),children:e.name},e.href)})}),(0,t.jsxs)(l(),{href:"/kontak",className:"hidden lg:inline-flex items-center gap-1.5 px-4 py-2 bg-navy-800 text-white rounded-full text-[12px] font-medium hover:bg-navy-700 transition-colors duration-200 ease-apple",children:["Jadwalkan Diskusi",(0,t.jsx)(d.A,{className:"w-3 h-3"})]}),(0,t.jsx)("button",{onClick:()=>s(!n),className:"lg:hidden p-2 -mr-2 text-navy-800","aria-label":"Toggle menu",children:n?(0,t.jsx)(m.A,{className:"w-5 h-5"}):(0,t.jsx)(c.A,{className:"w-5 h-5"})})]})}),n&&(0,t.jsx)("div",{className:"lg:hidden fixed inset-0 z-40 bg-white pt-14",children:(0,t.jsxs)("nav",{className:"mx-auto max-w-[1280px] px-6 py-8 flex flex-col gap-1",children:[u.map(e=>{let a=h===e.href;return(0,t.jsx)(l(),{href:e.href,onClick:()=>s(!1),className:f("block px-4 py-4 text-2xl font-semibold tracking-normal-tight border-b border-navy-100 transition-colors",a?"text-navy-800":"text-navy-500"),children:e.name},e.href)}),(0,t.jsxs)(l(),{href:"/kontak",onClick:()=>s(!1),className:"mt-8 inline-flex items-center justify-center gap-1.5 px-5 py-3 bg-navy-800 text-white rounded-full text-[14px] font-medium",children:["Jadwalkan Diskusi",(0,t.jsx)(d.A,{className:"w-4 h-4"})]})]})})]})}}},e=>{e.O(0,[2151,1356,2122,8441,1255,7358],()=>e(e.s=4582)),_N_E=e.O()}]);