diff --git a/src/pages/NotFound/__tests__/NotFound.tsx b/src/pages/NotFound/__tests__/NotFound.tsx deleted file mode 100755 index ed02638..0000000 --- a/src/pages/NotFound/__tests__/NotFound.tsx +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @jest-environment jsdom - */ -import { render } from "@testing-library/react" -import { MemoryRouter } from "react-router-dom" - -import NotFound from "../index" - -describe("", () => { - it("renders", () => { - const tree = render( - - {/* - @ts-expect-error */} - - - ).container.firstChild - - expect(tree).toMatchSnapshot() - }) -}) diff --git a/src/pages/NotFound/__tests__/__snapshots__/NotFound.tsx.snap b/src/pages/NotFound/__tests__/__snapshots__/NotFound.tsx.snap deleted file mode 100644 index e0c5951..0000000 --- a/src/pages/NotFound/__tests__/__snapshots__/NotFound.tsx.snap +++ /dev/null @@ -1,11 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[` renders 1`] = ` -
-

- Oops, Page was not found! -

-
-`; diff --git a/src/pages/NotFound/index.tsx b/src/pages/NotFound/index.tsx index 70ce81b..fc43bbe 100755 --- a/src/pages/NotFound/index.tsx +++ b/src/pages/NotFound/index.tsx @@ -13,9 +13,11 @@ const NotFound = ({ staticContext }: Props) => { if (staticContext) staticContext.statusCode = 404 return ( -
- -

Oops, Page was not found!

+
+
+ +

Oops, page was not found!

+
) } diff --git a/src/pages/NotFound/styles.module.scss b/src/pages/NotFound/styles.module.scss index d850c6c..654c3d5 100755 --- a/src/pages/NotFound/styles.module.scss +++ b/src/pages/NotFound/styles.module.scss @@ -1,3 +1,9 @@ -.NotFound { - padding: 0 15px; +@import "../../theme/mixins"; + +.notFoundPage { + @include page-wrapper-center; +} + +.notFoundContent { + @include page-content-wrapper; }