40 lines
1.4 KiB
TypeScript
40 lines
1.4 KiB
TypeScript
/**
|
|
* Copyright (c) 2023-present Plane Software, Inc. and contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
* See the LICENSE file for details.
|
|
*/
|
|
|
|
import React from "react";
|
|
import { Link } from "react-router";
|
|
// ui
|
|
import { Button } from "@plane/propel/button";
|
|
// images
|
|
import Image404 from "@/app/assets/images/404.svg?url";
|
|
|
|
function PageNotFound() {
|
|
return (
|
|
<div className={`h-screen w-full overflow-hidden bg-surface-1`}>
|
|
<div className="grid h-full place-items-center p-4">
|
|
<div className="space-y-8 text-center">
|
|
<div className="relative mx-auto h-60 w-60 lg:h-80 lg:w-80">
|
|
<img src={Image404} alt="404 - страница не найдена" className="h-full w-full object-contain" />
|
|
</div>
|
|
<div className="space-y-2">
|
|
<h3 className="text-16 font-semibold">Страница не найдена</h3>
|
|
<p className="text-13 text-secondary">Похоже, раздел был удален, переименован или временно недоступен.</p>
|
|
</div>
|
|
<Link to="/general/">
|
|
<span className="flex justify-center py-4">
|
|
<Button variant="secondary" size="lg">
|
|
Перейти в основные настройки
|
|
</Button>
|
|
</span>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default PageNotFound;
|