import{i as e,t}from"./jsx-runtime-Cx0BB4qO.js";import{Q as n,d as r,l as i,q as a}from"./workspace-D4nk9hec.js";import{t as o}from"./useNavigate-CWOSRTQR.js";import{t as s}from"./auth-OXGjrebL.js";var c=e(n()),l=t();function u(){r();let e=o();return(0,c.useEffect)(()=>{a.auth.getUser().then(({data:{user:t}})=>{t&&e({to:`/hjem`})})},[e]),(0,l.jsxs)(`main`,{className:`welcome-page welcome-simple`,children:[(0,l.jsxs)(`div`,{className:`welcome-title`,children:[(0,l.jsx)(`span`,{className:`text-sm font-semibold`,children:i(`VELKOMMEN HJEM`)}),(0,l.jsx)(`h1`,{children:i(`Kollektivappen 💚`)}),(0,l.jsx)(`p`,{children:i(`Litt mer orden. Mye mer fellesskap.`)})]}),(0,l.jsx)(s,{})]})}export{u as component};