Skip to content

Commit

Permalink
NYCHA LOC VQA changes (#2471)
Browse files Browse the repository at this point in the history
* typo in confirmation page, your management grammar

* fix radio button size for nycha option on splash page

* cursor over radio button hover state on splash page
  • Loading branch information
kiwansim authored Feb 14, 2025
1 parent 31b60b2 commit 0836427
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
4 changes: 3 additions & 1 deletion frontend/lib/loc/letter-request.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { BulmaClassName } from "../ui/bulma";
import { MiddleProgressStep } from "../progress/progress-step-route";
import { LetterPreview } from "../static-page/letter-preview";
import { DemoDeploymentNote } from "../ui/demo-deployment-note";
import { isUserNycha } from "../util/nycha";

const UNKNOWN_LANDLORD = { name: "", address: "" };

Expand All @@ -33,7 +34,8 @@ export const SendConfirmModal = withAppContext(
<>
<p>
JustFix will send this letter via USPS Certified Mail
<sup>&reg;</sup> to your landlord:
<sup>&reg;</sup> to{" "}
{isUserNycha(props.session) ? "management" : "your landlord"}:
</p>
<address className="has-text-centered">
{landlord.name || "UNKNOWN LANDLORD"}
Expand Down
18 changes: 9 additions & 9 deletions frontend/lib/loc/loc-confirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const DownloadLetterLink = (props: { locPdfURL: string }) => (
const getCommonMailNextSteps = (isUserNycha: boolean) => [
<li>
<p>
Once received, your {isUserNycha ? "management" : "landlord"} should
Once received, {isUserNycha ? "management" : "your landlord"} should
contact you to schedule time to make repairs for the access dates you
provided.
</p>
Expand Down Expand Up @@ -51,10 +51,10 @@ const getCommonMailNextSteps = (isUserNycha: boolean) => [
const getCommonWeMailNextSteps = (isUserNycha: boolean) => [
...getCommonMailNextSteps(isUserNycha),
<li>
We will continue to follow up with you via text message. If your{" "}
{isUserNycha ? "management" : "landlord"}
does not follow through, you now have better legal standing to sue your
{isUserNycha ? "management" : "landlord"}.{" "}
We will continue to follow up with you via text message. If{" "}
{isUserNycha ? "management" : "your landlord"} does not follow through, you
now have better legal standing to sue{" "}
{isUserNycha ? "management" : "your landlord"}.{" "}
<strong>This is called an HP Action proceeding.</strong>
</li>,
];
Expand Down Expand Up @@ -144,8 +144,8 @@ function UserWillMailLetterStatus(props: {
<p>
Print out your letter and{" "}
<strong>mail it via Certified Mail</strong> - this allows you to
prove that it was sent to your{" "}
{props.isUserNycha ? "management" : "landlord"}.
prove that it was sent to{" "}
{props.isUserNycha ? "management" : "your landlord"}.
</p>
</li>,
...getCommonMailNextSteps(props.isUserNycha),
Expand Down Expand Up @@ -227,8 +227,8 @@ const LetterConfirmation = withAppContext(
>
{letterStatus}
<h2>
Email a copy of your letter to yourself, someone you trust, or your
landlord.
Email a copy of your letter to yourself, someone you trust, or{" "}
{isUserNycha(props.session) ? "management" : "your landlord"}.
</h2>
<EmailAttachmentForm mutation={EmailLetterMutation} noun="letter" />
<h2>Want to read more about your rights?</h2>
Expand Down
6 changes: 6 additions & 0 deletions frontend/sass/_landing-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
align-self: center;
width: 24px;
height: 24px;
flex-shrink: 0;
cursor: pointer;
}

label {
cursor: pointer;
}

/* Tooltip CSS largely taken from https://www.w3schools.com/css/css_tooltip.asp */
Expand Down

0 comments on commit 0836427

Please sign in to comment.