diff --git a/compass/app/auth/forgot_password/page.tsx b/compass/app/auth/forgot_password/page.tsx index fcfafc2..555f0cd 100644 --- a/compass/app/auth/forgot_password/page.tsx +++ b/compass/app/auth/forgot_password/page.tsx @@ -32,16 +32,6 @@ export default function ForgotPasswordPage() { return ( <> - -
{ - e.preventDefault(); - // submit form logic here. since it's a "forgot password" form, - // typically you would send a reset password link to the email provided. - console.log('Form submitted with email:', confirmEmail); - }} - className="mb-0 m-auto mt-6 space-y-4 rounded-lg p-4 shadow-lg sm:p-6 lg:p-8 bg-white max-w-xl" - >

Forgot Password

-
-

- © 2024 Compass Center -

-
+ ); } diff --git a/compass/app/auth/layout.tsx b/compass/app/auth/layout.tsx new file mode 100644 index 0000000..6a6fb96 --- /dev/null +++ b/compass/app/auth/layout.tsx @@ -0,0 +1,22 @@ + +import Paper from '@/components/auth/Paper'; + + +export default function RootLayout({ + // Layouts must accept a children prop. + // This will be populated with nested layouts or pages + children, +}: { + children: React.ReactNode +}) { + return ( + +
+ {children} +
+

+ © 2024 Compass Center +

+
+ ) +} \ No newline at end of file diff --git a/compass/app/auth/login/page.tsx b/compass/app/auth/login/page.tsx index 635205e..5055714 100644 --- a/compass/app/auth/login/page.tsx +++ b/compass/app/auth/login/page.tsx @@ -45,10 +45,6 @@ export default function Page() { return ( <> - -
{ - e.preventDefault(); - }} className="mb-0 m-auto mt-6 space-y-4 rounded-lg p-4 shadow-lg sm:p-6 lg:p-8 bg-white max-w-xl"> Compass Center logo. -
-

- © 2024 Compass Center -

-
+ ); }; diff --git a/compass/app/auth/new_password/page.tsx b/compass/app/auth/new_password/page.tsx index 361b422..3fb3e83 100644 --- a/compass/app/auth/new_password/page.tsx +++ b/compass/app/auth/new_password/page.tsx @@ -26,18 +26,6 @@ export default function Page() { return ( <> - -
{ - e.preventDefault(); - if (newPassword === confirmPassword) { - console.log('Passwords match. Submitting form...'); - } else { - console.log('Passwords do not match. Please try again.'); - } - }} - className="mb-0 m-auto mt-6 space-y-4 rounded-lg p-4 shadow-lg sm:p-6 lg:p-8 bg-white max-w-xl" - >

New Password

@@ -68,9 +56,6 @@ export default function Page() { Send -
-

© 2024 Compass Center

-
); }