File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ function App() {
2121 < Route path = "/" component = { HomeContainer } />
2222 < Route path = "/currency-converter" component = { CurrencyConverterContainer } />
2323 < Route path = "/css-modules" component = { CssModulesContainer } />
24+ < Route path = "*" component = { NotFoundContainer } />
2425 </ Route >
2526 </ Router >
2627 </ Provider >
Original file line number Diff line number Diff line change 1+ import * as React from 'react' ;
2+ import { Link } from 'react-router' ;
3+ import { PageSection } from '../../components/page-section' ;
4+ import { PageHero } from '../../components/page-hero' ;
5+
6+ export default function ( ) {
7+ return (
8+ < article >
9+ < PageHero title = "404 Not Found" subtitle = "Page not found" />
10+ < PageSection className = "o-container o-container--small u-centered" >
11+ < Link to = "/" > Back to Home</ Link >
12+ </ PageSection >
13+ < br />
14+ </ article >
15+ ) ;
16+ } ;
You can’t perform that action at this time.
0 commit comments