UNPKG

@rocket.chat/onboarding-ui

Version:

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

11 lines 1.05 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Box, Margins } from '@rocket.chat/fuselage'; import { BackgroundLayer, LayoutLogo } from '@rocket.chat/layout'; import { useTranslation } from 'react-i18next'; var SomethingWentWrongPage = function (_a) { var _b = _a.requestId, requestId = _b === void 0 ? undefined : _b; var t = useTranslation().t; return (_jsx(BackgroundLayer, { children: _jsx(Box, { display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 624, paddingBlock: 32, paddingInline: 16, children: _jsxs(Margins, { blockEnd: 32, children: [_jsx(LayoutLogo, {}), _jsx(Box, { fontScale: 'hero', children: t('page.somethingWentWrongPage.title') }), _jsx(Box, { fontScale: 'p1', children: t('page.somethingWentWrongPage.subtitle') }), requestId && (_jsx(Box, { children: t('page.somethingWentWrongPage.requestId', { requestId: requestId }) }))] }) }) })); }; export default SomethingWentWrongPage; //# sourceMappingURL=SomethingWentWrongPage.js.map