API lib cleanup, 404 hosts WIP

This commit is contained in:
Jamie Curnow
2025-09-21 17:16:46 +10:00
parent 17f40dd8b2
commit 553178aa6b
78 changed files with 1375 additions and 647 deletions

View File

@@ -1,6 +1,6 @@
import { intl } from "src/locale";
import { useNavigate } from "react-router-dom";
import { Button } from "src/components";
import { intl } from "src/locale";
export function ErrorNotFound() {
const navigate = useNavigate();
@@ -9,9 +9,7 @@ export function ErrorNotFound() {
<div className="container-tight py-4">
<div className="empty">
<p className="empty-title">{intl.formatMessage({ id: "notfound.title" })}</p>
<p className="empty-subtitle text-secondary">
{intl.formatMessage({ id: "notfound.text" })}
</p>
<p className="empty-subtitle text-secondary">{intl.formatMessage({ id: "notfound.text" })}</p>
<div className="empty-action">
<Button type="button" size="md" onClick={() => navigate("/")}>
{intl.formatMessage({ id: "notfound.action" })}