supersam/src/pages/NotFoundPage.jsx

21 lines
771 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from "react";
import { Link } from "react-router-dom";
import { Button } from "../components/UI/Button";
import { Panel } from "../components/UI/Panel";
export const NotFoundPage = () => {
return (
<div className="flex min-h-screen items-center justify-center px-4">
<Panel className="max-w-lg p-8 text-center">
<h1 className="text-3xl font-semibold">Страница не найдена</h1>
<p className="mt-3 text-sm text-[var(--color-text-muted)]">
Вернитесь к панели управления заказами и доставкой.
</p>
<Link className="mt-6 inline-flex" to="/dashboard">
<Button>К дашборду</Button>
</Link>
</Panel>
</div>
);
};