-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
* 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) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
post
word is unnecessary
mutationFn: subscribeToEoEmailPost, | ||
onSuccess: () => setSubmitted(true), | ||
onError: () => toast.error("Something went wrong, try again.") | ||
}); |
There was a problem hiding this comment.
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]"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<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) |
There was a problem hiding this comment.
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.
{[ | ||
"c_org", | ||
"cancer_pilot", | ||
"twist_out_cancer", | ||
"cancer_support_community", | ||
"employer_center", | ||
"resource_center_1", | ||
"resource_center_2", | ||
"inova", | ||
].includes(flow) ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
No description provided.