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