import{$ as e,C as t,D as n,E as r,I as i,L as a,O as o,S as s,U as c,X as l,i as u,r as d,v as f,w as p,x as m}from"./app-CWV4wngb.js";import{t as h}from"./i18n-BR4oMRez.js";import{t as g}from"./ConvoroLogo-DdDicErW.js";var _={class:`min-h-screen bg-appbg text-ink`},v={class:`border-b border-line bg-surface/80 backdrop-blur`},y={class:`mx-auto flex h-16 max-w-6xl items-center px-6`},b={class:`ml-auto flex items-center gap-3`},x={class:`mx-auto max-w-6xl px-6`},S={class:`py-20 text-center`},C={class:`inline-flex items-center gap-2 rounded-full border border-line bg-surface px-4 py-1.5 text-sm font-semibold text-primary-700`},w={class:`mx-auto mt-7 max-w-3xl text-5xl font-extrabold leading-tight tracking-tight`},T={class:`mx-auto mt-5 max-w-2xl text-lg text-ink-2`},E={class:`mt-9 flex items-center justify-center gap-3`},D={class:`grid grid-cols-1 gap-4 pb-24 sm:grid-cols-2 lg:grid-cols-3`},O={class:`text-2xl`},k={class:`mt-3 text-base font-bold`},A={class:`mt-1.5 text-sm text-ink-2`},j=o({__name:`Welcome`,props:{canLogin:{type:Boolean},canRegister:{type:Boolean}},setup(o){let j=[{icon:`💬`,title:h(`WYSIWYG composer`),desc:h(`A true rich editor powered by TipTap — no Markdown, ever.`)},{icon:`⚡`,title:h(`Live threads`),desc:h(`Realtime posts, presence and typing indicators out of the box.`)},{icon:`🎨`,title:h(`Live theme editor`),desc:h(`Redesign your community in the browser, in real time.`)},{icon:`🧩`,title:h(`Extension manager`),desc:h(`Browse a marketplace and install with one click.`)},{icon:`🖼️`,title:h(`Smart media`),desc:h(`Uploads auto-compress and convert to WebP.`)},{icon:`📱`,title:h(`PWA + push`),desc:h(`Installable app with web push notifications.`)}];return(M,N)=>(i(),p(f,null,[n(l(d),{title:l(h)(`Welcome`)},null,8,[`title`]),m(`div`,_,[m(`header`,v,[m(`div`,y,[n(g),m(`nav`,b,[o.canLogin?(i(),p(f,{key:0},[n(l(u),{href:`/login`,class:`rounded-lg px-4 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:c(()=>[r(e(l(h)(`Log in`)),1)]),_:1}),o.canRegister?(i(),s(l(u),{key:0,href:`/register`,class:`rounded-lg bg-primary px-4 py-2 text-sm font-semibold text-white shadow-lg shadow-primary/40 hover:bg-primary-600`},{default:c(()=>[r(e(l(h)(`Get started`)),1)]),_:1})):t(``,!0)],64)):t(``,!0)])])]),m(`main`,x,[m(`section`,S,[m(`span`,C,[N[0]||=m(`span`,{class:`h-2 w-2 rounded-full bg-primary`},null,-1),r(` `+e(l(h)(`Convoro 1.0 — in development`)),1)]),m(`h1`,w,e(l(h)(`The modern community platform your members will actually love.`)),1),m(`p`,T,e(l(h)(`The proven features of leading forum software — a polished, fast, fully-themeable forum with realtime threads, a true WYSIWYG editor and one-click extensions.`)),1),m(`div`,E,[n(l(u),{href:`/register`,class:`rounded-c bg-primary px-6 py-3 font-semibold text-white shadow-lg shadow-primary/40 hover:bg-primary-600`},{default:c(()=>[r(e(l(h)(`Start your community`)),1)]),_:1}),n(l(u),{href:`/login`,class:`rounded-c border border-line bg-surface px-6 py-3 font-semibold text-ink hover:bg-surface-2`},{default:c(()=>[r(e(l(h)(`Live demo`)),1)]),_:1})])]),m(`section`,D,[(i(),p(f,null,a(j,t=>m(`div`,{key:t.title,class:`rounded-c border border-line bg-surface p-6 shadow-sm transition hover:-translate-y-0.5 hover:shadow-md`},[m(`div`,O,e(t.icon),1),m(`h3`,k,e(t.title),1),m(`p`,A,e(t.desc),1)])),64))])]),N[1]||=m(`footer`,{class:`border-t border-line py-8 text-center text-sm text-ink-muted`},` Convoro — built independently. © 2026 `,-1)])],64))}});export{j as default};