"use client";
import { jsxs, jsx } from 'react/jsx-runtime';
import { Button } from '../../../../../../../ui/src/components/button.mjs';
import { usePluginOverrides } from '@btst/stack/context';

function NotFoundPage() {
  const { navigate: overrideNavigate } = usePluginOverrides("kanban");
  const navigate = overrideNavigate || ((path) => {
    window.location.href = path;
  });
  return /* @__PURE__ */ jsxs(
    "div",
    {
      className: "flex min-h-[400px] flex-col items-center justify-center text-center",
      "data-testid": "empty-state",
      children: [
        /* @__PURE__ */ jsx("h2", { className: "text-2xl font-bold mb-2", children: "Page Not Found" }),
        /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-6", children: "The page you're looking for doesn't exist." }),
        /* @__PURE__ */ jsx(Button, { onClick: () => navigate("/pages/kanban"), children: "Back to Boards" })
      ]
    }
  );
}

export { NotFoundPage };
