Skip to content

Commit

Permalink
feat: add new flow(New England Cancer Specialists)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgarcia-lightit committed Dec 17, 2024
1 parent ac29c7d commit 3da3240
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/eo_web/src/components/FAQs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
6 changes: 4 additions & 2 deletions apps/eo_web/src/layouts/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ 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 = {
c_org,
Expand All @@ -161,7 +162,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) {
Expand Down Expand Up @@ -208,7 +210,7 @@ export function Footer({ flow }: FooterProps) {
href={url}
className={tw(
"mb-0 py-2 font-new-hero text-[14px] font-normal leading-[22px] text-white hover:underline hover:opacity-50 md:mb-2 md:mr-2",
extraClasses,
extraClasses ? extraClasses : "",
)}
>
{title}
Expand Down
3 changes: 3 additions & 0 deletions apps/eo_web/src/screens/AccountCreation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const ReferralOptions: Record<string, FlowType> = {
"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;
Expand Down Expand Up @@ -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";
}
};

Expand Down
1 change: 1 addition & 0 deletions apps/eo_web/src/screens/Cancer/CancerSurveyThankYou.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down
1 change: 1 addition & 0 deletions apps/eo_web/src/screens/ProfilingThankYou.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down
1 change: 1 addition & 0 deletions apps/eo_web/src/stores/useProfilingStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3da3240

Please sign in to comment.