aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/not_found.tsx
blob: 674271636f301898ba4a7ed6420a3389b250c0f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Styles } from '@0xproject/react-shared';
import * as _ from 'lodash';
import * as React from 'react';
import { Footer } from 'ts/components/footer';
import { TopBar } from 'ts/components/top_bar/top_bar';
import { FullscreenMessage } from 'ts/pages/fullscreen_message';
import { Dispatcher } from 'ts/redux/dispatcher';
import { Translate } from 'ts/utils/translate';

export interface NotFoundProps {
    location: Location;
    translate: Translate;
    dispatcher: Dispatcher;
}

export const NotFound = (props: NotFoundProps) => {
    return (
        <div>
            <TopBar blockchainIsLoaded={false} location={this.props.location} translate={this.props.translate} />
            <FullscreenMessage
                headerText={'404 Not Found'}
                bodyText={"Hm... looks like we couldn't find what you are looking for."}
            />
            <Footer translate={this.props.translate} dispatcher={this.props.dispatcher} />
        </div>
    );
};