aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/not_found.tsx
blob: ad37f62420df2baaae369acd5f202a9005dcc4ce (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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 { Dispatcher } from 'ts/redux/dispatcher';
import { Styles } from 'ts/types';
import { Translate } from 'ts/utils/translate';

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

interface NotFoundState {}

const styles: Styles = {
    thin: {
        fontWeight: 100,
    },
};

export class NotFound extends React.Component<NotFoundProps, NotFoundState> {
    public render() {
        return (
            <div>
                <TopBar blockchainIsLoaded={false} location={this.props.location} translate={this.props.translate} />
                <div className="mx-auto max-width-4 py4">
                    <div className="center py4">
                        <div className="py4">
                            <div className="py4">
                                <h1 style={{ ...styles.thin }}>404 Not Found</h1>
                                <div className="py1">
                                    <div className="py3">
                                        Hm... looks like we couldn't find what you are looking for.
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <Footer translate={this.props.translate} dispatcher={this.props.dispatcher} />
            </div>
        );
    }
}