import{C as e,D as t,E as n,F as r,H as i,I as a,Q as o,S as s,T as c,Y as l,_ as u,b as d,n as f,r as p,x as m}from"./app-vGYB2KPL.js";import{t as h}from"./i18n-7F7mITXO.js";import{t as g}from"./ConvoroLogo-dK4SudKO.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=t({__name:`Welcome`,props:{canLogin:{type:Boolean},canRegister:{type:Boolean}},setup(t){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)=>(r(),e(u,null,[n(l(f),{title:l(h)(`Welcome`)},null,8,[`title`]),d(`div`,_,[d(`header`,v,[d(`div`,y,[n(g),d(`nav`,b,[t.canLogin?(r(),e(u,{key:0},[n(l(p),{href:`/login`,class:`rounded-lg px-4 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2`},{default:i(()=>[c(o(l(h)(`Log in`)),1)]),_:1}),t.canRegister?(r(),m(l(p),{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:i(()=>[c(o(l(h)(`Get started`)),1)]),_:1})):s(``,!0)],64)):s(``,!0)])])]),d(`main`,x,[d(`section`,S,[d(`span`,C,[N[0]||=d(`span`,{class:`h-2 w-2 rounded-full bg-primary`},null,-1),c(` `+o(l(h)(`Convoro 1.0 — in development`)),1)]),d(`h1`,w,o(l(h)(`The modern community platform your members will actually love.`)),1),d(`p`,T,o(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),d(`div`,E,[n(l(p),{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:i(()=>[c(o(l(h)(`Start your community`)),1)]),_:1}),n(l(p),{href:`/login`,class:`rounded-c border border-line bg-surface px-6 py-3 font-semibold text-ink hover:bg-surface-2`},{default:i(()=>[c(o(l(h)(`Live demo`)),1)]),_:1})])]),d(`section`,D,[(r(),e(u,null,a(j,e=>d(`div`,{key:e.title,class:`rounded-c border border-line bg-surface p-6 shadow-sm transition hover:-translate-y-0.5 hover:shadow-md`},[d(`div`,O,o(e.icon),1),d(`h3`,k,o(e.title),1),d(`p`,A,o(e.desc),1)])),64))])]),N[1]||=d(`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};