From b3d09ce7763d9a08c44ef597fbab2df5d811d8c9 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 7 Apr 2022 15:35:15 +0100 Subject: [PATCH] Doc: Add Joplin Cloud Teams offer to website --- Assets/WebsiteAssets/css/site.css | 4 + .../templates/partials/plan.mustache | 14 +- Assets/WebsiteAssets/templates/plans.mustache | 14 +- packages/lib/utils/joplinCloud.ts | 305 +++++++++++++----- packages/server/src/routes/index/upgrade.ts | 22 +- packages/server/stripeConfig.json | 28 ++ packages/tools/website/build.ts | 5 +- packages/tools/website/utils/render.ts | 12 +- packages/tools/website/utils/types.ts | 1 + 9 files changed, 296 insertions(+), 109 deletions(-) diff --git a/Assets/WebsiteAssets/css/site.css b/Assets/WebsiteAssets/css/site.css index 52e124854..6372657ca 100644 --- a/Assets/WebsiteAssets/css/site.css +++ b/Assets/WebsiteAssets/css/site.css @@ -1073,6 +1073,10 @@ footer .bottom-links-row p { display: none; } +.joplin-cloud-feature-list table { + width: 100%; +} + .price-row .plan-type { display: flex; align-items: center; diff --git a/Assets/WebsiteAssets/templates/partials/plan.mustache b/Assets/WebsiteAssets/templates/partials/plan.mustache index 31dcbe9e6..fce8905f0 100644 --- a/Assets/WebsiteAssets/templates/partials/plan.mustache +++ b/Assets/WebsiteAssets/templates/partials/plan.mustache @@ -6,11 +6,11 @@
- {{priceMonthly.formattedMonthlyAmount}} /month + {{priceMonthly.formattedMonthlyAmount}} /month{{#footnote}} (*){{/footnote}}
- {{priceYearly.formattedMonthlyAmount}} /month + {{priceYearly.formattedMonthlyAmount}} /month{{#footnote}} (*){{/footnote}}
@@ -20,17 +20,19 @@ - {{#featuresOn}} + {{#featureLabelsOn}}

{{.}}

- {{/featuresOn}} + {{/featureLabelsOn}} - {{#featuresOff}} + {{#featureLabelsOff}}

{{.}}

- {{/featuresOff}} + {{/featureLabelsOff}}

+ + {{#footnote}}(*) {{.}}{{/footnote}}