8000 feat: update card footers in Common App to use new styles by jaredcwhite · Pull Request #4926 · bloom-housing/bloom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: update card footers in Common App to use new styles #4926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion sites/public/src/pages/applications/household/member.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,10 @@ const ApplicationMember = () => {
</div>
</CardSection>

<CardSection divider={"flush"} className={"bg-primary-lighter border-none"}>
<CardSection
divider={"flush"}
className={`${styles["application-form-action-footer"]} border-none`}
>
<Button id={"app-household-member-save"} type={"submit"} variant={"primary"}>
{saveText}
</Button>
Expand Down
6 changes: 5 additions & 1 deletion sites/public/src/pages/applications/review/confirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
} from "@bloom-housing/shared-helpers"
import { Button, Heading, Link } from "@bloom-housing/ui-seeds"
import FormsLayout from "../../../layouts/forms"
import styles from "../../../layouts/application-form.module.scss"
import { AppSubmissionContext } from "../../../lib/applications/AppSubmissionContext"
import { UserStatus } from "../../../lib/constants"
import { ReviewOrderTypeEnum } from "@bloom-housing/shared-helpers/src/types/backend-swagger"
Expand Down Expand Up @@ -110,7 +111,10 @@ const ApplicationConfirmation = () => {
)}

{initialStateLoaded && !profile && (
<CardSection className={"bg-primary-lighter border-none"} divider={"flush"}>
<CardSection
className={`${styles["application-form-action-footer"]} border-none`}
divider={"flush"}
>
<Button
variant={"primary"}
=> {
Expand Down
2 changes: 1 addition & 1 deletion sites/public/src/pages/applications/review/summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const ApplicationSummary = () => {
<p className="field-note text-gray-800">{t("application.review.lastChanceToEdit")}</p>
</CardSection>

<CardSection className={"bg-primary-lighter"}>
<CardSection className={styles["application-form-action-footer"]}>
<Button
variant={"primary"}
id={"app-summary-confirm"}
Expand Down
3 changes: 2 additions & 1 deletion sites/public/src/pages/applications/review/terms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
ReviewOrderTypeEnum,
} from "@bloom-housing/shared-helpers/src/types/backend-swagger"
import ApplicationFormLayout from "../../../layouts/application-form"
import styles from "../../../layouts/application-form.module.scss"
import { Button } from "@bloom-housing/ui-seeds"

const ApplicationTerms = () => {
Expand Down Expand Up @@ -202,7 +203,7 @@ const ApplicationTerms = () => {
</div>
</div>
</CardSection>
<CardSection className={"bg-primary-lighter"}>
<CardSection className={styles["application-form-action-footer"]}>
<Button
loadingMessage={
submitting ? t("application.review.terms.submittingApplication") : null
Expand Down
3 changes: 2 additions & 1 deletion sites/public/src/pages/applications/start/autofill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import AutofillCleaner from "../../../lib/applications/appAutofill"
import { UserStatus } from "../../../lib/constants"
import { Application } from "@bloom-housing/shared-helpers/src/types/backend-swagger"
import ApplicationFormLayout from "../../../layouts/application-form"
import styles from "../../../layouts/application-form.module.scss"
import { Button } from "@bloom-housing/ui-seeds"
import { CardSection } from "@bloom-housing/ui-seeds/src/blocks/Card"

Expand Down Expand Up @@ -112,7 +113,7 @@ export default () => {
<Form >
<CardSection
id={"application-initial-page"}
className={"bg-primary-lighter border-none"}
className={`${styles["application-form-action-footer"]} border-none`}
divider={"flush"}
>
<Button
Expand Down
4 changes: 2 additions & 2 deletions sites/public/src/pages/applications/start/choose-language.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const ApplicationChooseLanguage = () => {

{initialStateLoaded && !profile && (
<>
<CardSection divider={"flush"} className={"bg-primary-lighter"}>
<CardSection divider={"flush"} className={styles["application-form-action-footer"]}>
<Heading priority={2} size={"2xl"} className={"pb-4"}>
{t("account.haveAnAccount")}
</Heading>
Expand All @@ -222,7 +222,7 @@ const ApplicationChooseLanguage = () => {
{t("nav.signIn")}
</Button>
</CardSection>
<CardSection divider={"flush"} className={"bg-primary-lighter"}>
<CardSection divider={"flush"} className={styles["application-form-action-footer"]}>
<Heading priority={2} size={"2xl"} className={"pb-4"}>
{t("authentication.createAccount.noAccount")}
</Heading>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Form, t } from "@bloom-housing/ui-components"
import React, { useContext, useEffect } from "react"

import ApplicationFormLayout from "../../../layouts/application-form"
import styles from "../../../layouts/application-form.module.scss"
import { Button } from "@bloom-housing/ui-seeds"
import { CardSection } from "@bloom-housing/ui-seeds/src/blocks/Card"
import FormsLayout from "../../../layouts/forms"
Expand Down Expand Up @@ -49,7 +50,7 @@ const ApplicationCommunityDisclaimer = () => {
<br />
</CardSection>

<CardSection className="bg-primary-lighter">
<CardSection className={styles["application-form-action-footer"]}>
<Form >
<Button type="submit" variant="primary" id="app-next-step-button">
{t("t.next")}
Expand Down
5 changes: 3 additions & 2 deletions sites/public/src/pages/applications/start/what-to-expect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ import Markdown from "markdown-to-jsx"
import { ReviewOrderTypeEnum } from "@bloom-housing/shared-helpers/src/types/backend-swagger"
import { t, Form } from "@bloom-housing/ui-components"
import { OnClientSide, PageView, pushGtmEvent, AuthContext } from "@bloom-housing/shared-helpers"
import { Button } from "@bloom-housing/ui-seeds"
import { CardSection } from "@bloom-housing/ui-seeds/src/blocks/Card"
import FormsLayout from "../../../layouts/forms"
import { useFormConductor } from "../../../lib/hooks"
import { UserStatus } from "../../../lib/constants"
import ApplicationFormLayout from "../../../layouts/application-form"
import { Button } from "@bloom-housing/ui-seeds"
import styles from "../../../layouts/application-form.module.scss"

const ApplicationWhatToExpect = () => {
const { profile } = useContext(AuthContext)
Expand Down Expand Up @@ -107,7 +108,7 @@ const ApplicationWhatToExpect = () => {
</Markdown>
</div>
</CardSection>
<CardSection className={"bg-primary-lighter"}>
<CardSection className={styles["application-form-action-footer"]}>
<Form >
<Button
type="submit"
Expand Down
0