diff --git a/app/assets/img/domestic-violence-checklist.png b/app/assets/img/domestic-violence-checklist.png index 504df90a2..82e86e5fc 100644 Binary files a/app/assets/img/domestic-violence-checklist.png and b/app/assets/img/domestic-violence-checklist.png differ diff --git a/app/pages/Pdf/IntimatePartnerViolencePdfPage.tsx b/app/pages/Pdf/IntimatePartnerViolencePdfPage.tsx index 614695706..e8a8b5285 100644 --- a/app/pages/Pdf/IntimatePartnerViolencePdfPage.tsx +++ b/app/pages/Pdf/IntimatePartnerViolencePdfPage.tsx @@ -2,6 +2,7 @@ import React, { useState, useEffect, useRef } from "react"; import ReactMarkdown from "react-markdown"; import { useParams, useLocation } from "react-router-dom"; import Checklist from "assets/img/domestic-violence-checklist.png"; +import type { PhoneNumber } from "../../models/Meta"; import { whiteLabel } from "utils"; @@ -77,6 +78,7 @@ export const IntimatePartnerViolencePdfPage = () => { const { resource, recurringSchedule } = service; const locations = getServiceLocations(service, resource, recurringSchedule); + const checklistItems = ['Spending time with supportive friends and family', "Thinking about what you feel grateful for", "Prayer", "Counseling", "Exercise", "Helping others", "Listening to music", "Other: __________________"] return (
@@ -103,6 +105,9 @@ export const IntimatePartnerViolencePdfPage = () => { {/* The below styles contain some overrides of global .renderedMarkdown and table tag selector styles */} @@ -356,7 +455,31 @@ export const IntimatePartnerViolencePdfPage = () => {
- +
+
+

+ What have you tried in the past 30 days to cope or feel + better: +

+
    + {checklistItems.map((item) => ( +
  • +
    +
    +
    +
    + + {item} +
  • + ))} +
+
+ +
@@ -372,13 +495,6 @@ export const IntimatePartnerViolencePdfPage = () => { linkTarget="_blank" />
-

- (See{" "} - {`${whiteLabel.siteUrl}/${service.id}`}{" "} - for more details) -

@@ -388,6 +504,7 @@ export const IntimatePartnerViolencePdfPage = () => {

Hours

@@ -435,12 +552,12 @@ const generalResources: GeneralResourceItem[] = [ header: "FIND COMMUNITY RESOURCES", resourceItems: [ { - description: "Behavioral Health Access Center Mon-Fri 9am-4pm:", + description: "Behavioral Health Access Center Mon-Fri 9am-4pm", contact: "415-255-3737 or 888-246-3333", }, { description: - "24/7 Information and Referrals for food, shelter, child care, senior services, etc.:", + "24/7 Information and Referrals for food, shelter, child care, senior services, etc.", contact: "Call 3–1–1", }, ], @@ -449,17 +566,17 @@ const generalResources: GeneralResourceItem[] = [ header: "24/7 HOTLINES", resourceItems: [ { - description: "Suicide and Crisis Lifeline:", + description: "Suicide and Crisis Lifeline", contact: "988 or 415-781-0500", contactNewLine: true, }, { - description: "La Casa de Las Madres:", + description: "La Casa de Las Madres", contact: "877-503-1850", contactNewLine: true, }, { - description: "W.O.M.A.N. Inc:", + description: "W.O.M.A.N. Inc", contact: "\n877-384-3578", contactNewLine: true, }, @@ -476,16 +593,18 @@ const GeneralResource = ({ }) => ( <>

{header}

-
    +
      {resourceItems.map((item) => ( -
    • - {item.description}{" "} - - {item.contact} +
    • + + {item.description}{" "} + + {item.contact} +
    • ))} @@ -497,14 +616,17 @@ type ServiceAddressProps = { resourceName: string; address: Address; website?: string | null; + phones: PhoneNumber[]; }; const ServiceAddress = ({ resourceName, address, website, + phones, }: ServiceAddressProps) => { const { address_1, address_2, city, state_province, postal_code } = address; + const phone = phones?.[0]; return (

      {resourceName}

      @@ -521,6 +643,10 @@ const ServiceAddress = ({ {city}, {state_province}{" "} {postal_code}

      +

      + {phone.number}{" "} + {phone.service_type && `(${phone.service_type})`} +

      {website &&

      {website}

      }
      );