import{C as e,D as t,E as n,F as r,H as i,L as a,Q as o,S as s,T as c,Y as l,_ as u,a as d,b as f,r as p,x as m,y as h}from"./app-CxTIf-h0.js";import{t as g}from"./ThemeToggle-DElf8Em2.js";import{t as _}from"./ConvoroLogo-DXIAn7lB.js";import{r as v,t as y}from"./AuthModal-Rvy26OfJ.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=t({__name:`MarketingLayout`,setup(t){let A=d(),j=h(()=>A.props.auth?.user??null),M=h(()=>A.props.appVersion??null),N=v();return(t,d)=>(r(),e(`div`,b,[f(`header`,x,[f(`div`,S,[n(l(p),{href:`/`,class:`flex items-center`},{default:i(()=>[n(_,{size:32})]),_:1}),f(`nav`,C,[n(l(p),{href:`/`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:i(()=>[...d[2]||=[c(`Home`,-1)]]),_:1}),n(l(p),{href:`/extensions`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:i(()=>[...d[3]||=[c(`Extensions`,-1)]]),_:1}),n(l(p),{href:`/compare`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:i(()=>[...d[4]||=[c(`Compare`,-1)]]),_:1}),d[5]||=f(`a`,{href:`/docs`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},`Docs`,-1),f(`a`,{href:k,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},`Community`)]),f(`div`,w,[n(g),j.value?(r(),e(u,{key:0},[n(l(p),{href:`/account/licenses`,class:`rounded-lg px-3 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:i(()=>[...d[6]||=[c(`My licenses`,-1)]]),_:1}),f(`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)):(r(),e(u,{key:1},[f(`button`,{type:`button`,onClick:d[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`),f(`button`,{type:`button`,onClick:d[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))])])]),f(`main`,null,[a(t.$slots,`default`)]),f(`footer`,T,[f(`div`,E,[f(`div`,D,[n(l(p),{href:`/`,class:`flex items-center`},{default:i(()=>[n(_,{size:24})]),_:1}),n(l(p),{href:`/extensions`,class:`font-semibold text-ink-2 hover:text-ink`},{default:i(()=>[...d[7]||=[c(`Extensions`,-1)]]),_:1}),n(l(p),{href:`/compare`,class:`font-semibold text-ink-2 hover:text-ink`},{default:i(()=>[...d[8]||=[c(`Compare`,-1)]]),_:1}),d[14]||=f(`a`,{href:`/docs`,class:`font-semibold text-ink-2 hover:text-ink`},`Docs`,-1),n(l(p),{href:`/changelog`,class:`font-semibold text-ink-2 hover:text-ink`},{default:i(()=>[...d[9]||=[c(`Changelog`,-1)]]),_:1}),n(l(p),{href:`/roadmap`,class:`font-semibold text-ink-2 hover:text-ink`},{default:i(()=>[...d[10]||=[c(`Roadmap`,-1)]]),_:1}),n(l(p),{href:`/about`,class:`font-semibold text-ink-2 hover:text-ink`},{default:i(()=>[...d[11]||=[c(`About`,-1)]]),_:1}),n(l(p),{href:`/security`,class:`font-semibold text-ink-2 hover:text-ink`},{default:i(()=>[...d[12]||=[c(`Security`,-1)]]),_:1}),f(`a`,{href:k,class:`font-semibold text-ink-2 hover:text-ink`},`Community`),n(l(p),{href:`/status`,class:`ml-auto inline-flex items-center gap-1.5 font-semibold text-ink-2 hover:text-ink`},{default:i(()=>[...d[13]||=[f(`span`,{class:`h-2 w-2 rounded-full bg-emerald-500`},null,-1),c(` Status `,-1)]]),_:1})]),f(`div`,O,[f(`span`,null,`© `+o(new Date().getFullYear())+` Convoro`,1),M.value?(r(),m(l(p),{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:i(()=>[c(`v`+o(M.value),1)]),_:1})):s(``,!0)])])]),n(y)]))}});export{A as t};