This commit is contained in:
Fil Cesana 2020-03-24 17:37:05 +01:00
parent b00f803670
commit 733d2ee44f
2 changed files with 93 additions and 111 deletions

View file

@ -5,14 +5,11 @@ import {
BrowserView,
MobileView,
isBrowser,
isMobile
isMobile,
} from "react-device-detect";
const AvatarImage = () => (
<Image
src="avatar3.png"
style={{ width: "25px", height: "auto" }}
centered />
<Image src="avatar3.png" style={{ width: "25px", height: "auto" }} centered />
);
const IconHomeImage = () => (
@ -35,13 +32,7 @@ const IconHomeImageMobile = () => (
/>
);
const TitleImage = () => (
<Image
src="title7.png"
size="medium"
centered
/>
);
const TitleImage = () => <Image src="title7.png" size="medium" centered />;
const BrowserStructure = (props) => (
<Grid columns="equal" divided inverted padded>
@ -113,13 +104,6 @@ const MobileStructure = (props) => (
</Grid>
);
export default class MyHeader extends React.Component {
render() {
return (

View file

@ -16,11 +16,13 @@ class Paragraph extends Component {
render() {
if (this.state.visible) {
return (
<Message
onDismiss={this.handleDismiss}
header="Congratulation!"
content="Your password has been succesffuly reset"
/>
<Message onDismiss={this.handleDismiss}>
<Message.Header>
Congratulation<ins>s</ins>!
</Message.Header>
Your password has been <del>succesffuly</del>
<ins>successfully</ins> reset
</Message>
);
}
@ -71,10 +73,6 @@ class Paragraph extends Component {
</Grid>
);
export default class ConfirmResetPassword extends Component {
render() {
return <MessageReg />;