file confirm
This commit is contained in:
parent
c5fefe7ad6
commit
f6d5ea7853
1 changed files with 36 additions and 0 deletions
36
smart-hut/src/views/Confirm.js
Normal file
36
smart-hut/src/views/Confirm.js
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
import React, { Component } from "react";
|
||||||
|
import {
|
||||||
|
Image,
|
||||||
|
Grid,
|
||||||
|
Button,
|
||||||
|
Icon,
|
||||||
|
Header,
|
||||||
|
Container,
|
||||||
|
} from "semantic-ui-react";
|
||||||
|
|
||||||
|
export default class Confirm extends Component {
|
||||||
|
render() {
|
||||||
|
return (
|
||||||
|
<React.Fragment>
|
||||||
|
<Button circular style={{ margin: "2em" }} href="/">
|
||||||
|
<Icon name="arrow alternate circle left" />
|
||||||
|
Go Home{" "}
|
||||||
|
</Button>
|
||||||
|
<Grid
|
||||||
|
textAlign="center"
|
||||||
|
style={{ height: "70vh" }}
|
||||||
|
verticalAlign="middle"
|
||||||
|
>
|
||||||
|
<Grid.Column style={{ maxWidth: 450 }}>
|
||||||
|
<Header as="h2" color="blue" textAlign="center">
|
||||||
|
<Image src="img/logo.png" /> Congratulation!
|
||||||
|
</Header>
|
||||||
|
<Container textAlign="center">
|
||||||
|
<p>{this.props.msg}</p>
|
||||||
|
</Container>
|
||||||
|
</Grid.Column>
|
||||||
|
</Grid>
|
||||||
|
</React.Fragment>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue