extract NotFound component with isolated style
This commit is contained in:
1 parent
6dfacb56c9
commit
f8373765fd
4 files changed
+35
-29
No files matched your search
+2
-8
@@ -2,6 +2,7 @@ import 'src/style/style.scss'
|
||||
|
||||
import { NextPage } from 'next'
|
||||
import { Wrapper } from 'src/components/Wrapper'
|
||||
import { NotFound } from 'src/components/NotFound'
|
||||
|
||||
const Page: NextPage = () => (
|
||||
<Wrapper
|
||||
@@ -14,14 +15,7 @@ const Page: NextPage = () => (
|
||||
</footer>
|
||||
)}
|
||||
>
|
||||
<section className="error-404">
|
||||
<div>
|
||||
<h1>Страница не найдена.</h1>
|
||||
<img src="/static/graphics/skull.jpg" />
|
||||
</div>
|
||||
|
||||
<div><a href="/">На главную</a></div>
|
||||
</section>
|
||||
<NotFound />
|
||||
</Wrapper>
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user