import { q as useNavigate, j as jsxRuntimeExports, x as Grid2, B as Button } from "./index-D15x63tD.js";
const NotFound = () => {
  const navigate = useNavigate();
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
    Grid2,
    {
      container: true,
      direction: "column",
      spacing: 2,
      sx: {
        justifyContent: "center",
        alignItems: "center",
        height: "100%"
      },
      children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx(Grid2, { item: true, children: "Вы не там где должны быть 🙃" }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Grid2, { item: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
          Button,
          {
            style: {
              backgroundColor: "#0098ad",
              textTransform: "none"
            },
            type: "submit",
            fullWidth: true,
            variant: "contained",
            className: "ButtonMargin",
            onClick: () => {
              navigate("/");
            },
            children: "Вернутся на страницу входа"
          }
        ) })
      ]
    }
  );
};
export {
  NotFound as default
};
//# sourceMappingURL=NotFound-C0AF2dcI.js.map
