@ya-accelerators/nextjs-framework 0.0.55 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,11 +6,11 @@ import { ColorTypes, ControlSize, TextColorTypes } from '../../theme';
|
|
|
6
6
|
export const ErrorPage = ({ reset }) => (<Layout.AppContent title={{ title: '' }}>
|
|
7
7
|
<div className='flex flex-col items-center justify-center gap-base py-2xl'>
|
|
8
8
|
<Component.Icon icon={ErrorOutlinedIcon} className='size-control-3xl text-error'/>
|
|
9
|
-
<Component.Typography.H3
|
|
9
|
+
<Component.Typography.H3>Something went wrong</Component.Typography.H3>
|
|
10
10
|
<Component.Typography.P color={TextColorTypes.sub}>
|
|
11
|
-
|
|
11
|
+
Could not display this page. Please try again later.
|
|
12
12
|
</Component.Typography.P>
|
|
13
|
-
{reset && (<Composite.Button variant='colored' color={ColorTypes.primary} size={ControlSize.base} label='
|
|
13
|
+
{reset && (<Composite.Button variant='colored' color={ColorTypes.primary} size={ControlSize.base} label='Retry' onClick={() => reset()}/>)}
|
|
14
14
|
</div>
|
|
15
15
|
</Layout.AppContent>);
|
|
16
16
|
//# sourceMappingURL=index.jsx.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../../../src/ui/functional/errorPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,mCAAmC,CAAA;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAErE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAA0B,EAAE,EAAE,CAAC,CAC9D,CAAC,MAAM,CA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