aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/jobs/mission.tsx
blob: f7f874e04dff6a26f3d65bb865d9ab9bb183a98d (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
47
48
49
50
51
52
53
54
55
56
import * as React from 'react';

import { colors } from 'ts/style/colors';
import { ScreenWidths } from 'ts/types';

export interface MissionProps {
    screenWidth: ScreenWidths;
}
export const Mission = (props: MissionProps) => {
    const isSmallScreen = props.screenWidth === ScreenWidths.Sm;
    const image = (
        <div className="col lg-col-6 md-col-6 col-12 sm-py2 px2 center">
            <img src="/images/jobs/map.png" style={{ width: '100%' }} />
        </div>
    );
    const missionStatementStyle = !isSmallScreen ? { height: 364, lineHeight: '364px' } : undefined;
    const missionStatement = (
        <div className="col lg-col-6 md-col-6 col-12 center" style={missionStatementStyle}>
            <div
                className="mx-auto inline-block align-middle"
                style={{ maxWidth: 385, lineHeight: '44px', textAlign: 'center' }}
            >
                <div className="h2 sm-center sm-pt3" style={{ fontFamily: 'Roboto Mono' }}>
                    Our Mission
                </div>
                <div
                    className="pb2 lg-pt2 md-pt2 sm-pt3 sm-px3 h4 sm-center"
                    style={{ fontFamily: 'Roboto', lineHeight: 2, maxWidth: 537 }}
                >
                    We believe a system can exist in which all world value is accessible to anyone, anywhere, regardless
                    of where you happen to be born.
                </div>
            </div>
        </div>
    );
    return (
        <div
            className="container lg-py4 md-py4"
            style={{ backgroundColor: colors.jobsPageBackground, color: colors.black }}
        >
            <div className="mx-auto clearfix sm-py4">
                {isSmallScreen ? (
                    <div>
                        {missionStatement}
                        {image}
                    </div>
                ) : (
                    <div>
                        {image}
                        {missionStatement}
                    </div>
                )}
            </div>
        </div>
    );
};