-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add sign-in copy for mandated accounts * refactor: signUpBenefits component * feat(component): allow classNames to be applied and overridden * feat: allow Sign Copy to be mobile responsive * feat: show and hide correct layout based on screen size * refactor: signUpBenefits component * fix: 3753 fix typescript errors * fix: fix null errors * fix: remove type cast * fix: fix import * fix: 3753 remove duplicate sign in form * fix: add feature toggle * fix: clean up sign-in page * fix: address issue with email input losing focus * fix: add feature toggle * fix: remvoe MA flag from circleCI * fix: sort strings * refactor: signUpBenefitsHeadingGroup component * fix: style fixes * fix: adjust padding * refactor: clean up classNames
- Loading branch information
1 parent
42cd7fe
commit 9f35e7e
Showing
5 changed files
with
108 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { Icon } from "@bloom-housing/ui-seeds" | ||
import { faStopwatch, faEye, faLock } from "@fortawesome/free-solid-svg-icons" | ||
import { t } from "@bloom-housing/ui-components" | ||
|
||
type SignUpBenefitsProps = { | ||
className?: string | ||
idTag?: string | ||
} | ||
const SignUpBenefits = (props: SignUpBenefitsProps) => { | ||
const iconListItems = [ | ||
{ icon: faStopwatch, text: t("account.signUpSaveTime.applyFaster") }, | ||
{ icon: faEye, text: t("account.signUpSaveTime.checkStatus") }, | ||
{ icon: faLock, text: t("account.signUpSaveTime.resetPassword") }, | ||
] | ||
const classNames = ["flex flex-col pt-6 pb-6 pr-4 pl-4 md:p-0"] | ||
if (props.className) classNames.push(props.className) | ||
return ( | ||
<ul className={classNames.join(" ")}> | ||
{iconListItems.map((item) => ( | ||
<li className="flex flex-row mb-2 items-center" key={`${item.text}-${props.idTag}`}> | ||
<Icon | ||
icon={item.icon} | ||
size="xl" | ||
className="border border-white bg-white rounded-full p-2.5" | ||
/> | ||
<p className="ml-3">{item.text}</p> | ||
</li> | ||
))} | ||
</ul> | ||
) | ||
} | ||
|
||
export default SignUpBenefits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters