dashboard-v2: CSS fixes on signup page
This commit is contained in:
parent
10dde68875
commit
ea8a63f328
|
@ -73,11 +73,17 @@ const SignUpPage = () => {
|
||||||
{settings.isSubscriptionRequired ? <PaidPortalHeader /> : <FreePortalHeader />}
|
{settings.isSubscriptionRequired ? <PaidPortalHeader /> : <FreePortalHeader />}
|
||||||
|
|
||||||
{state !== State.Success && (
|
{state !== State.Success && (
|
||||||
|
<>
|
||||||
<SignUpForm onSuccess={() => setState(State.Success)} onFailure={() => setState(State.Failure)} />
|
<SignUpForm onSuccess={() => setState(State.Success)} onFailure={() => setState(State.Failure)} />
|
||||||
|
|
||||||
|
<p className="text-sm text-center mt-8">
|
||||||
|
Already have an account? <HighlightedLink to="/auth/login">Sign in</HighlightedLink>
|
||||||
|
</p>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{state === State.Success && (
|
{state === State.Success && (
|
||||||
<div className="text-center">
|
<div>
|
||||||
<p className="text-primary font-semibold">Please check your inbox and confirm your email address.</p>
|
<p className="text-primary font-semibold">Please check your inbox and confirm your email address.</p>
|
||||||
<p>You will be redirected to your dashboard shortly.</p>
|
<p>You will be redirected to your dashboard shortly.</p>
|
||||||
<HighlightedLink to="/">Click here to go there now.</HighlightedLink>
|
<HighlightedLink to="/">Click here to go there now.</HighlightedLink>
|
||||||
|
@ -89,10 +95,6 @@ const SignUpPage = () => {
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<p className="text-sm text-center mt-8">
|
|
||||||
Already have an account? <HighlightedLink to="/auth/login">Sign in</HighlightedLink>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</PlansProvider>
|
</PlansProvider>
|
||||||
);
|
);
|
||||||
|
|
Reference in New Issue