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