UNPKG

@rocket.chat/onboarding-ui

Version:

Set of components and functions for the onboarding experience on Rocket.Chat

13 lines 1.24 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var jsx_runtime_1 = require("react/jsx-runtime"); var fuselage_1 = require("@rocket.chat/fuselage"); var layout_1 = require("@rocket.chat/layout"); var react_i18next_1 = require("react-i18next"); var InvalidLinkPage = function (_a) { var onRequestNewLink = _a.onRequestNewLink; var t = (0, react_i18next_1.useTranslation)().t; return ((0, jsx_runtime_1.jsx)(layout_1.BackgroundLayer, { children: (0, jsx_runtime_1.jsx)(fuselage_1.Box, { display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16, children: (0, jsx_runtime_1.jsxs)(fuselage_1.Margins, { blockEnd: 32, children: [(0, jsx_runtime_1.jsx)(layout_1.LayoutLogo, {}), (0, jsx_runtime_1.jsx)(fuselage_1.Box, { fontScale: 'hero', children: t('page.invalidLink.title') }), (0, jsx_runtime_1.jsx)(fuselage_1.Box, { fontScale: 'p1', children: t('page.invalidLink.content') }), (0, jsx_runtime_1.jsx)(fuselage_1.Button, { onClick: onRequestNewLink, primary: true, children: t('page.invalidLink.button.text') })] }) }) })); }; exports.default = InvalidLinkPage; //# sourceMappingURL=InvalidLinkPage.js.map