diff --git a/apps/eo_web/src/components/FAQs.tsx b/apps/eo_web/src/components/FAQs.tsx index 4fa4e0a..b400e3f 100644 --- a/apps/eo_web/src/components/FAQs.tsx +++ b/apps/eo_web/src/components/FAQs.tsx @@ -29,6 +29,7 @@ const flowsWithCOrgFaqs: FlowType[] = [ Flows.realm_of_caring, Flows.private_health_management, Flows.memorial_sloan_kettering_cancer_center, + Flows.new_england_cancer_specialists, ]; const flowsWithInovaFaqs: FlowType[] = [Flows.inova, Flows.uva]; diff --git a/apps/eo_web/src/layouts/Footer.tsx b/apps/eo_web/src/layouts/Footer.tsx index 383a76d..d522c6f 100644 --- a/apps/eo_web/src/layouts/Footer.tsx +++ b/apps/eo_web/src/layouts/Footer.tsx @@ -9,6 +9,12 @@ interface FooterProps { flow: FlowType; } +type ConfigType = { + title: string; + url: string; + extraClasses?: string; +} + const basicData = [ { title: "Terms of use", url: "https://eo.care/web/terms-of-use" }, { title: "Privacy Policy", url: "https://eo.care/web/privacy-policy" }, @@ -140,8 +146,9 @@ const friend_family = resource_center_1; const northwell_health = resource_center_1; const private_health_management = resource_center_1; const memorial_sloan_kettering_cancer_center = resource_center_1; +const new_england_cancer_specialists = resource_center_1; -const allData = { +const allData: Record = { c_org, cancer_pilot, twist_out_cancer, @@ -161,7 +168,8 @@ const allData = { friend_family, northwell_health, private_health_management, - memorial_sloan_kettering_cancer_center + memorial_sloan_kettering_cancer_center, + new_england_cancer_specialists, }; export function Footer({ flow }: FooterProps) { diff --git a/apps/eo_web/src/screens/AccountCreation.tsx b/apps/eo_web/src/screens/AccountCreation.tsx index 9dbcc7d..01cf02d 100644 --- a/apps/eo_web/src/screens/AccountCreation.tsx +++ b/apps/eo_web/src/screens/AccountCreation.tsx @@ -34,6 +34,7 @@ export const ReferralOptions: Record = { "Realm of Caring": Flows.realm_of_caring, "Private Health Management": Flows.private_health_management, "Memorial Sloan Kettering Cancer Center": Flows.memorial_sloan_kettering_cancer_center, + "New England Cancer Specialists": Flows.new_england_cancer_specialists, } as const; export type ReferralOptionsType = keyof typeof ReferralOptions; @@ -205,6 +206,8 @@ export const AccountCreation = () => { return "19"; case Flows.memorial_sloan_kettering_cancer_center: return "20"; + case Flows.new_england_cancer_specialists: + return "21"; } }; diff --git a/apps/eo_web/src/screens/Cancer/CancerSurveyThankYou.tsx b/apps/eo_web/src/screens/Cancer/CancerSurveyThankYou.tsx index 2450562..0eadcf7 100644 --- a/apps/eo_web/src/screens/Cancer/CancerSurveyThankYou.tsx +++ b/apps/eo_web/src/screens/Cancer/CancerSurveyThankYou.tsx @@ -29,6 +29,7 @@ const flowsWithSmallFooter: FlowType[] = [ Flows.realm_of_caring, Flows.private_health_management, Flows.memorial_sloan_kettering_cancer_center, + Flows.new_england_cancer_specialists, ]; export const CancerSurveyThankYou = () => { diff --git a/apps/eo_web/src/screens/ProfilingThankYou.tsx b/apps/eo_web/src/screens/ProfilingThankYou.tsx index dfbe694..2788d7e 100644 --- a/apps/eo_web/src/screens/ProfilingThankYou.tsx +++ b/apps/eo_web/src/screens/ProfilingThankYou.tsx @@ -38,6 +38,7 @@ const flowsWithSmallFooter: FlowType[] = [ Flows.realm_of_caring, Flows.private_health_management, Flows.memorial_sloan_kettering_cancer_center, + Flows.new_england_cancer_specialists, ]; export const ProfilingThankYou = () => { diff --git a/apps/eo_web/src/stores/useProfilingStore.ts b/apps/eo_web/src/stores/useProfilingStore.ts index c2d4be0..bb88afd 100644 --- a/apps/eo_web/src/stores/useProfilingStore.ts +++ b/apps/eo_web/src/stores/useProfilingStore.ts @@ -46,6 +46,7 @@ export const Flows = { private_health_management: "private_health_management", memorial_sloan_kettering_cancer_center: "memorial_sloan_kettering_cancer_center", + new_england_cancer_specialists: 'new_england_cancer_specialists' } as const; export type FlowType = keyof typeof Flows;