diff --git a/web/src/less/not-found.less b/web/src/less/not-found.less deleted file mode 100644 index d1722325..00000000 --- a/web/src/less/not-found.less +++ /dev/null @@ -1,18 +0,0 @@ -.page-wrapper.not-found { - @apply w-full h-full overflow-y-auto overflow-x-hidden bg-zinc-100 dark:bg-zinc-800; - - > .page-container { - @apply relative w-full min-h-full mx-auto flex flex-col justify-center items-center; - - > .title-text { - @apply text-xl sm:text-4xl text-gray-700 dark:text-gray-200; - } - - > .action-button-container { - > .link-btn { - @apply block text-gray-600 dark:text-gray-200 dark:border-gray-600 font-mono text-base py-1 border px-3 leading-8 rounded-xl hover:opacity-80 my-3; - } - } - } -} - \ No newline at end of file diff --git a/web/src/pages/NotFound.tsx b/web/src/pages/NotFound.tsx index ec6516aa..03dba4d1 100644 --- a/web/src/pages/NotFound.tsx +++ b/web/src/pages/NotFound.tsx @@ -1,19 +1,21 @@ +import { Button } from "@mui/joy"; import { Link } from "react-router-dom"; +import Icon from "@/components/Icon"; import { useTranslate } from "@/utils/i18n"; -import "@/less/not-found.less"; const NotFound = () => { const t = useTranslate(); return ( -
{t("message.page-not-found")}
-404
+ + }> + {t("router.back-to-home")} + +