From 989b1800faf2108eea3bfb9ec334f8d5ca01164c Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 9 May 2022 13:02:12 -0400 Subject: [PATCH] Add CTA banner to the bottom of the page --- app/soapbox/components/ui/text/text.tsx | 2 +- .../features/ui/components/sign_up_panel.tsx | 48 ++++++++++++++----- 2 files changed, 36 insertions(+), 14 deletions(-) diff --git a/app/soapbox/components/ui/text/text.tsx b/app/soapbox/components/ui/text/text.tsx index 5ecfadf39..072491109 100644 --- a/app/soapbox/components/ui/text/text.tsx +++ b/app/soapbox/components/ui/text/text.tsx @@ -31,7 +31,7 @@ const weights = { const sizes = { xs: 'text-xs', sm: 'text-sm', - md: 'text-md', + md: 'text-base', lg: 'text-lg', xl: 'text-xl', '2xl': 'text-2xl', diff --git a/app/soapbox/features/ui/components/sign_up_panel.tsx b/app/soapbox/features/ui/components/sign_up_panel.tsx index 2a54c5c11..0aa09c25f 100644 --- a/app/soapbox/features/ui/components/sign_up_panel.tsx +++ b/app/soapbox/features/ui/components/sign_up_panel.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { FormattedMessage } from 'react-intl'; -import { Button, Stack, Text } from 'soapbox/components/ui'; +import { Button, HStack, Stack, Text } from 'soapbox/components/ui'; import { useAppSelector, useSoapboxConfig } from 'soapbox/hooks'; const SignUpPanel = () => { @@ -12,21 +12,43 @@ const SignUpPanel = () => { if (me || singleUserMode) return null; return ( - - - - - +
+ + + + + - - - + + + + + + - - +
+
+ + + + + + + + + + + + + +
+
+
); };