From bf183fce070af8ee172c05233ff0435f418a973b Mon Sep 17 00:00:00 2001 From: Ronni Baslund Date: Fri, 5 Jun 2026 15:59:19 +0200 Subject: [PATCH] feat(website): tier-driven progressive partner margin calculator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The /partners margin calculator now derives margin from the user count using progressive brackets (like tax brackets): first 500 users at 15%, 501–1000 at 30%, 1001+ at 40%, off the 49 kr/user/mo list price. Replaces the manual margin slider with a live per-bracket breakdown. Rates are read from the tier copy; tier thresholds aligned to 501 / 1.001 so the cards and calculator agree. --- .../components/landing/PartnerCalculator.vue | 59 ++++++++++++++----- apps/website/utils/landingCopy.ts | 12 ++-- 2 files changed, 51 insertions(+), 20 deletions(-) diff --git a/apps/website/components/landing/PartnerCalculator.vue b/apps/website/components/landing/PartnerCalculator.vue index ca28b3e..0e74f23 100644 --- a/apps/website/components/landing/PartnerCalculator.vue +++ b/apps/website/components/landing/PartnerCalculator.vue @@ -1,20 +1,41 @@