@skbkontur/cassandra-distributed-task-queue-ui
Version:
.NET library implementing distributed task queue machinery using Apache Cassandra
19 lines • 3 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TaskNotFoundPage = void 0;
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
const react_ui_1 = require("@skbkontur/react-ui");
const react_1 = tslib_1.__importDefault(require("react"));
const react_router_dom_1 = require("react-router-dom");
const RouteUtils_1 = require("../../Domain/Utils/RouteUtils");
const CommonLayout_1 = require("../Layouts/CommonLayout");
const Clouds_1 = require("./Clouds");
const TaskNotFoundPage_styles_1 = require("./TaskNotFoundPage.styles");
const TaskNotFoundPage = () => {
const { pathname } = react_router_dom_1.useLocation();
const theme = react_1.default.useContext(react_ui_1.ThemeContext);
return (jsx_runtime_1.jsxs("div", Object.assign({ style: { backgroundColor: theme.bgDefault } }, { children: [jsx_runtime_1.jsxs(CommonLayout_1.CommonLayout, Object.assign({ "data-tid": "ObjectNotFoundPage", style: { display: "block", height: "initial" }, withArrow: true }, { children: [jsx_runtime_1.jsx(CommonLayout_1.CommonLayout.GoBack, { to: RouteUtils_1.RouteUtils.backUrl(pathname) }, void 0), jsx_runtime_1.jsxs(CommonLayout_1.CommonLayout.Content, Object.assign({ className: TaskNotFoundPage_styles_1.jsStyles.content() }, { children: [jsx_runtime_1.jsxs("h2", Object.assign({ className: TaskNotFoundPage_styles_1.jsStyles.headerTitle(), "data-tid": "Header" }, { children: ["\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430", jsx_runtime_1.jsx("span", Object.assign({ className: TaskNotFoundPage_styles_1.jsStyles.headerCode(theme) }, { children: " 404" }), void 0)] }), void 0), jsx_runtime_1.jsx("div", Object.assign({ className: TaskNotFoundPage_styles_1.jsStyles.message() }, { children: "\u0412 \u0430\u0434\u0440\u0435\u0441\u0435 \u0435\u0441\u0442\u044C \u043E\u0448\u0438\u0431\u043A\u0430 \u0438\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u044B\u043B\u0430 \u0443\u0434\u0430\u043B\u0435\u043D\u0430." }), void 0)] }), void 0)] }), void 0), jsx_runtime_1.jsxs("svg", Object.assign({ width: "100%", height: "500", fill: "#000" }, { children: [jsx_runtime_1.jsx("svg", Object.assign({ id: "far", width: "5540", height: "667", y: -100, viewBox: "0 0 5540 567", xmlns: "http://www.w3.org/2000/svg" }, { children: jsx_runtime_1.jsx(Clouds_1.CloudsFar, {}, void 0) }), void 0), jsx_runtime_1.jsx("svg", Object.assign({ id: "med", width: "5540", height: "667", y: 50, viewBox: "0 0 5540 567", xmlns: "http://www.w3.org/2000/svg" }, { children: jsx_runtime_1.jsx(Clouds_1.CloudsMed, {}, void 0) }), void 0), jsx_runtime_1.jsx("svg", Object.assign({ id: "near", width: "5540", height: "667", y: -125, viewBox: "0 0 5540 567", xmlns: "http://www.w3.org/2000/svg" }, { children: jsx_runtime_1.jsx(Clouds_1.CloudsNear, {}, void 0) }), void 0)] }), void 0)] }), void 0));
};
exports.TaskNotFoundPage = TaskNotFoundPage;
//# sourceMappingURL=TaskNotFoundPage.js.map