diff --git a/src/app/(auth)/confirm-reset-password/page.tsx b/src/app/(auth)/confirm-reset-password/page.tsx index 9b7eac11..62d6b0e1 100644 --- a/src/app/(auth)/confirm-reset-password/page.tsx +++ b/src/app/(auth)/confirm-reset-password/page.tsx @@ -1,19 +1,18 @@ 'use client'; import { BigBlueLinkButton } from '@/components/Buttons'; -import { SmallCard } from '@/styles/containers'; +import { Flex, SmallCard } from '@/styles/containers'; import { H2, H4 } from '@/styles/text'; -import { SpacerDiv } from '../styles'; export default function ConfirmResetPassword() { return ( - +

Your password has been reset.

Go to Log In

-
+
); } diff --git a/src/app/(auth)/email-verified/page.tsx b/src/app/(auth)/email-verified/page.tsx index 65d15a2f..50f2729f 100644 --- a/src/app/(auth)/email-verified/page.tsx +++ b/src/app/(auth)/email-verified/page.tsx @@ -1,19 +1,18 @@ 'use client'; -import { SpacerDiv } from '@/app/(auth)/styles'; import { BigBlueLinkButton } from '@/components/Buttons'; -import { SmallCard } from '@/styles/containers'; +import { Flex, SmallCard } from '@/styles/containers'; import { H2 } from '@/styles/text'; export default function EmailVerified() { return ( - +

Your email has been verified!

Go to Onboarding -
+
); } diff --git a/src/app/(auth)/forgot-password/page.tsx b/src/app/(auth)/forgot-password/page.tsx index ab622e68..42bab1e7 100644 --- a/src/app/(auth)/forgot-password/page.tsx +++ b/src/app/(auth)/forgot-password/page.tsx @@ -3,11 +3,11 @@ import { useState } from 'react'; import isEmail from 'validator/lib/isEmail'; import supabase from '@/api/supabase/createClient'; -import { HorizontalDiv, SpacerDiv } from '@/app/(auth)/styles'; +import { HorizontalDiv } from '@/app/(auth)/styles'; import { BigBlueButton, Button } from '@/components/Buttons'; import TextInput from '@/components/TextInput/index'; import COLORS from '@/styles/colors'; -import { SmallCardForm } from '@/styles/containers'; +import { Flex, SmallCardForm } from '@/styles/containers'; import { H1, H2, H4, P } from '@/styles/text'; export default function ForgotPassword() { @@ -49,7 +49,7 @@ export default function ForgotPassword() { ) : ( - +

A password reset link has been sent to your email.

This link will direct you to the next step. If you didn’t receive an @@ -67,7 +67,7 @@ export default function ForgotPassword() {

Email has been resent!

)} - + ); } diff --git a/src/app/(auth)/login/page.tsx b/src/app/(auth)/login/page.tsx index 0fda5827..487da924 100644 --- a/src/app/(auth)/login/page.tsx +++ b/src/app/(auth)/login/page.tsx @@ -3,11 +3,11 @@ import { useContext, useState } from 'react'; import { useRouter } from 'next/navigation'; import isEmail from 'validator/lib/isEmail'; -import { H4Centered, SpacerDiv } from '@/app/(auth)/styles'; +import { H4Centered } from '@/app/(auth)/styles'; import { BigBlueButton } from '@/components/Buttons'; import TextInput from '@/components/TextInput/index'; import COLORS from '@/styles/colors'; -import { SmallCardForm } from '@/styles/containers'; +import { Flex, SmallCardForm } from '@/styles/containers'; import { H1, LinkColored, P } from '@/styles/text'; import { useAuth } from '@/utils/AuthProvider'; import { ProfileContext } from '@/utils/ProfileProvider'; @@ -52,12 +52,12 @@ export default function Login() { return ( - +

Log In

{errorMessage !== '' &&

{errorMessage}

} -
- - + + + - +

Forgot your password?

-
- + + Log in Don’t have an account yet?{' '} @@ -91,7 +91,7 @@ export default function Login() { Sign up - +
); } diff --git a/src/app/(auth)/reset-password/page.tsx b/src/app/(auth)/reset-password/page.tsx index 056ee136..e804229b 100644 --- a/src/app/(auth)/reset-password/page.tsx +++ b/src/app/(auth)/reset-password/page.tsx @@ -4,12 +4,11 @@ import { useEffect, useState } from 'react'; import { useRouter } from 'next/navigation'; import supabase from '@/api/supabase/createClient'; import { verifyUserPassword } from '@/api/supabase/queries/password'; -import { SpacerDiv } from '@/app/(auth)/styles'; import { BigBlueButton } from '@/components/Buttons'; import PasswordComplexity from '@/components/PasswordComplexity'; import TextInput from '@/components/TextInput/index'; import COLORS from '@/styles/colors'; -import { SmallCardForm } from '@/styles/containers'; +import { Flex, SmallCardForm } from '@/styles/containers'; import { H1, H4, P } from '@/styles/text'; import { useAuth } from '@/utils/AuthProvider'; @@ -63,12 +62,12 @@ export default function ResetPassword() { return canReset ? ( - +

Set New Password

{errorMessage !== '' &&

{errorMessage}

} -
- - + + + - + - +

Set Password

diff --git a/src/app/(auth)/signup/page.tsx b/src/app/(auth)/signup/page.tsx index 39454e84..ec70f064 100644 --- a/src/app/(auth)/signup/page.tsx +++ b/src/app/(auth)/signup/page.tsx @@ -3,12 +3,12 @@ import { useState } from 'react'; import isEmail from 'validator/lib/isEmail'; import supabase from '@/api/supabase/createClient'; -import { H4Centered, HorizontalDiv, SpacerDiv } from '@/app/(auth)/styles'; +import { H4Centered, HorizontalDiv } from '@/app/(auth)/styles'; import { BigBlueButton, Button } from '@/components/Buttons'; import PasswordComplexity from '@/components/PasswordComplexity'; import TextInput from '@/components/TextInput/index'; import COLORS from '@/styles/colors'; -import { SmallCardForm } from '@/styles/containers'; +import { Flex, SmallCardForm } from '@/styles/containers'; import { H1, H2, H4, LinkColored, P } from '@/styles/text'; import { useAuth } from '@/utils/AuthProvider'; @@ -78,12 +78,12 @@ export default function SignUp() { <> {!emailSentCount && ( - +

Sign Up

{errorMessage !== '' && (

{errorMessage}

)} -
+ - + - + - + Sign Up Have an account already?{' '} @@ -124,12 +124,12 @@ export default function SignUp() { Log In - +
)} {emailSentCount > 0 && ( - +

An email verification link has been sent.

This link will direct you to the next step. If you didn’t receive @@ -147,7 +147,7 @@ export default function SignUp() {

Email has been resent!

)} - + )}