From eb4846c3c28e02dc6b6d1e9f9b662efcda5c53b8 Mon Sep 17 00:00:00 2001 From: Andrew Nicolaou Date: Tue, 4 Jun 2019 14:57:48 +0200 Subject: [PATCH] Fix layout on user pages --- .../User/pages/EmailVerificationView.jsx | 32 +++++------ client/modules/User/pages/LoginView.jsx | 54 ++++++++++--------- client/modules/User/pages/NewPasswordView.jsx | 38 ++++++------- .../modules/User/pages/ResetPasswordView.jsx | 50 ++++++++--------- client/modules/User/pages/SignupView.jsx | 40 +++++++------- 5 files changed, 112 insertions(+), 102 deletions(-) diff --git a/client/modules/User/pages/EmailVerificationView.jsx b/client/modules/User/pages/EmailVerificationView.jsx index 49d3b7fa..55b5a1f3 100644 --- a/client/modules/User/pages/EmailVerificationView.jsx +++ b/client/modules/User/pages/EmailVerificationView.jsx @@ -65,21 +65,23 @@ class EmailVerificationView extends React.Component { } return ( -
- - p5.js Web Editor | Email Verification - -
- - -
-
-

Verify your email

- {status} +
+
+ + p5.js Web Editor | Email Verification + +
+ + +
+
+

Verify your email

+ {status} +
); diff --git a/client/modules/User/pages/LoginView.jsx b/client/modules/User/pages/LoginView.jsx index 9e0b3656..4ce4ab8d 100644 --- a/client/modules/User/pages/LoginView.jsx +++ b/client/modules/User/pages/LoginView.jsx @@ -34,32 +34,34 @@ class LoginView extends React.Component { return null; } return ( -
- - p5.js Web Editor | Login - -
- - -
-
-

Log In

- -

Or

- - -

- Don't have an account?  - Sign Up -

-

- Forgot your password?  - Reset your password -

+
+
+ + p5.js Web Editor | Login + +
+ + +
+
+

Log In

+ +

Or

+ + +

+ Don't have an account?  + Sign Up +

+

+ Forgot your password?  + Reset your password +

+
); diff --git a/client/modules/User/pages/NewPasswordView.jsx b/client/modules/User/pages/NewPasswordView.jsx index 6fcd1bde..32b9ae91 100644 --- a/client/modules/User/pages/NewPasswordView.jsx +++ b/client/modules/User/pages/NewPasswordView.jsx @@ -35,24 +35,26 @@ class NewPasswordView extends React.Component { 'user': true }); return ( -
- - p5.js Web Editor | New Password - -
- - -
-
-

Set a New Password

- -

- The password reset token is invalid or has expired. -

+
+
+ + p5.js Web Editor | New Password + +
+ + +
+
+

Set a New Password

+ +

+ The password reset token is invalid or has expired. +

+
); diff --git a/client/modules/User/pages/ResetPasswordView.jsx b/client/modules/User/pages/ResetPasswordView.jsx index 2dfae858..c6db189a 100644 --- a/client/modules/User/pages/ResetPasswordView.jsx +++ b/client/modules/User/pages/ResetPasswordView.jsx @@ -34,30 +34,32 @@ class ResetPasswordView extends React.Component { 'user': true }); return ( -
- - p5.js Web Editor | Reset Password - -
- - -
-
-

Reset Your Password

- -

- Your password reset email should arrive shortly. If you don't see it, check - in your spam folder as sometimes it can end up there. -

-

- Log In -  or  - Sign Up -

+
+
+ + p5.js Web Editor | Reset Password + +
+ + +
+
+

Reset Your Password

+ +

+ Your password reset email should arrive shortly. If you don't see it, check + in your spam folder as sometimes it can end up there. +

+

+ Log In +  or  + Sign Up +

+
); diff --git a/client/modules/User/pages/SignupView.jsx b/client/modules/User/pages/SignupView.jsx index c8d168f5..bcd98a3a 100644 --- a/client/modules/User/pages/SignupView.jsx +++ b/client/modules/User/pages/SignupView.jsx @@ -34,25 +34,27 @@ class SignupView extends React.Component { return null; } return ( -
- - p5.js Web Editor | Signup - -
- - -
-
-

Sign Up

- -

- Already have an account?  - Log In -

+
+
+ + p5.js Web Editor | Signup + +
+ + +
+
+

Sign Up

+ +

+ Already have an account?  + Log In +

+
);