Adds trial banner and in-app upgrade (#1402)

* WIP trial banner

* Fixes days left count

* Defers stripe loading until needed

* Fixes auth issues

* Checkout fixes

* Allows for signup testing

* Debugging checkout

* Adds tests for trial banner

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Omar Lópezandkodiakhq[bot] authored and GitHub committed 2022-01-03 22:50:59 +00:00
1 parent baa7e868bd
commit 4cd7a4ce5b
11 files changed
+113 -5

No files matched your search

+4
View File
@@ -1,4 +1,8 @@
{
"trial_days_left": "You have $t(day, {\"count\": {{days}} }) left on your PRO trial",
"day": "{{count}} day",
"day_plural": "{{count}} days",
"upgrade_now": "Upgrade now",
"accept_invitation": "Accept Invitation",
"calcom_explained": "Cal.com is the open source Calendly alternative putting you in control of your own data, workflow and appearance.",
"have_any_questions": "Have questions? We're here to help.",