Skip to content

Commit b4b90f1

Browse files
Merge pull request #6042 from topcoder-platform/404-page
404 page
2 parents 74efa33 + 3401fab commit b4b90f1

File tree

5 files changed

+5
-70
lines changed

5 files changed

+5
-70
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ workflows:
364364
filters:
365365
branches:
366366
only:
367-
- jan-updates-2
367+
- 404-page
368368
# This is stage env for production QA releases
369369
- "build-prod-staging":
370370
context : org-global

__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)