Skip to content

Commit

Permalink
fix: improve copy and design
Browse files Browse the repository at this point in the history
  • Loading branch information
vhcsilva committed Sep 6, 2024
1 parent f71c717 commit 0ab827f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion components/profile/notification-form/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";

import {useTranslation} from "next-i18next";

import DoneIcon from "assets/icons/done-icon";
import InfoIconEmpty from "assets/icons/info-icon-empty";

import Button from "components/button";
Expand Down Expand Up @@ -137,7 +138,10 @@ export default function NotificationFormView({
<If condition={isEmailConfirmed && !emailVerificationError}>
<div className="row align-items-center mt-2">
<div className="col">
<span className="text-info xs-medium font-weight-normal">
<span className="text-green-500 xs-medium">
<DoneIcon className="mr-1" />
</span>
<span className="text-green-500 xs-medium font-weight-normal">
{t("profile:notifications-form.email-confirmed")}
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"invalid-email": "Invalid email",
"re-send-email": "A confirmation email was sent, please check your inbox and spam box.",
"re-send": "Re-send",
"email-confirmed": "This email was confirmed successfully.",
"email-confirmed": "Email verified",
"success-toast": {
"title": "Success",
"content": "Email confirmed",
Expand Down

0 comments on commit 0ab827f

Please sign in to comment.