diff --git a/src/components/NotFound/error.module.css b/src/components/NotFound/error.module.css new file mode 100644 index 00000000..310ebd19 --- /dev/null +++ b/src/components/NotFound/error.module.css @@ -0,0 +1,21 @@ +.section { + margin-top: var(--size-l); + margin-bottom: var(--size-l); + + text-align: center; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; +} + +.section h1 { + font-size: 16pt; + font-weight: normal; +} + +.section img { + margin-top: var(--size-m); + margin-bottom: var(--size-m); + max-width: 400px; +} diff --git a/src/components/NotFound/index.tsx b/src/components/NotFound/index.tsx index fccf491d..6958a69f 100644 --- a/src/components/NotFound/index.tsx +++ b/src/components/NotFound/index.tsx @@ -1,31 +1,9 @@ +import s from './error.module.css' + export const NotFound: React.FC = () => ( -
- - +
-

Страница не найдена.

+

Страница не найдена