diff --git a/autogpt_platform/frontend/src/app/(platform)/auth/auth-code-error/page.tsx b/autogpt_platform/frontend/src/app/(platform)/auth/auth-code-error/page.tsx index 160614d960..8091d9520e 100644 --- a/autogpt_platform/frontend/src/app/(platform)/auth/auth-code-error/page.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/auth/auth-code-error/page.tsx @@ -44,10 +44,7 @@ export default function AuthErrorPage() { return (
- router.push("/login")} - closeButtonText="Back to Login" - /> + router.push("/login")} />
); diff --git a/autogpt_platform/frontend/src/components/auth/EmailNotAllowedModal.tsx b/autogpt_platform/frontend/src/components/auth/EmailNotAllowedModal.tsx index 7b4d28d3ae..37e61ab229 100644 --- a/autogpt_platform/frontend/src/components/auth/EmailNotAllowedModal.tsx +++ b/autogpt_platform/frontend/src/components/auth/EmailNotAllowedModal.tsx @@ -14,7 +14,7 @@ export function EmailNotAllowedModal({ isOpen, onClose }: Props) { >
- +
diff --git a/autogpt_platform/frontend/src/components/auth/WaitlistErrorContent.tsx b/autogpt_platform/frontend/src/components/auth/WaitlistErrorContent.tsx index be4392e20c..9d64738813 100644 --- a/autogpt_platform/frontend/src/components/auth/WaitlistErrorContent.tsx +++ b/autogpt_platform/frontend/src/components/auth/WaitlistErrorContent.tsx @@ -1,50 +1,39 @@ import { Button } from "../atoms/Button/Button"; import { Text } from "../atoms/Text/Text"; -interface WaitlistErrorContentProps { - onClose: () => void; - closeButtonText?: string; - closeButtonVariant?: "primary" | "secondary"; +interface Props { + onBackToLogin?: () => void; } -export function WaitlistErrorContent({ - onClose, - closeButtonText = "Close", - closeButtonVariant = "primary", -}: WaitlistErrorContentProps) { +export function WaitlistErrorContent(props: Props) { return (
- Join the Waitlist + We're in closed beta
- - The AutoGPT Platform is currently in closed beta. Your email address - isn't on our current allowlist for early access. - - - Join our waitlist to get notified when we open up access! + + Looks like your email isn't in our early access list just yet. + Join the waitlist and we will let you know the moment we open up + access!
-
+
- + {props.onBackToLogin ? ( + + ) : null}
- Already signed up for the waitlist? Make sure you're using the - exact same email address you used when signing up. - - - If you're not sure which email you used or need help, contact us - at{" "} + Already joined? Double-check you are using the same email you signed + up with. Need a hand? Emails us at{" "} - reach out on Discord + message us on Discord