Files
nginx-proxy-manager/frontend/src/components/ErrorNotFound.tsx
T

26 lines
619 B
TypeScript
Raw Normal View History

2025-09-02 23:56:00 +10:00
import { useNavigate } from "react-router-dom";
import { Button } from "src/components";
2025-10-02 23:06:51 +10:00
import { T } from "src/locale";
2025-09-02 23:56:00 +10:00
export function ErrorNotFound() {
const navigate = useNavigate();
return (
<div className="container-tight py-4">
<div className="empty">
2025-10-02 23:06:51 +10:00
<p className="empty-title">
<T id="notfound.title" />
</p>
<p className="empty-subtitle text-secondary">
2025-10-16 18:59:19 +10:00
<T id="notfound.content" />
2025-10-02 23:06:51 +10:00
</p>
2025-09-02 23:56:00 +10:00
<div className="empty-action">
<Button type="button" size="md" onClick={() => navigate("/")}>
2025-10-02 23:06:51 +10:00
<T id="notfound.action" />
2025-09-02 23:56:00 +10:00
</Button>
</div>
</div>
</div>
);
}