Skip to content

Commit 043eed0

Browse files
committed
404 page
1 parent 6b51e61 commit 043eed0

File tree

4 files changed

+4
-69
lines changed

4 files changed

+4
-69
lines changed

__tests__/shared/components/Error404.jsx

Lines changed: 0 additions & 27 deletions
This file was deleted.

__tests__/shared/components/__snapshots__/Error404.jsx.snap

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/shared/components/Error404/index.jsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import _ from 'lodash';
66
import React from 'react';
77
import { Route } from 'react-router-dom';
8+
import Viewport from 'components/Contentful/Viewport';
89
import './style.scss';
910

1011
export default function Page404() {
@@ -16,12 +17,9 @@ export default function Page404() {
1617
return null;
1718
}}
1819
/>
19-
<h1 styleName="message">
20-
404 HTTP Error
21-
</h1>
22-
<p styleName="details">
23-
The resource you are looking for does not exist in Topcoder community App :(
24-
</p>
20+
<Viewport
21+
id="3fB4UivAs6Nn5WbhREuqrn"
22+
/>
2523
</div>
2624
);
2725
}

src/shared/components/Error404/style.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
flex-direction: column;
88
min-height: 400px;
99
text-align: center;
10-
padding: 150px 0;
1110
}
1211

1312
.details {

0 commit comments

Comments
 (0)