mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
Merge pull request #1098 from logto-io/charles-log-2782-admin-console-404-page
feat(console): add 404 page in admin console
This commit is contained in:
commit
c078cc19f0
7 changed files with 100 additions and 3 deletions
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
16
packages/console/src/pages/NotFound/index.module.scss
Normal file
16
packages/console/src/pages/NotFound/index.module.scss
Normal file
|
@ -0,0 +1,16 @@
|
|||
@use '@/scss/underscore' as _;
|
||||
|
||||
.container {
|
||||
height: 100%;
|
||||
color: var(--color-text);
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
margin: 15% 0 _.unit(4);
|
||||
}
|
||||
|
||||
.message {
|
||||
font: var(--font-body-medium);
|
||||
}
|
||||
}
|
|
@ -1,7 +1,20 @@
|
|||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import errorImage from '@/assets/images/error.svg';
|
||||
import Card from '@/components/Card';
|
||||
|
||||
import * as styles from './index.module.scss';
|
||||
|
||||
const NotFound = () => {
|
||||
return <div>NotFound</div>;
|
||||
const { t } = useTranslation(undefined, { keyPrefix: 'admin_console' });
|
||||
|
||||
return (
|
||||
<Card className={styles.container}>
|
||||
<img src={errorImage} alt="error" />
|
||||
<div className={styles.message}>{t('errors.page_not_found')}</div>
|
||||
</Card>
|
||||
);
|
||||
};
|
||||
|
||||
export default NotFound;
|
||||
|
|
|
@ -111,6 +111,7 @@ const translation = {
|
|||
},
|
||||
errors: {
|
||||
something_went_wrong: 'Oops! Something went wrong',
|
||||
page_not_found: 'Page not found',
|
||||
unknown_server_error: 'Unknown server error occurred.',
|
||||
empty: 'No data',
|
||||
missing_total_number: 'Unable to find Total-Number in response headers.',
|
||||
|
|
|
@ -111,6 +111,7 @@ const translation = {
|
|||
},
|
||||
errors: {
|
||||
something_went_wrong: '哎哟喂,遇到了一个错误',
|
||||
page_not_found: '找不到页面',
|
||||
unknown_server_error: '服务器发生未知错误。',
|
||||
empty: '没有数据',
|
||||
missing_total_number: '无法从返回的头部信息中找到 Total-Number。',
|
||||
|
|
66
packages/ui/src/assets/icons/error.svg
Normal file
66
packages/ui/src/assets/icons/error.svg
Normal file
|
@ -0,0 +1,66 @@
|
|||
<svg width="230" height="230" viewBox="0 0 230 230" fill="none" xmlns="http://www.w3.org/2000/svg" id="error">
|
||||
<rect width="230" height="230" />
|
||||
<rect x="52.1094" y="66.4844" width="125.781" height="97.0312" rx="10.9524" fill="#CABEFF"/>
|
||||
<mask id="mask0_300_6026" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="52" y="66" width="126" height="98">
|
||||
<rect x="52.1094" y="66.4844" width="125.781" height="97.0312" rx="10.9524" fill="#CABEFF"/>
|
||||
</mask>
|
||||
<g mask="url(#mask0_300_6026)">
|
||||
</g>
|
||||
<path d="M52.1094 77.2656C52.1094 71.3113 56.9363 66.4844 62.8906 66.4844H167.109C173.064 66.4844 177.891 71.3113 177.891 77.2656V84.4531H52.1094V77.2656Z" fill="#5D34F2"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M91.3598 112.023C89.9564 113.426 89.9564 115.701 91.3598 117.105L96.4423 122.187L91.3602 127.27C89.9567 128.673 89.9567 130.948 91.3602 132.352C92.7636 133.755 95.039 133.755 96.4425 132.352L101.525 127.27L106.607 132.352C108.01 133.755 110.286 133.755 111.689 132.352C113.093 130.948 113.093 128.673 111.689 127.269L106.607 122.187L111.689 117.105C113.093 115.701 113.093 113.426 111.689 112.023C110.286 110.619 108.011 110.619 106.607 112.023L101.525 117.105L96.4421 112.023C95.0387 110.619 92.7633 110.619 91.3598 112.023Z" fill="#7958FF"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M134.485 112.023C133.081 113.426 133.081 115.701 134.485 117.105L139.567 122.187L134.485 127.27C133.082 128.673 133.082 130.948 134.485 132.352C135.889 133.755 138.164 133.755 139.567 132.352L144.65 127.27L149.732 132.352C151.135 133.755 153.411 133.755 154.814 132.352C156.218 130.948 156.218 128.673 154.814 127.269L149.732 122.187L154.814 117.105C156.218 115.701 156.218 113.426 154.814 112.023C153.411 110.619 151.136 110.619 149.732 112.023L144.65 117.105L139.567 112.023C138.164 110.619 135.888 110.619 134.485 112.023Z" fill="#7958FF"/>
|
||||
<circle cx="69.1797" cy="75.4688" r="2.69531" fill="#947DFF"/>
|
||||
<circle cx="78.1641" cy="75.4688" r="2.69531" fill="#E6DEFF"/>
|
||||
<circle cx="87.1484" cy="75.4688" r="2.69531" fill="#E6DEFF"/>
|
||||
<rect x="66.4844" y="91.6406" width="57.5" height="3.59375" rx="1.79688" fill="#E6DEFF"/>
|
||||
<rect x="66.4844" y="97.9297" width="12.5781" height="3.59375" rx="1.79688" fill="#E6DEFF"/>
|
||||
<rect x="154.531" y="97.9297" width="8.98438" height="3.59375" rx="1.79688" fill="#E6DEFF"/>
|
||||
<rect x="82.6562" y="97.9297" width="66.4844" height="3.59375" rx="1.79688" fill="#E6DEFF"/>
|
||||
<rect x="131.172" y="91.6406" width="8.98438" height="3.59375" rx="1.79688" fill="#E6DEFF"/>
|
||||
<rect x="142.852" y="91.6406" width="20.6641" height="3.59375" rx="1.79688" fill="#E6DEFF"/>
|
||||
<mask id="mask1_300_6026" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="22" y="84" width="83" height="89">
|
||||
<path d="M104.219 88.4961V84.4531H22.9102V172.051H56.6016C68.5102 172.051 78.1641 162.397 78.1641 150.488V114.551C78.1641 107.356 83.9966 101.523 91.1914 101.523C98.3862 101.523 104.219 95.6909 104.219 88.4961Z" fill="white"/>
|
||||
</mask>
|
||||
<g mask="url(#mask1_300_6026)">
|
||||
<path d="M-3.59375 84.4533L1.28523e-05 86.2501C2.26232 87.3813 4.92519 87.3813 7.18748 86.2501V86.2501C9.44979 85.1189 12.1127 85.1189 14.375 86.2501V86.2501C16.6373 87.3813 19.3002 87.3813 21.5625 86.2501V86.2501C23.8248 85.1189 26.4877 85.1189 28.75 86.2501V86.2501C31.0123 87.3813 33.6752 87.3813 35.9375 86.2502V86.2502C38.1998 85.119 40.8745 85.1249 43.1368 86.2561V86.2561C45.3874 87.3813 48.0452 87.401 50.3074 86.2993L50.5853 86.1639C52.7963 85.0871 55.3855 85.1147 57.5731 86.2385V86.2385C59.7862 87.3753 62.4086 87.3896 64.6339 86.2769L64.7119 86.2379C66.9588 85.1145 69.6158 85.1205 71.8628 86.244V86.244C74.1251 87.3752 76.8028 87.38 79.0651 86.2488V86.2488C81.3248 85.119 84.0136 85.128 86.276 86.2526V86.2526C88.5318 87.3739 91.2111 87.3824 93.4631 86.2532V86.2532C95.7217 85.1205 98.3828 85.1195 100.642 86.2508V86.2508C102.9 87.3814 105.559 87.3814 107.816 86.2508L111.406 84.4533" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 88.047L1.28523e-05 89.8439C2.26232 90.975 4.92519 90.975 7.18748 89.8438V89.8438C9.44979 88.7126 12.1127 88.7126 14.375 89.8438V89.8438C16.6373 90.975 19.3002 90.975 21.5625 89.8438V89.8438C23.8248 88.7127 26.4877 88.7127 28.75 89.8439V89.8439C31.0123 90.975 33.6752 90.9751 35.9375 89.8439V89.8439C38.1998 88.7128 40.8745 88.7187 43.1368 89.8498V89.8498C45.3874 90.9751 48.0452 90.9948 50.3074 89.893L50.5853 89.7577C52.7963 88.6809 55.3855 88.7085 57.5731 89.8322V89.8322C59.7862 90.9691 62.4086 90.9834 64.6339 89.8707L64.7119 89.8317C66.9588 88.7082 69.6158 88.7143 71.8628 89.8378V89.8378C74.1251 90.9689 76.8028 90.9737 79.0651 89.8426V89.8426C81.3248 88.7127 84.0136 88.7217 86.276 89.8463V89.8463C88.5318 90.9677 91.2111 90.9762 93.4631 89.8469V89.8469C95.7217 88.7143 98.3828 88.7132 100.642 89.8445V89.8445C102.9 90.9751 105.559 90.9751 107.816 89.8445L111.406 88.047" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 91.6408L1.28523e-05 93.4376C2.26232 94.5688 4.92519 94.5688 7.18748 93.4376V93.4376C9.44979 92.3064 12.1127 92.3064 14.375 93.4376V93.4376C16.6373 94.5688 19.3002 94.5688 21.5625 93.4376V93.4376C23.8248 92.3064 26.4877 92.3064 28.75 93.4376V93.4376C31.0123 94.5688 33.6752 94.5688 35.9375 93.4377V93.4377C38.1998 92.3065 40.8745 92.3124 43.1368 93.4436V93.4436C45.3874 94.5688 48.0452 94.5885 50.3074 93.4868L50.5853 93.3514C52.7963 92.2746 55.3855 92.3022 57.5731 93.426V93.426C59.7862 94.5628 62.4086 94.5771 64.6339 93.4644L64.7119 93.4254C66.9588 92.302 69.6158 92.308 71.8628 93.4315V93.4315C74.1251 94.5627 76.8028 94.5675 79.0651 93.4363V93.4363C81.3248 92.3065 84.0136 92.3155 86.276 93.4401V93.4401C88.5318 94.5614 91.2111 94.5699 93.4631 93.4407V93.4407C95.7217 92.308 98.3828 92.307 100.642 93.4383V93.4383C102.9 94.5689 105.559 94.5689 107.816 93.4383L111.406 91.6408" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 95.2345L1.28523e-05 97.0314C2.26232 98.1625 4.92519 98.1625 7.18748 97.0313V97.0313C9.44979 95.9001 12.1127 95.9001 14.375 97.0313V97.0313C16.6373 98.1625 19.3002 98.1625 21.5625 97.0313V97.0313C23.8248 95.9002 26.4877 95.9002 28.75 97.0314V97.0314C31.0123 98.1625 33.6752 98.1626 35.9375 97.0314V97.0314C38.1998 95.9003 40.8745 95.9062 43.1368 97.0373V97.0373C45.3874 98.1626 48.0452 98.1823 50.3074 97.0805L50.5853 96.9452C52.7963 95.8684 55.3855 95.896 57.5731 97.0197V97.0197C59.7862 98.1566 62.4086 98.1709 64.6339 97.0582L64.7119 97.0192C66.9588 95.8957 69.6158 95.9018 71.8628 97.0253V97.0253C74.1251 98.1564 76.8028 98.1612 79.0651 97.0301V97.0301C81.3248 95.9002 84.0136 95.9092 86.276 97.0338V97.0338C88.5318 98.1552 91.2111 98.1637 93.4631 97.0344V97.0344C95.7217 95.9018 98.3828 95.9007 100.642 97.032V97.032C102.9 98.1626 105.559 98.1626 107.816 97.032L111.406 95.2345" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 98.8283L1.28523e-05 100.625C2.26232 101.756 4.92519 101.756 7.18748 100.625V100.625C9.44979 99.4939 12.1127 99.4939 14.375 100.625V100.625C16.6373 101.756 19.3002 101.756 21.5625 100.625V100.625C23.8248 99.4939 26.4877 99.4939 28.75 100.625V100.625C31.0123 101.756 33.6752 101.756 35.9375 100.625V100.625C38.1998 99.494 40.8745 99.4999 43.1368 100.631V100.631C45.3874 101.756 48.0452 101.776 50.3074 100.674L50.5853 100.539C52.7963 99.4621 55.3855 99.4897 57.5731 100.613V100.613C59.7862 101.75 62.4086 101.765 64.6339 100.652L64.7119 100.613C66.9588 99.4895 69.6158 99.4955 71.8628 100.619V100.619C74.1251 101.75 76.8028 101.755 79.0651 100.624V100.624C81.3248 99.494 84.0136 99.503 86.276 100.628V100.628C88.5318 101.749 91.2111 101.757 93.4631 100.628V100.628C95.7217 99.4955 98.3828 99.4945 100.642 100.626V100.626C102.9 101.756 105.559 101.756 107.816 100.626L111.406 98.8283" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 102.422L1.28523e-05 104.219C2.26232 105.35 4.92519 105.35 7.18748 104.219V104.219C9.44979 103.088 12.1127 103.088 14.375 104.219V104.219C16.6373 105.35 19.3002 105.35 21.5625 104.219V104.219C23.8248 103.088 26.4877 103.088 28.75 104.219V104.219C31.0123 105.35 33.6752 105.35 35.9375 104.219V104.219C38.1998 103.088 40.8745 103.094 43.1368 104.225V104.225C45.3874 105.35 48.0452 105.37 50.3074 104.268L50.5853 104.133C52.7963 103.056 55.3855 103.083 57.5731 104.207V104.207C59.7862 105.344 62.4086 105.358 64.6339 104.246L64.7119 104.207C66.9588 103.083 69.6158 103.089 71.8628 104.213V104.213C74.1251 105.344 76.8028 105.349 79.0651 104.218V104.218C81.3248 103.088 84.0136 103.097 86.276 104.221V104.221C88.5318 105.343 91.2111 105.351 93.4631 104.222V104.222C95.7217 103.089 98.3828 103.088 100.642 104.22V104.22C102.9 105.35 105.559 105.35 107.816 104.22L111.406 102.422" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 106.016L1.28523e-05 107.813C2.26232 108.944 4.92519 108.944 7.18748 107.813V107.813C9.44979 106.681 12.1127 106.681 14.375 107.813V107.813C16.6373 108.944 19.3002 108.944 21.5625 107.813V107.813C23.8248 106.681 26.4877 106.681 28.75 107.813V107.813C31.0123 108.944 33.6752 108.944 35.9375 107.813V107.813C38.1998 106.682 40.8745 106.687 43.1368 107.819V107.819C45.3874 108.944 48.0452 108.964 50.3074 107.862L50.5853 107.726C52.7963 106.65 55.3855 106.677 57.5731 107.801V107.801C59.7862 108.938 62.4086 108.952 64.6339 107.839L64.7119 107.8C66.9588 106.677 69.6158 106.683 71.8628 107.807V107.807C74.1251 108.938 76.8028 108.942 79.0651 107.811V107.811C81.3248 106.681 84.0136 106.69 86.276 107.815V107.815C88.5318 108.936 91.2111 108.945 93.4631 107.816V107.816C95.7217 106.683 98.3828 106.682 100.642 107.813V107.813C102.9 108.944 105.559 108.944 107.816 107.813L111.406 106.016" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 109.61L1.28523e-05 111.406C2.26232 112.538 4.92519 112.538 7.18748 111.406V111.406C9.44979 110.275 12.1127 110.275 14.375 111.406V111.406C16.6373 112.538 19.3002 112.538 21.5625 111.406V111.406C23.8248 110.275 26.4877 110.275 28.75 111.406V111.406C31.0123 112.538 33.6752 112.538 35.9375 111.406V111.406C38.1998 110.275 40.8745 110.281 43.1368 111.412V111.412C45.3874 112.538 48.0452 112.557 50.3074 111.456L50.5853 111.32C52.7963 110.243 55.3855 110.271 57.5731 111.395V111.395C59.7862 112.532 62.4086 112.546 64.6339 111.433L64.7119 111.394C66.9588 110.271 69.6158 110.277 71.8628 111.4V111.4C74.1251 112.531 76.8028 112.536 79.0651 111.405V111.405C81.3248 110.275 84.0136 110.284 86.276 111.409V111.409C88.5318 112.53 91.2111 112.539 93.4631 111.409V111.409C95.7217 110.277 98.3828 110.276 100.642 111.407V111.407C102.9 112.538 105.559 112.538 107.816 111.407L111.406 109.61" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 113.203L1.28523e-05 115C2.26232 116.131 4.92519 116.131 7.18748 115V115C9.44979 113.869 12.1127 113.869 14.375 115V115C16.6373 116.131 19.3002 116.131 21.5625 115V115C23.8248 113.869 26.4877 113.869 28.75 115V115C31.0123 116.131 33.6752 116.131 35.9375 115V115C38.1998 113.869 40.8745 113.875 43.1368 115.006V115.006C45.3874 116.131 48.0452 116.151 50.3074 115.049L50.5853 114.914C52.7963 113.837 55.3855 113.865 57.5731 114.988V114.988C59.7862 116.125 62.4086 116.14 64.6339 115.027L64.7119 114.988C66.9588 113.864 69.6158 113.871 71.8628 114.994V114.994C74.1251 116.125 76.8028 116.13 79.0651 114.999V114.999C81.3248 113.869 84.0136 113.878 86.276 115.003V115.003C88.5318 116.124 91.2111 116.132 93.4631 115.003V115.003C95.7217 113.871 98.3828 113.869 100.642 115.001V115.001C102.9 116.131 105.559 116.131 107.816 115.001L111.406 113.203" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 116.797L1.28523e-05 118.594C2.26232 119.725 4.92519 119.725 7.18748 118.594V118.594C9.44979 117.463 12.1127 117.463 14.375 118.594V118.594C16.6373 119.725 19.3002 119.725 21.5625 118.594V118.594C23.8248 117.463 26.4877 117.463 28.75 118.594V118.594C31.0123 119.725 33.6752 119.725 35.9375 118.594V118.594C38.1998 117.463 40.8745 117.469 43.1368 118.6V118.6C45.3874 119.725 48.0452 119.745 50.3074 118.643L50.5853 118.508C52.7963 117.431 55.3855 117.458 57.5731 118.582V118.582C59.7862 119.719 62.4086 119.733 64.6339 118.621L64.7119 118.582C66.9588 117.458 69.6158 117.464 71.8628 118.588V118.588C74.1251 119.719 76.8028 119.724 79.0651 118.593V118.593C81.3248 117.463 84.0136 117.472 86.276 118.596V118.596C88.5318 119.718 91.2111 119.726 93.4631 118.597V118.597C95.7217 117.464 98.3828 117.463 100.642 118.595V118.595C102.9 119.725 105.559 119.725 107.816 118.595L111.406 116.797" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 120.391L1.28523e-05 122.188C2.26232 123.319 4.92519 123.319 7.18748 122.188V122.188C9.44979 121.056 12.1127 121.056 14.375 122.188V122.188C16.6373 123.319 19.3002 123.319 21.5625 122.188V122.188C23.8248 121.056 26.4877 121.056 28.75 122.188V122.188C31.0123 123.319 33.6752 123.319 35.9375 122.188V122.188C38.1998 121.057 40.8745 121.062 43.1368 122.194V122.194C45.3874 123.319 48.0452 123.339 50.3074 122.237L50.5853 122.101C52.7963 121.025 55.3855 121.052 57.5731 122.176V122.176C59.7862 123.313 62.4086 123.327 64.6339 122.214L64.7119 122.175C66.9588 121.052 69.6158 121.058 71.8628 122.182V122.182C74.1251 123.313 76.8028 123.317 79.0651 122.186V122.186C81.3248 121.056 84.0136 121.065 86.276 122.19V122.19C88.5318 123.311 91.2111 123.32 93.4631 122.191V122.191C95.7217 121.058 98.3828 121.057 100.642 122.188V122.188C102.9 123.319 105.559 123.319 107.816 122.188L111.406 120.391" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 123.985L1.28523e-05 125.781C2.26232 126.913 4.92519 126.913 7.18748 125.781V125.781C9.44979 124.65 12.1127 124.65 14.375 125.781V125.781C16.6373 126.913 19.3002 126.913 21.5625 125.781V125.781C23.8248 124.65 26.4877 124.65 28.75 125.781V125.781C31.0123 126.913 33.6752 126.913 35.9375 125.781V125.781C38.1998 124.65 40.8745 124.656 43.1368 125.787V125.787C45.3874 126.913 48.0452 126.932 50.3074 125.831L50.5853 125.695C52.7963 124.618 55.3855 124.646 57.5731 125.77V125.77C59.7862 126.907 62.4086 126.921 64.6339 125.808L64.7119 125.769C66.9588 124.646 69.6158 124.652 71.8628 125.775V125.775C74.1251 126.906 76.8028 126.911 79.0651 125.78V125.78C81.3248 124.65 84.0136 124.659 86.276 125.784V125.784C88.5318 126.905 91.2111 126.914 93.4631 125.784V125.784C95.7217 124.652 98.3828 124.651 100.642 125.782V125.782C102.9 126.913 105.559 126.913 107.816 125.782L111.406 123.985" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 127.578L1.28523e-05 129.375C2.26232 130.506 4.92519 130.506 7.18748 129.375V129.375C9.44979 128.244 12.1127 128.244 14.375 129.375V129.375C16.6373 130.506 19.3002 130.506 21.5625 129.375V129.375C23.8248 128.244 26.4877 128.244 28.75 129.375V129.375C31.0123 130.506 33.6752 130.506 35.9375 129.375V129.375C38.1998 128.244 40.8745 128.25 43.1368 129.381V129.381C45.3874 130.506 48.0452 130.526 50.3074 129.424L50.5853 129.289C52.7963 128.212 55.3855 128.24 57.5731 129.363V129.363C59.7862 130.5 62.4086 130.515 64.6339 129.402L64.7119 129.363C66.9588 128.239 69.6158 128.246 71.8628 129.369V129.369C74.1251 130.5 76.8028 130.505 79.0651 129.374V129.374C81.3248 128.244 84.0136 128.253 86.276 129.378V129.378C88.5318 130.499 91.2111 130.507 93.4631 129.378V129.378C95.7217 128.246 98.3828 128.244 100.642 129.376V129.376C102.9 130.506 105.559 130.506 107.816 129.376L111.406 127.578" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 131.172L1.28523e-05 132.969C2.26232 134.1 4.92519 134.1 7.18748 132.969V132.969C9.44979 131.838 12.1127 131.838 14.375 132.969V132.969C16.6373 134.1 19.3002 134.1 21.5625 132.969V132.969C23.8248 131.838 26.4877 131.838 28.75 132.969V132.969C31.0123 134.1 33.6752 134.1 35.9375 132.969V132.969C38.1998 131.838 40.8745 131.844 43.1368 132.975V132.975C45.3874 134.1 48.0452 134.12 50.3074 133.018L50.5853 132.883C52.7963 131.806 55.3855 131.833 57.5731 132.957V132.957C59.7862 134.094 62.4086 134.108 64.6339 132.996L64.7119 132.957C66.9588 131.833 69.6158 131.839 71.8628 132.963V132.963C74.1251 134.094 76.8028 134.099 79.0651 132.968V132.968C81.3248 131.838 84.0136 131.847 86.276 132.971V132.971C88.5318 134.093 91.2111 134.101 93.4631 132.972V132.972C95.7217 131.839 98.3828 131.838 100.642 132.97V132.97C102.9 134.1 105.559 134.1 107.816 132.97L111.406 131.172" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 134.766L1.28523e-05 136.563C2.26232 137.694 4.92519 137.694 7.18748 136.563V136.563C9.44979 135.431 12.1127 135.431 14.375 136.563V136.563C16.6373 137.694 19.3002 137.694 21.5625 136.563V136.563C23.8248 135.431 26.4877 135.431 28.75 136.563V136.563C31.0123 137.694 33.6752 137.694 35.9375 136.563V136.563C38.1998 135.432 40.8745 135.437 43.1368 136.569V136.569C45.3874 137.694 48.0452 137.714 50.3074 136.612L50.5853 136.476C52.7963 135.4 55.3855 135.427 57.5731 136.551V136.551C59.7862 137.688 62.4086 137.702 64.6339 136.589L64.7119 136.55C66.9588 135.427 69.6158 135.433 71.8628 136.557V136.557C74.1251 137.688 76.8028 137.692 79.0651 136.561V136.561C81.3248 135.431 84.0136 135.44 86.276 136.565V136.565C88.5318 137.686 91.2111 137.695 93.4631 136.566V136.566C95.7217 135.433 98.3828 135.432 100.642 136.563V136.563C102.9 137.694 105.559 137.694 107.816 136.563L111.406 134.766" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 138.36L1.28523e-05 140.156C2.26232 141.288 4.92519 141.288 7.18748 140.156V140.156C9.44979 139.025 12.1127 139.025 14.375 140.156V140.156C16.6373 141.288 19.3002 141.288 21.5625 140.156V140.156C23.8248 139.025 26.4877 139.025 28.75 140.156V140.156C31.0123 141.288 33.6752 141.288 35.9375 140.156V140.156C38.1998 139.025 40.8745 139.031 43.1368 140.162V140.162C45.3874 141.288 48.0452 141.307 50.3074 140.206L50.5853 140.07C52.7963 138.993 55.3855 139.021 57.5731 140.145V140.145C59.7862 141.282 62.4086 141.296 64.6339 140.183L64.7119 140.144C66.9588 139.021 69.6158 139.027 71.8628 140.15V140.15C74.1251 141.281 76.8028 141.286 79.0651 140.155V140.155C81.3248 139.025 84.0136 139.034 86.276 140.159V140.159C88.5318 141.28 91.2111 141.289 93.4631 140.159V140.159C95.7217 139.027 98.3828 139.026 100.642 140.157V140.157C102.9 141.288 105.559 141.288 107.816 140.157L111.406 138.36" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 141.953L1.28523e-05 143.75C2.26232 144.881 4.92519 144.881 7.18748 143.75V143.75C9.44979 142.619 12.1127 142.619 14.375 143.75V143.75C16.6373 144.881 19.3002 144.881 21.5625 143.75V143.75C23.8248 142.619 26.4877 142.619 28.75 143.75V143.75C31.0123 144.881 33.6752 144.881 35.9375 143.75V143.75C38.1998 142.619 40.8745 142.625 43.1368 143.756V143.756C45.3874 144.881 48.0452 144.901 50.3074 143.799L50.5853 143.664C52.7963 142.587 55.3855 142.615 57.5731 143.738V143.738C59.7862 144.875 62.4086 144.89 64.6339 143.777L64.7119 143.738C66.9588 142.614 69.6158 142.621 71.8628 143.744V143.744C74.1251 144.875 76.8028 144.88 79.0651 143.749V143.749C81.3248 142.619 84.0136 142.628 86.276 143.753V143.753C88.5318 144.874 91.2111 144.882 93.4631 143.753V143.753C95.7217 142.621 98.3828 142.619 100.642 143.751V143.751C102.9 144.881 105.559 144.881 107.816 143.751L111.406 141.953" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 145.547L1.28523e-05 147.344C2.26232 148.475 4.92519 148.475 7.18748 147.344V147.344C9.44979 146.213 12.1127 146.213 14.375 147.344V147.344C16.6373 148.475 19.3002 148.475 21.5625 147.344V147.344C23.8248 146.213 26.4877 146.213 28.75 147.344V147.344C31.0123 148.475 33.6752 148.475 35.9375 147.344V147.344C38.1998 146.213 40.8745 146.219 43.1368 147.35V147.35C45.3874 148.475 48.0452 148.495 50.3074 147.393L50.5853 147.258C52.7963 146.181 55.3855 146.208 57.5731 147.332V147.332C59.7862 148.469 62.4086 148.483 64.6339 147.371L64.7119 147.332C66.9588 146.208 69.6158 146.214 71.8628 147.338V147.338C74.1251 148.469 76.8028 148.474 79.0651 147.343V147.343C81.3248 146.213 84.0136 146.222 86.276 147.346V147.346C88.5318 148.468 91.2111 148.476 93.4631 147.347V147.347C95.7217 146.214 98.3828 146.213 100.642 147.345V147.345C102.9 148.475 105.559 148.475 107.816 147.345L111.406 145.547" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 149.141L1.28523e-05 150.938C2.26232 152.069 4.92519 152.069 7.18748 150.938V150.938C9.44979 149.806 12.1127 149.806 14.375 150.938V150.938C16.6373 152.069 19.3002 152.069 21.5625 150.938V150.938C23.8248 149.806 26.4877 149.806 28.75 150.938V150.938C31.0123 152.069 33.6752 152.069 35.9375 150.938V150.938C38.1998 149.807 40.8745 149.812 43.1368 150.944V150.944C45.3874 152.069 48.0452 152.089 50.3074 150.987L50.5853 150.851C52.7963 149.775 55.3855 149.802 57.5731 150.926V150.926C59.7862 152.063 62.4086 152.077 64.6339 150.964L64.7119 150.925C66.9588 149.802 69.6158 149.808 71.8628 150.932V150.932C74.1251 152.063 76.8028 152.067 79.0651 150.936V150.936C81.3248 149.806 84.0136 149.815 86.276 150.94V150.94C88.5318 152.061 91.2111 152.07 93.4631 150.941V150.941C95.7217 149.808 98.3828 149.807 100.642 150.938V150.938C102.9 152.069 105.559 152.069 107.816 150.938L111.406 149.141" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 152.735L1.28523e-05 154.531C2.26232 155.663 4.92519 155.663 7.18748 154.531V154.531C9.44979 153.4 12.1127 153.4 14.375 154.531V154.531C16.6373 155.663 19.3002 155.663 21.5625 154.531V154.531C23.8248 153.4 26.4877 153.4 28.75 154.531V154.531C31.0123 155.663 33.6752 155.663 35.9375 154.531V154.531C38.1998 153.4 40.8745 153.406 43.1368 154.537V154.537C45.3874 155.663 48.0452 155.682 50.3074 154.581L50.5853 154.445C52.7963 153.368 55.3855 153.396 57.5731 154.52V154.52C59.7862 155.657 62.4086 155.671 64.6339 154.558L64.7119 154.519C66.9588 153.396 69.6158 153.402 71.8628 154.525V154.525C74.1251 155.656 76.8028 155.661 79.0651 154.53V154.53C81.3248 153.4 84.0136 153.409 86.276 154.534V154.534C88.5318 155.655 91.2111 155.664 93.4631 154.534V154.534C95.7217 153.402 98.3828 153.401 100.642 154.532V154.532C102.9 155.663 105.559 155.663 107.816 154.532L111.406 152.735" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 156.328L1.28523e-05 158.125C2.26232 159.256 4.92519 159.256 7.18748 158.125V158.125C9.44979 156.994 12.1127 156.994 14.375 158.125V158.125C16.6373 159.256 19.3002 159.256 21.5625 158.125V158.125C23.8248 156.994 26.4877 156.994 28.75 158.125V158.125C31.0123 159.256 33.6752 159.256 35.9375 158.125V158.125C38.1998 156.994 40.8745 157 43.1368 158.131V158.131C45.3874 159.256 48.0452 159.276 50.3074 158.174L50.5853 158.039C52.7963 156.962 55.3855 156.99 57.5731 158.113V158.113C59.7862 159.25 62.4086 159.265 64.6339 158.152L64.7119 158.113C66.9588 156.989 69.6158 156.996 71.8628 158.119V158.119C74.1251 159.25 76.8028 159.255 79.0651 158.124V158.124C81.3248 156.994 84.0136 157.003 86.276 158.128V158.128C88.5318 159.249 91.2111 159.257 93.4631 158.128V158.128C95.7217 156.996 98.3828 156.994 100.642 158.126V158.126C102.9 159.256 105.559 159.256 107.816 158.126L111.406 156.328" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 159.922L1.28523e-05 161.719C2.26232 162.85 4.92519 162.85 7.18748 161.719V161.719C9.44979 160.588 12.1127 160.588 14.375 161.719V161.719C16.6373 162.85 19.3002 162.85 21.5625 161.719V161.719C23.8248 160.588 26.4877 160.588 28.75 161.719V161.719C31.0123 162.85 33.6752 162.85 35.9375 161.719V161.719C38.1998 160.588 40.8745 160.594 43.1368 161.725V161.725C45.3874 162.85 48.0452 162.87 50.3074 161.768L50.5853 161.633C52.7963 160.556 55.3855 160.583 57.5731 161.707V161.707C59.7862 162.844 62.4086 162.858 64.6339 161.746L64.7119 161.707C66.9588 160.583 69.6158 160.589 71.8628 161.713V161.713C74.1251 162.844 76.8028 162.849 79.0651 161.718V161.718C81.3248 160.588 84.0136 160.597 86.276 161.721V161.721C88.5318 162.843 91.2111 162.851 93.4631 161.722V161.722C95.7217 160.589 98.3828 160.588 100.642 161.72V161.72C102.9 162.85 105.559 162.85 107.816 161.72L111.406 159.922" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 163.516L1.28523e-05 165.313C2.26232 166.444 4.92519 166.444 7.18748 165.313V165.313C9.44979 164.181 12.1127 164.181 14.375 165.313V165.313C16.6373 166.444 19.3002 166.444 21.5625 165.313V165.313C23.8248 164.181 26.4877 164.181 28.75 165.313V165.313C31.0123 166.444 33.6752 166.444 35.9375 165.313V165.313C38.1998 164.182 40.8745 164.187 43.1368 165.319V165.319C45.3874 166.444 48.0452 166.464 50.3074 165.362L50.5853 165.226C52.7963 164.15 55.3855 164.177 57.5731 165.301V165.301C59.7862 166.438 62.4086 166.452 64.6339 165.339L64.7119 165.3C66.9588 164.177 69.6158 164.183 71.8628 165.307V165.307C74.1251 166.438 76.8028 166.442 79.0651 165.311V165.311C81.3248 164.181 84.0136 164.19 86.276 165.315V165.315C88.5318 166.436 91.2111 166.445 93.4631 165.316V165.316C95.7217 164.183 98.3828 164.182 100.642 165.313V165.313C102.9 166.444 105.559 166.444 107.816 165.313L111.406 163.516" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 167.11L1.28523e-05 168.906C2.26232 170.038 4.92519 170.038 7.18748 168.906V168.906C9.44979 167.775 12.1127 167.775 14.375 168.906V168.906C16.6373 170.038 19.3002 170.038 21.5625 168.906V168.906C23.8248 167.775 26.4877 167.775 28.75 168.906V168.906C31.0123 170.038 33.6752 170.038 35.9375 168.906V168.906C38.1998 167.775 40.8745 167.781 43.1368 168.912V168.912C45.3874 170.038 48.0452 170.057 50.3074 168.956L50.5853 168.82C52.7963 167.743 55.3855 167.771 57.5731 168.895V168.895C59.7862 170.032 62.4086 170.046 64.6339 168.933L64.7119 168.894C66.9588 167.771 69.6158 167.777 71.8628 168.9V168.9C74.1251 170.031 76.8028 170.036 79.0651 168.905V168.905C81.3248 167.775 84.0136 167.784 86.276 168.909V168.909C88.5318 170.03 91.2111 170.039 93.4631 168.909V168.909C95.7217 167.777 98.3828 167.776 100.642 168.907V168.907C102.9 170.038 105.559 170.038 107.816 168.907L111.406 167.11" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
<path d="M-3.59375 170.703L1.28523e-05 172.5C2.26232 173.631 4.92519 173.631 7.18748 172.5V172.5C9.44979 171.369 12.1127 171.369 14.375 172.5V172.5C16.6373 173.631 19.3002 173.631 21.5625 172.5V172.5C23.8248 171.369 26.4877 171.369 28.75 172.5V172.5C31.0123 173.631 33.6752 173.631 35.9375 172.5V172.5C38.1998 171.369 40.8745 171.375 43.1368 172.506V172.506C45.3874 173.631 48.0452 173.651 50.3074 172.549L50.5853 172.414C52.7963 171.337 55.3855 171.365 57.5731 172.488V172.488C59.7862 173.625 62.4086 173.64 64.6339 172.527L64.7119 172.488C66.9588 171.364 69.6158 171.371 71.8628 172.494V172.494C74.1251 173.625 76.8028 173.63 79.0651 172.499V172.499C81.3248 171.369 84.0136 171.378 86.276 172.503V172.503C88.5318 173.624 91.2111 173.632 93.4631 172.503V172.503C95.7217 171.371 98.3828 171.369 100.642 172.501V172.501C102.9 173.631 105.559 173.631 107.816 172.501L111.406 170.703" stroke="#947DFF" stroke-width="0.71875"/>
|
||||
</g>
|
||||
<rect x="182.503" y="192.514" width="7.1875" height="7.1875" transform="rotate(-35.523 182.503 192.514)" fill="#C4C4C4"/>
|
||||
<g style="mix-blend-mode:multiply">
|
||||
<rect x="150.445" y="46.7188" width="21.5625" height="21.5625" transform="rotate(50.249 150.445 46.7188)" fill="#FAABFF"/>
|
||||
</g>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M185.001 25.3437C185.001 25.2402 185.085 25.1562 185.188 25.1562H188.562C188.665 25.1562 188.749 25.2402 188.749 25.3437V31.2816L193.892 28.3124C193.982 28.2607 194.096 28.2914 194.148 28.381L195.835 31.3027C195.887 31.3924 195.856 31.507 195.766 31.5588L190.624 34.5277L195.766 37.4963C195.855 37.5481 195.886 37.6627 195.834 37.7524L194.147 40.6741C194.096 40.7637 193.981 40.7944 193.891 40.7427L188.749 37.7739V43.7115C188.749 43.815 188.665 43.8989 188.562 43.8989H185.188C185.085 43.8989 185.001 43.815 185.001 43.7115V37.7742L179.859 40.7427C179.77 40.7944 179.655 40.7637 179.603 40.6741L177.916 37.7524C177.865 37.6627 177.895 37.5481 177.985 37.4963L183.127 34.5277L177.984 31.5588C177.895 31.507 177.864 31.3924 177.916 31.3027L179.603 28.381C179.654 28.2914 179.769 28.2607 179.859 28.3124L185.001 31.2813V25.3437Z" fill="#E0E3E3"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M86.1727 173.586C86.1727 173.482 86.2566 173.398 86.3601 173.398H89.7338C89.8373 173.398 89.9212 173.482 89.9212 173.586V179.524L95.0638 176.555C95.1535 176.503 95.2681 176.534 95.3199 176.623L97.0067 179.545C97.0585 179.635 97.0278 179.749 96.9381 179.801L91.7957 182.77L96.9375 185.739C97.0271 185.79 97.0579 185.905 97.0061 185.995L95.3193 188.916C95.2675 189.006 95.1529 189.037 95.0632 188.985L89.9212 186.016V191.954C89.9212 192.057 89.8373 192.141 89.7338 192.141H86.3601C86.2566 192.141 86.1727 192.057 86.1727 191.954V186.016L81.0311 188.985C80.9415 189.037 80.8268 189.006 80.7751 188.916L79.0882 185.995C79.0365 185.905 79.0672 185.79 79.1569 185.739L84.2986 182.77L79.1562 179.801C79.0666 179.749 79.0359 179.635 79.0876 179.545L80.7745 176.623C80.8262 176.534 80.9409 176.503 81.0305 176.555L86.1727 179.523V173.586Z" fill="#E6DEFF"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M28.75 47.6172C32.7195 47.6172 35.9375 44.3992 35.9375 40.4297C35.9375 36.4601 32.7195 33.2422 28.75 33.2422C24.7805 33.2422 21.5625 36.4601 21.5625 40.4297C21.5625 44.3992 24.7805 47.6172 28.75 47.6172ZM28.75 44.0234C30.7348 44.0234 32.3438 42.4145 32.3438 40.4297C32.3438 38.4449 30.7348 36.8359 28.75 36.8359C26.7652 36.8359 25.1562 38.4449 25.1562 40.4297C25.1562 42.4145 26.7652 44.0234 28.75 44.0234Z" fill="#C4C7C7"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M174.297 170.703C180.251 170.703 185.078 165.876 185.078 159.922C185.078 153.968 180.251 149.141 174.297 149.141C168.343 149.141 163.516 153.968 163.516 159.922C163.516 165.876 168.343 170.703 174.297 170.703ZM174.297 165.312C177.274 165.312 179.688 162.899 179.688 159.922C179.688 156.945 177.274 154.531 174.297 154.531C171.32 154.531 168.906 156.945 168.906 159.922C168.906 162.899 171.32 165.312 174.297 165.312Z" fill="#FFDDB5"/>
|
||||
<path d="M66.487 42.552C66.4487 42.4481 66.5371 42.3418 66.6462 42.3605L82.5145 45.0875C82.6235 45.1062 82.6714 45.236 82.6006 45.3211L72.3049 57.6999C72.2342 57.785 72.0978 57.7616 72.0595 57.6577L66.487 42.552Z" fill="#68BE6C"/>
|
||||
<path d="M105.853 53.498L107.746 49.9002C108.792 47.9132 108.03 45.4545 106.043 44.4085V44.4085C104.056 43.3625 103.293 40.9038 104.339 38.9167V38.9167C105.385 36.9297 104.622 34.471 102.635 33.425V33.425C100.648 32.379 99.8848 29.9203 100.931 27.9333L102.825 24.3354" stroke="#F7F8F8" stroke-width="2.875" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M105.853 53.498L107.746 49.9002C108.792 47.9132 108.03 45.4545 106.043 44.4085V44.4085C104.056 43.3625 103.293 40.9038 104.339 38.9167V38.9167C105.385 36.9297 104.622 34.471 102.635 33.425V33.425C100.648 32.379 99.8848 29.9203 100.931 27.9333L102.825 24.3354" stroke="#78767F" stroke-opacity="0.02" stroke-width="2.875" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M105.853 53.498L107.746 49.9002C108.792 47.9132 108.03 45.4545 106.043 44.4085V44.4085C104.056 43.3625 103.293 40.9038 104.339 38.9167V38.9167C105.385 36.9297 104.622 34.471 102.635 33.425V33.425C100.648 32.379 99.8848 29.9203 100.931 27.9333L102.825 24.3354" stroke="#5D34F2" stroke-opacity="0.11" stroke-width="2.875" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M39.411 196.482C39.4196 196.435 39.476 196.414 39.5126 196.445L44.8257 200.96C44.8622 200.991 44.8515 201.049 44.8064 201.066L38.2404 203.41C38.1953 203.426 38.1497 203.387 38.1583 203.34L39.411 196.482Z" fill="#68BE6C"/>
|
||||
<rect x="67.3828" y="197.656" width="71.875" height="3.59375" rx="1.79688" fill="#747778"/>
|
||||
<rect x="150.039" y="197.656" width="17.0703" height="3.59375" rx="1.79688" fill="#747778"/>
|
||||
</svg>
|
After Width: | Height: | Size: 30 KiB |
|
@ -2,7 +2,7 @@ import React from 'react';
|
|||
import { TFuncKey, useTranslation } from 'react-i18next';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
|
||||
import ErrorIcon from '@/assets/icons/error-icon.svg';
|
||||
import ErrorImage from '@/assets/icons/error.svg';
|
||||
import Button from '@/components/Button';
|
||||
import NavBar from '@/components/NavBar';
|
||||
|
||||
|
@ -24,7 +24,7 @@ const ErrorPage = ({ title = 'description.not_found', message, rawMessage }: Pro
|
|||
<div className={styles.wrapper}>
|
||||
<NavBar />
|
||||
<div className={styles.container}>
|
||||
<ErrorIcon />
|
||||
<ErrorImage />
|
||||
<div className={styles.title}>{t(title)}</div>
|
||||
{errorMessage && <div className={styles.message}>{errorMessage}</div>}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue