import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{i as t,r as n}from"./framework-D_rUT4EX.js";import{t as r}from"./createLucideIcon-CLApvFWr.js";import{t as i}from"./x-DWhg4rR2.js";import a from"./link-CnQ_Pgum.js";var o=r(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),s=e(t(),1),c=n(),l=[[`/about`,`درباره ما`],[`/features`,`امکانات`],[`/customers`,`مشتریان`],[`/news`,`اخبار`],[`/knowledge`,`پایگاه دانش`]];function u(){let[e,t]=(0,s.useState)(!1);return(0,c.jsxs)(`header`,{className:`site-header`,children:[(0,c.jsxs)(`nav`,{className:`site-nav`,"aria-label":`منوی اصلی`,children:[(0,c.jsxs)(a,{href:`/`,className:`brand`,children:[(0,c.jsx)(`img`,{src:`/gapido-logo.png`,alt:`نشان گپیدو`}),`گپیدو`]}),(0,c.jsx)(`div`,{className:`nav-links`,children:l.map(([e,t])=>(0,c.jsx)(a,{href:e,children:t},e))}),(0,c.jsx)(a,{href:`/demo`,className:`button button-dark desktop-cta`,children:`درخواست دمو`}),(0,c.jsx)(`button`,{className:`menu-button`,onClick:()=>t(!e),"aria-label":`نمایش منو`,"aria-expanded":e,children:e?(0,c.jsx)(i,{}):(0,c.jsx)(o,{})})]}),e&&(0,c.jsxs)(`div`,{className:`mobile-menu`,children:[l.map(([e,n])=>(0,c.jsx)(a,{onClick:()=>t(!1),href:e,children:n},e)),(0,c.jsx)(a,{onClick:()=>t(!1),href:`/demo`,className:`button button-primary`,children:`درخواست دمو`})]})]})}export{u as SiteHeader};