From 6e662e9b4899b65ebb2085adba10861f4e41082c Mon Sep 17 00:00:00 2001 From: Bianca Yang Date: Wed, 1 Nov 2023 18:24:37 -0700 Subject: [PATCH] another round of tweaks to survey --- .../scenes/billing/UnsubscribeSurveyModal.tsx | 116 +++++++++--------- 1 file changed, 61 insertions(+), 55 deletions(-) diff --git a/frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx b/frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx index 5e48fc60bea8eb..b59f4bda1a5554 100644 --- a/frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx +++ b/frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx @@ -15,64 +15,70 @@ export const UnsubscribeSurveyModal = ({ product }: { product: BillingProductV2T onClose={() => { setSurveyID('') }} - title={`Let us know why you're unsubscribing from ${product.name}`} width={'max(40vw)'} > -
- { - setSurveyResponse(value, '$survey_response') - }} - /> - -

- {'Need to control your costs? '} - - Learn about ways to reduce your bill - - {`${product.type !== 'session_replay' ? ' or ' : ', '}`} - - chat with support - - - {product.type === 'session_replay' && ( - <> - {', or '} - - join our beta for tuning recording volume with sampling and minimum duration - - - )} -

-
-
- { - setSurveyID('') - }} - > - Cancel - - { - reportSurveySent(surveyID, surveyResponse) - deactivateProduct(product.type) +
+

{`Why are you unsubscribing from ${product.name}?`}

+
+ { + setSurveyResponse(value, '$survey_response') }} - > - Unsubscribe - + /> + +

+ {'Need to control your costs? Learn about ways to '} + + reduce your bill + + {`${product.type !== 'session_replay' ? ' or ' : ', '}`} + + chat with support + + + {product.type === 'session_replay' && ( + <> + {', or '} + + join our beta + + {' for tuning recording volume with sampling and minimum duration.'} + + )} +

+
+
+ { + setSurveyID('') + }} + > + Cancel + + { + reportSurveySent(surveyID, surveyResponse) + deactivateProduct(product.type) + }} + > + Unsubscribe + +