-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Bug from the Bugswatter board and updates react to 17.x (#21)
* Update React versions * Use local Swagger version instead of upstream * Fix random semicolon * Fix some prop types errors in console * Add custom PageNotFound template * footer fixes and add results numbers to search * Fix placement of search results text
- Loading branch information
Showing
11 changed files
with
950 additions
and
826 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
.dc-c-footer { | ||
background-color: white; | ||
padding-top: 100px; | ||
ul { | ||
margin: 0; | ||
padding: 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React from 'react'; | ||
|
||
const PageNotFound = ({siteUrl, content}) => { | ||
return ( | ||
<section className="ds-l-container"> | ||
{content | ||
? ( | ||
content | ||
) : ( | ||
<> | ||
<h1>Error: Page not found</h1> | ||
<p>We're sorry, but there is no {siteUrl} web page that matches your entry. You may have been directed here because:</p> | ||
<ol> | ||
<li>The address you typed contains a typo;</li> | ||
<li>The requested page may have expired or;</li> | ||
<li>The requested page may have been moved.</li> | ||
</ol> | ||
<p><span className="ds-u-font-weight--bold">Note:</span> If you were using a bookmark, please reset it once you find the correct page.</p> | ||
</> | ||
) | ||
} | ||
</section> | ||
) | ||
} | ||
|
||
export default PageNotFound; |
Oops, something went wrong.