-
- Reset Password
-
- {!requestSent ? (
- <>
-
- Review your email address below. You’ll receive a "Reset password" email to this
- address.
-
-
- >
- ) : (
- <>
-
- We sent a reset link to {`${email}`}. Please check your inbox and spam.
-
-
- {!requestSentAgain && Didn’t receive an email?}
-
-
- >
+
+ Reset Password
+ {!requestSent ? (
+ <>
+
+ Review your email address below. You’ll receive a "Reset password" email to this
+ address.
+
+
+
+
+ Back to Log in
+
+
+ >
+ ) : (
+ <>
+
+ We sent a reset link to {`${email}`}. Please check your inbox and spam.
+
+
-
- You are signed up for Building Updates for {subscriptionsNumber}{" "}
- . Click below to
- unsubscribe from all and stop receiving Building Updates.
-
-
-
+ Unsubscribe
+
+ You are signed up for Building Updates for {subscriptionsNumber}{" "}
+ . Click below to
+ unsubscribe from all and stop receiving Building Updates.
+
+
>
);
const renderManageSubscriptionsPage = () => (
<>
- Manage Subscriptions
-
+ Manage Subscriptions
+
There {subscriptionsNumber}{" "}
in your weekly
updates
@@ -89,12 +87,9 @@ const UnsubscribePage = withI18n()((props: withI18nProps) => {
const renderNoSubscriptionsPage = () => (
<>
- You are not subscribed to any buildings
-
-
- Search for an address
- {" "}
- to add to your Building Updates
+ You are not subscribed to any buildings
+
+ Search for an address to add to Building Updates
>
);
@@ -112,13 +107,8 @@ const UnsubscribePage = withI18n()((props: withI18nProps) => {
) : (
renderManageSubscriptionsPage()
)}
- {isEmailUnsubscribeAll && (
-
- Contact support@justfix.org to delete your account or get help
-
- )}
+
{isEmailResent ? (
- Click the link we sent to your email to start receiving emails.
+ Click the link we sent to your email to start receiving emails.
) : (
- The verification link that we sent you is no longer valid.
+ The verification link that we sent you is no longer valid.
)}
{
setIsEmailResent(await AuthClient.resendVerifyEmail(token));
}}
@@ -80,56 +63,34 @@ const VerifyEmailPage = withI18n()((props: withI18nProps) => {
// TODO add error logging
const errorPage = () => (
-
- We’re having trouble verifying your email at this time.
-
-
+ <>
+ We’re having trouble verifying your email at this time.
+
Please try again later. If you’re still having issues, contact support@justfix.org.
-
+ >
);
const successPage = () => (
-
- Email address verified
-
- You can now start receiving Building Updates
-
+ <>
+ Email address verified
+ You can now start receiving Building Updates
+ >
);
- const alreadyVerifiedPage = () => (
-
- Your email is already verified
-
- You will be redirected back to Who Owns What in:
-
- {updateCountdown()}
-
- {delaySeconds} seconds
-
-
-
- If you are not redirected, please click this link:
-
- {redirectUrl}
-
- );
+ const alreadyVerifiedPage = () => Your email is already verified;
return (
-
-