frontend/smart-hut/src/views/Confirm.js

40 lines
894 B
JavaScript
Raw Normal View History

2020-05-12 13:18:33 +00:00
import React, { Component } from 'react';
2020-05-10 19:43:30 +00:00
import {
Image,
Grid,
Button,
Icon,
Header,
Container,
2020-05-12 13:18:33 +00:00
} from 'semantic-ui-react';
2020-05-10 19:43:30 +00:00
export default class Confirm extends Component {
render() {
return (
2020-05-12 13:18:33 +00:00
<>
<Button circular style={{ margin: '2em' }} href="/">
2020-05-10 19:43:30 +00:00
<Icon name="arrow alternate circle left" />
2020-05-12 13:18:33 +00:00
Go Home
{' '}
2020-05-10 19:43:30 +00:00
</Button>
<Grid
textAlign="center"
2020-05-12 13:18:33 +00:00
style={{ height: '70vh' }}
2020-05-10 19:43:30 +00:00
verticalAlign="middle"
>
<Grid.Column style={{ maxWidth: 450 }}>
<Header as="h2" color="blue" textAlign="center">
2020-05-12 13:18:33 +00:00
<Image src="img/logo.png" />
{' '}
Congratulation!
2020-05-10 19:43:30 +00:00
</Header>
<Container textAlign="center">
<p>{this.props.msg}</p>
</Container>
</Grid.Column>
</Grid>
2020-05-12 13:18:33 +00:00
</>
2020-05-10 19:43:30 +00:00
);
}
}