Skip to content

Commit

Permalink
Merge pull request #248 from Light-it-labs/develop
Browse files Browse the repository at this point in the history
[Release] v1.4.0 🚀 - 23/12/2024
  • Loading branch information
cgarcia-lightit authored Dec 23, 2024
2 parents 958bcaa + e821ccf commit 17e07fe
Show file tree
Hide file tree
Showing 6 changed files with 17 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
12 changes: 10 additions & 2 deletions apps/eo_web/src/layouts/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down Expand Up @@ -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<FlowType, ConfigType[]> = {
c_org,
cancer_pilot,
twist_out_cancer,
Expand All @@ -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) {
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 17e07fe

Please sign in to comment.