-
-
-
-
- Login
-
-
Sign in to your Biergarten account
-
-
- {actionData?.error && (
-
- {actionData.error}
-
- )}
-
-
-
-
+
+
+
+
Sign in
+
Sign in to your Biergarten account
+
+ {actionData?.error && (
+
+ {actionData.error}
+
+ )}
+
+
+
+
-
+
);
};
diff --git a/web/frontend/app/features/auth/routes/register.tsx b/web/frontend/app/features/auth/routes/register.tsx
index 1d14db2a..d5be11ec 100644
--- a/web/frontend/app/features/auth/routes/register.tsx
+++ b/web/frontend/app/features/auth/routes/register.tsx
@@ -2,7 +2,8 @@ import { zodResolver } from '@hookform/resolvers/zod';
import { useForm } from 'react-hook-form';
import { redirect, useNavigation, useSubmit } from 'react-router';
import { createAuthSession, getOptionalAuth, register } from '../auth.server';
-import LoginCallout from '../components/LoginCallout';
+import AuthSplitLayout from '../components/AuthSplitLayout';
+import AuthSwitchPrompt from '../components/AuthSwitchPrompt';
import RegisterForm from '../components/RegisterForm';
import { useActionErrorToast } from '../hooks/useActionErrorToast';
import { registerSchema, type RegisterSchema } from '../schemas';
@@ -75,31 +76,32 @@ const Register = ({ actionData }: Route.ComponentProps) => {
useActionErrorToast(actionData?.error);
return (
-
-
-
-
-
Register
-
Create your Biergarten account
-
-
- {actionData?.error && (
-
- {actionData.error}
-
- )}
-
-
-
-
+
+
+
+
Create your account
+
Create your Biergarten account
+
+ {actionData?.error && (
+
+ {actionData.error}
+
+ )}
+
+
+
+
-
+
);
};