{"size": 1350, "ext": "js", "max_stars_repo_path": "src/pages/result-page/result-page.js", "max_stars_repo_name": "oirearviohack/laakarihinta-fi", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/pages/result-page/result-page.js", "max_issues_repo_name": "oirearviohack/laakarihinta-fi", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/pages/result-page/result-page.js", "max_forks_repo_name": "oirearviohack/laakarihinta-fi", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.125, "max_line_length": 140, "alphanum_fraction": 0.5481481481}
import React from 'react';
import Paper from 'material-ui/Paper';
import Typography from 'material-ui/Typography';
import Done from 'material-ui-icons/Done';


const s = {
    resultPanel: {
        display: 'flex',
        width: '100%',
        height: 400,
        alignItems: 'center',
        justifyContent: 'space-around',
        textAlign: 'center',
        padding: 16
    },
    successTick: {
        color: 'green',
        width: 30,
        height: 30
    },
    link: {
        textDecoration: 'underline',
        color: 'blue'
    }
};

const ResultPage = () => (
    <Paper elevation={4} style={s.resultPanel}>
        <div>
            <Typography type="display1" className="u-margin-xxs-bottom">
                <Done style={s.successTick} />
                <span className="u-margin-xxs-left">
                    Onnistunut kuva silmästä!
                </span>
            </Typography>
            <Typography type="body1">
                <span className="u-margin-xxs-right">
                    Olemme lähettäneet kuvan lääkärin tarkasteltavaksi. Kuvaa pääset katsomaan
                </span>
                <a style={s.link} href="https://oda.medidemo.fi/phr/search?serverId=home&pretty=true&resource=DocumentReference">täältä</a>.
            </Typography>
        </div>
    </Paper>
);

export default ResultPage;
