function e(e){const a=s();a&&(a.location.hash=e)}import{g as s,i as a}from"./platform-core.tlhrBXt0.js";import{q as n,aG as t}from"./app-components.OQnGA3jf.js";import{j as i}from"./vendor-react.DHNfi5sm.js";import{B as r}from"./vendor-design-system.Cz5A3ECO.js";const c=()=>{const c=s(),l=c?c.location.hash.replace(/^#/,""):"",o=function(e){if(!e)return"/dashboard";const s=e.lastNavigatedPath;return"string"==typeof s&&s.length>0&&"/404"!==s?s:"/dashboard"}(c);return i.jsx(n,{className:"flex-1",children:i.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-6 p-6 text-center",children:[i.jsx("div",{className:"mb-2 flex justify-center",children:i.jsx(t,{size:"lg",showName:!0,fallbackBrandName:"FleekDash",className:"flex-row items-center gap-2.5",nameFontSize:"24px"})}),i.jsxs("div",{className:"max-w-2xl space-y-3",children:[i.jsx("h1",{className:"text-3xl font-semibold md:text-4xl",children:a("Let's get you back on track")}),i.jsx("p",{className:"text-muted-foreground",children:a("This place isn't available, but here is a helpful hub to keep you moving.")})]}),i.jsxs("div",{className:"grid w-full max-w-2xl grid-cols-2 gap-3 md:grid-cols-3",children:[i.jsx(r,{variant:"secondary",className:"justify-center",onClick:()=>{e("/dashboard")},children:a("Dashboard")}),i.jsx(r,{variant:"secondary",className:"justify-center",onClick:()=>{e("/posts")},children:a("Posts")}),i.jsx(r,{variant:"secondary",className:"justify-center",onClick:()=>{e("/users")},children:a("Users")}),i.jsx(r,{variant:"secondary",className:"justify-center",onClick:()=>{e("/plugins")},children:a("Plugins")}),i.jsx(r,{variant:"secondary",className:"justify-center",onClick:()=>{e("/settings")},children:a("Settings")}),i.jsx(r,{variant:"secondary",className:"justify-center",onClick:()=>{e("/integrations")},children:a("Integrations")}),i.jsx(r,{variant:"secondary",className:"justify-center",onClick:()=>{c&&c.open(c.location.origin,"_blank")},children:a("Your Website")}),i.jsx(r,{variant:"secondary",className:"justify-center",onClick:()=>{e("/minimized-windows")},children:a("Minimized Windows")}),i.jsx(r,{variant:"secondary",className:"justify-center",onClick:()=>{c?.history.back()},children:a("Go Back")})]}),i.jsx("div",{className:"text-muted-foreground text-xs",children:l!==o&&i.jsx("a",{className:"underline",href:"#",onClick:s=>{s.preventDefault(),e(o)},children:a("Continue where you were")})})]})})};export{c as notFoundComponent};
//# sourceMappingURL=_layout.Dc4_aR5C.js.map
