Skip to content

Commit

Permalink
feat: seeds forgot password
Browse files Browse the repository at this point in the history
  • Loading branch information
cliu02 committed Sep 18, 2024
1 parent 1e21dcd commit 4c74929
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/javascript/pages/account/components/PasswordFieldset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Field, FieldProps, t } from "@bloom-housing/ui-components"
import React from "react"
import { UseFormMethods, Validate } from "react-hook-form"
import Fieldset from "./Fieldset"
import { Icon } from "@bloom-housing/ui-seeds"
import { Icon, Link } from "@bloom-housing/ui-seeds"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import { faCheck, faXmark } from "@fortawesome/free-solid-svg-icons"
import { faEye, faEyeSlash } from "@fortawesome/free-regular-svg-icons"
Expand Down Expand Up @@ -194,9 +194,9 @@ const PasswordFieldset = ({
register={register}
className="mb-1"
/>
<div className="forgot-password-link">
<a href="/forgot-password">{t("signIn.forgotPassword")}</a>
</div>
<Link href="/forgot-password" className="forgot-password-link">
{t("signIn.forgotPassword")}
</Link>
<div className={`new-password-label pt-4 ${errors.password && "text-alert"}`}>
<label htmlFor="password">{t("label.chooseNewPassword")}</label>
</div>
Expand Down
2 changes: 2 additions & 0 deletions app/javascript/pages/account/styles/account.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
// forgot password link
.forgot-password-link {
font-size: 13px;
text-decoration: none;

}

// date section
Expand Down

0 comments on commit 4c74929

Please sign in to comment.