Fix layout on user pages

This commit is contained in:
Andrew Nicolaou 2019-06-04 14:57:48 +02:00 committed by Cassie Tarakajian
parent 1f95718f58
commit eb4846c3c2
5 changed files with 112 additions and 102 deletions

View file

@ -65,7 +65,8 @@ class EmailVerificationView extends React.Component {
} }
return ( return (
<div className="form-container user"> <div className="user">
<div className="form-container">
<Helmet> <Helmet>
<title>p5.js Web Editor | Email Verification</title> <title>p5.js Web Editor | Email Verification</title>
</Helmet> </Helmet>
@ -82,6 +83,7 @@ class EmailVerificationView extends React.Component {
{status} {status}
</div> </div>
</div> </div>
</div>
); );
} }
} }

View file

@ -34,7 +34,8 @@ class LoginView extends React.Component {
return null; return null;
} }
return ( return (
<div className="form-container user"> <div className="user">
<div className="form-container">
<Helmet> <Helmet>
<title>p5.js Web Editor | Login</title> <title>p5.js Web Editor | Login</title>
</Helmet> </Helmet>
@ -62,6 +63,7 @@ class LoginView extends React.Component {
</p> </p>
</div> </div>
</div> </div>
</div>
); );
} }
} }

View file

@ -35,6 +35,7 @@ class NewPasswordView extends React.Component {
'user': true 'user': true
}); });
return ( return (
<div className="user">
<div className={newPasswordClass}> <div className={newPasswordClass}>
<Helmet> <Helmet>
<title>p5.js Web Editor | New Password</title> <title>p5.js Web Editor | New Password</title>
@ -55,6 +56,7 @@ class NewPasswordView extends React.Component {
</p> </p>
</div> </div>
</div> </div>
</div>
); );
} }
} }

View file

@ -34,6 +34,7 @@ class ResetPasswordView extends React.Component {
'user': true 'user': true
}); });
return ( return (
<div className="user">
<div className={resetPasswordClass}> <div className={resetPasswordClass}>
<Helmet> <Helmet>
<title>p5.js Web Editor | Reset Password</title> <title>p5.js Web Editor | Reset Password</title>
@ -60,6 +61,7 @@ class ResetPasswordView extends React.Component {
</p> </p>
</div> </div>
</div> </div>
</div>
); );
} }
} }

View file

@ -34,7 +34,8 @@ class SignupView extends React.Component {
return null; return null;
} }
return ( return (
<div className="form-container user"> <div className="user">
<div className="form-container">
<Helmet> <Helmet>
<title>p5.js Web Editor | Signup</title> <title>p5.js Web Editor | Signup</title>
</Helmet> </Helmet>
@ -55,6 +56,7 @@ class SignupView extends React.Component {
</p> </p>
</div> </div>
</div> </div>
</div>
); );
} }
} }