From c93e23ac2087193faf537aa0ee0dc8f76e651061 Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Fri, 26 Jan 2024 17:59:49 -0600 Subject: [PATCH] more --- src/Components/SignupPage/SignupPage.js | 54 ++++++++++++++----------- src/styles/signup.scss | 26 +++++++++++- 2 files changed, 55 insertions(+), 25 deletions(-) diff --git a/src/Components/SignupPage/SignupPage.js b/src/Components/SignupPage/SignupPage.js index 2bb0da5..0d7d8cd 100644 --- a/src/Components/SignupPage/SignupPage.js +++ b/src/Components/SignupPage/SignupPage.js @@ -165,6 +165,7 @@ const SignupPage = () => { if (dataValues === null) { return; } + setShowSelectPlan(true); }; async function handleStripeAuthorization( @@ -377,11 +378,14 @@ const SignupPage = () => { {showSelectPlan ? (
-
-
-
Select a subscription
+
+
+
+ Select a subscription plan +
-
+
+

Billed annually

Billed montly

@@ -401,25 +405,6 @@ const SignupPage = () => { ))}
-
-
-
Order summary
-
{`{subVar} subscription type`}
-
{`{subVar} subscription mini description`}
-
{`Total billed today: {subVar} `}
-
Plus aplicable sales tax -toooltip
-
-
-
-
) : ( <> @@ -444,3 +429,26 @@ const SignupPage = () => { }; export default SignupPage; + +/* + +
+
+
Order summary
+
{`{subVar} subscription type`}
+
{`{subVar} subscription mini description`}
+
{`Total billed today: {subVar} `}
+
Plus aplicable sales tax -toooltip
+
+
+
+
+ */ diff --git a/src/styles/signup.scss b/src/styles/signup.scss index 179a5ac..5f1a0c7 100644 --- a/src/styles/signup.scss +++ b/src/styles/signup.scss @@ -64,11 +64,33 @@ height: 600px; } +.select-plan-header { + display: flex; + flex-direction: row; + width: 900px; +} + +.plan-header-right { + background-color: red; + padding: 12px 0px; + width: 50%; +} + +.plan-header-left { + background-color: red; + padding: 12px 0px; + width: 50%; +} + .select-sub-left { - width: 60%; + display: flex; + flex-direction: column; + align-items: center; + margin-top: 45px; + width: 100%; + padding: 12px; border-radius: 10px; background-color: rgb(240, 247, 250); - margin-right: 8px; border: 1px solid #e9e9e9; padding: 6px; }