import{$ as e,C as t,D as n,E as r,I as i,O as a,R as o,S as s,U as c,X as l,b as u,i as d,o as f,v as p,w as m,x as h}from"./app-CY2j0yOT.js";import{t as g}from"./ThemeToggle-CiACg6zD.js";import{t as _}from"./ConvoroLogo-D0EKRNvm.js";import{n as v,t as y}from"./AuthModal-OGIEUlwe.js";var b={class:`min-h-screen bg-appbg text-ink`},x={class:`sticky top-0 z-40 border-b border-line bg-surface/85 backdrop-blur`},S={class:`mx-auto flex h-16 max-w-6xl items-center gap-6 px-6`},C={class:`ml-2 hidden items-center gap-1 md:flex`},w={class:`ml-auto flex items-center gap-2.5`},T={class:`border-t border-line py-10`},E={class:`mx-auto max-w-6xl px-6`},D={class:`flex flex-wrap items-center gap-x-6 gap-y-3 text-sm text-ink-muted`},O={class:`mt-6 flex flex-wrap items-center gap-3 border-t border-line pt-6 text-xs text-ink-muted`},k=`https://community.convoro.co`,A=a({__name:`MarketingLayout`,setup(a){let A=f(),j=u(()=>A.props.auth?.user??null),M=u(()=>A.props.appVersion??null),N=v();return(a,u)=>(i(),m(`div`,b,[h(`header`,x,[h(`div`,S,[n(l(d),{href:`/`,class:`flex items-center`},{default:c(()=>[n(_,{size:32})]),_:1}),h(`nav`,C,[n(l(d),{href:`/`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:c(()=>[...u[2]||=[r(`Home`,-1)]]),_:1}),n(l(d),{href:`/extensions`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:c(()=>[...u[3]||=[r(`Extensions`,-1)]]),_:1}),n(l(d),{href:`/compare`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:c(()=>[...u[4]||=[r(`Compare`,-1)]]),_:1}),u[5]||=h(`a`,{href:`/docs`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},`Docs`,-1),h(`a`,{href:k,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},`Community`)]),h(`div`,w,[n(g),j.value?(i(),m(p,{key:0},[n(l(d),{href:`/account/licenses`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:c(()=>[...u[6]||=[r(`My licenses`,-1)]]),_:1}),h(`a`,{href:k,class:`rounded-lg bg-primary px-4 py-2 text-sm font-semibold text-white shadow-lg shadow-primary/25 hover:bg-primary-600`},`Go to community`)],64)):(i(),m(p,{key:1},[h(`button`,{type:`button`,onClick:u[0]||=e=>l(N).open(`login`),class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},`Log in`),h(`button`,{type:`button`,onClick:u[1]||=e=>l(N).open(`register`),class:`rounded-lg bg-primary px-4 py-2 text-sm font-semibold text-white shadow-lg shadow-primary/25 hover:bg-primary-600`},`Get started`)],64))])])]),h(`main`,null,[o(a.$slots,`default`)]),h(`footer`,T,[h(`div`,E,[h(`div`,D,[n(l(d),{href:`/`,class:`flex items-center`},{default:c(()=>[n(_,{size:24})]),_:1}),n(l(d),{href:`/extensions`,class:`font-semibold text-ink-2 hover:text-ink`},{default:c(()=>[...u[7]||=[r(`Extensions`,-1)]]),_:1}),n(l(d),{href:`/compare`,class:`font-semibold text-ink-2 hover:text-ink`},{default:c(()=>[...u[8]||=[r(`Compare`,-1)]]),_:1}),u[14]||=h(`a`,{href:`/docs`,class:`font-semibold text-ink-2 hover:text-ink`},`Docs`,-1),n(l(d),{href:`/changelog`,class:`font-semibold text-ink-2 hover:text-ink`},{default:c(()=>[...u[9]||=[r(`Changelog`,-1)]]),_:1}),n(l(d),{href:`/roadmap`,class:`font-semibold text-ink-2 hover:text-ink`},{default:c(()=>[...u[10]||=[r(`Roadmap`,-1)]]),_:1}),n(l(d),{href:`/about`,class:`font-semibold text-ink-2 hover:text-ink`},{default:c(()=>[...u[11]||=[r(`About`,-1)]]),_:1}),n(l(d),{href:`/security`,class:`font-semibold text-ink-2 hover:text-ink`},{default:c(()=>[...u[12]||=[r(`Security`,-1)]]),_:1}),h(`a`,{href:k,class:`font-semibold text-ink-2 hover:text-ink`},`Community`),n(l(d),{href:`/status`,class:`ml-auto inline-flex items-center gap-1.5 font-semibold text-ink-2 hover:text-ink`},{default:c(()=>[...u[13]||=[h(`span`,{class:`h-2 w-2 rounded-full bg-emerald-500`},null,-1),r(` Status `,-1)]]),_:1})]),h(`div`,O,[h(`span`,null,`© `+e(new Date().getFullYear())+` Convoro`,1),M.value?(i(),s(l(d),{key:0,href:`/changelog`,class:`rounded-full bg-surface-2 px-2 py-0.5 font-mono font-semibold text-ink-2 hover:text-ink`},{default:c(()=>[r(`v`+e(M.value),1)]),_:1})):t(``,!0)])])]),n(y)]))}});export{A as t};