You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/web/src/pages/NotFound.tsx

23 lines
579 B
TypeScript

import { useTranslate } from "@/utils/i18n";
import { Link } from "react-router-dom";
import "@/less/not-found.less";
const NotFound = () => {
const t = useTranslate();
return (
<div className="page-wrapper not-found">
<div className="page-container">
<p className="title-text">{t("message.page-not-found")}</p>
<div className="action-button-container">
<Link to="/" className="link-btn">
<span>🏠</span> {t("router.back-to-home")}
</Link>
</div>
</div>
</div>
);
};
export default NotFound;