Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RELEASE] 23 April 2024 🚀🚀 #130

Merged
merged 7 commits into from
Apr 23, 2024
Merged

[RELEASE] 23 April 2024 🚀🚀 #130

merged 7 commits into from
Apr 23, 2024

Conversation

cgarcia-lightit
Copy link
Collaborator

No description provided.

sgoycoechea-lightit and others added 7 commits April 15, 2024 12:48
* feat: inova flow

* chore: update faqs
* feat: send email when someone subscribes to EO

* fix: implementing improvements
…128)

* feat: add in the footer the legal disclaimers

* feat: add disclaimer only for Cancer Support Community

* review: implement changes from code-review
success: boolean;
}

export const subscribeToEoEmailPost = async (email: string) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

post word is unnecessary

Comment on lines +12 to +15
mutationFn: subscribeToEoEmailPost,
onSuccess: () => setSubmitted(true),
onError: () => toast.error("Something went wrong, try again.")
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we validate the email has the correct format?

@@ -81,9 +110,18 @@ export function Footer({ flow }: FooterProps) {
>
Wise use for all.
</Typography>
<Typography className="font-new-hero font-normal text-[#ababab]">
<Typography className="mb-[36px] font-new-hero text-[14px] font-normal text-[#ababab]">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Typography className="mb-[36px] font-new-hero text-[14px] font-normal text-[#ababab]">
<Typography className="mb-9 font-new-hero text-[14px] font-normal text-[#ababab]">

@@ -89,7 +89,7 @@ export const CancerSurveyThankYou = () => {
</AllDonePanel>
<HowEOWorks pilot={flow === Flows.cancer_pilot} />
<FAQs channel="cancer" flow={flow} />
{['c_org', 'cancer_pilot', 'twist_out_cancer', 'cancer_support_community', 'employer_center', 'resource_center_1', 'resource_center_2'].includes(flow)
{['c_org', 'cancer_pilot', 'twist_out_cancer', 'cancer_support_community', 'employer_center', 'resource_center_1', 'resource_center_2', 'inova'].includes(flow)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid the magic strings, lets move these options to a const or a config file.

Comment on lines +93 to +102
{[
"c_org",
"cancer_pilot",
"twist_out_cancer",
"cancer_support_community",
"employer_center",
"resource_center_1",
"resource_center_2",
"inova",
].includes(flow) ? (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@cgarcia-lightit cgarcia-lightit merged commit 223de1c into main Apr 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants