mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 20:40:15 +02:00
improve network error route (#1435)
This commit is contained in:
@@ -23,8 +23,8 @@ const NoNetworkRoute = () => {
|
||||
return (
|
||||
<AnimatedPage>
|
||||
<PageHeader />
|
||||
<Center style={{ height: '100%', width: '100vw' }}>
|
||||
<Stack gap="xl" style={{ maxWidth: '50%', textAlign: 'center' }}>
|
||||
<Center style={{ height: '100%' }}>
|
||||
<Stack align="center" gap="xl" style={{ maxWidth: '50%', textAlign: 'center' }}>
|
||||
<Icon icon="wifiOff" size="4rem" />
|
||||
<Stack gap="md">
|
||||
<Text size="xl" weight={600}>
|
||||
|
||||
@@ -211,6 +211,8 @@ export const AppRouter = () => {
|
||||
path={AppRoute.ACTION_REQUIRED}
|
||||
/>
|
||||
<Route element={<LoginRoute />} path={AppRoute.LOGIN} />
|
||||
</Route>
|
||||
<Route element={<ResponsiveLayout />}>
|
||||
<Route element={<NoNetworkRoute />} path={AppRoute.NO_NETWORK} />
|
||||
</Route>
|
||||
</Route>
|
||||
|
||||
Reference in New Issue
Block a user