From 853b15a63e043b15ab53c464d584594bd980269c Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 24 Jul 2020 21:20:09 -0500 Subject: [PATCH] Updated UnauthorizedModal styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - UnauthorizedModal styles --- .../components/modal/unauthorized_modal.js | 51 ++++++++++--------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/app/javascript/gabsocial/components/modal/unauthorized_modal.js b/app/javascript/gabsocial/components/modal/unauthorized_modal.js index 958a0e96..7bb4439f 100644 --- a/app/javascript/gabsocial/components/modal/unauthorized_modal.js +++ b/app/javascript/gabsocial/components/modal/unauthorized_modal.js @@ -5,11 +5,9 @@ import Text from '../text' import Button from '../button' const messages = defineMessages({ - close: { id: 'lightbox.close', defaultMessage: 'Close' }, signup: { id: 'unauthorized_modal.title', defaultMessage: 'Sign up for Gab' }, text: { id: 'unauthorized_modal.text', defaultMessage: 'You need to be logged in to do that.' }, register: { id: 'account.register', defaultMessage: 'Sign up' }, - alreadyHaveAccount: { id: 'unauthorized_modal.footer', defaultMessage: 'Already have an account? {login}.' }, login: { id: 'account.login', defaultMessage: 'Log in' }, }) @@ -27,32 +25,39 @@ class UnauthorizedModal extends ImmutablePureComponent { return ( -
- - {intl.formatMessage(messages.text)} - - -
-
- - { - intl.formatMessage(messages.login, { - login: ( - - ) - }) - } - +
+
+ + {intl.formatMessage(messages.text)} + + + + + +
) } + } \ No newline at end of file