Skip to content

Commit

Permalink
Merge pull request #6042 from topcoder-platform/404-page
Browse files Browse the repository at this point in the history
404 page
  • Loading branch information
luizrrodrigues authored Mar 9, 2022
2 parents 74efa33 + 3401fab commit b4b90f1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ workflows:
filters:
branches:
only:
- jan-updates-2
- 404-page
# This is stage env for production QA releases
- "build-prod-staging":
context : org-global
Expand Down
27 changes: 0 additions & 27 deletions __tests__/shared/components/Error404.jsx

This file was deleted.

35 changes: 0 additions & 35 deletions __tests__/shared/components/__snapshots__/Error404.jsx.snap

This file was deleted.

10 changes: 4 additions & 6 deletions src/shared/components/Error404/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import _ from 'lodash';
import React from 'react';
import { Route } from 'react-router-dom';
import Viewport from 'components/Contentful/Viewport';
import './style.scss';

export default function Page404() {
Expand All @@ -16,12 +17,9 @@ export default function Page404() {
return null;
}}
/>
<h1 styleName="message">
404 HTTP Error
</h1>
<p styleName="details">
The resource you are looking for does not exist in Topcoder community App :(
</p>
<Viewport
id="3fB4UivAs6Nn5WbhREuqrn"
/>
</div>
);
}
1 change: 0 additions & 1 deletion src/shared/components/Error404/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
flex-direction: column;
min-height: 400px;
text-align: center;
padding: 150px 0;
}

.details {
Expand Down

0 comments on commit b4b90f1

Please sign in to comment.