From d752bcb274b226f4ebf845dc18a65cfafc9b51f2 Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 2 Apr 2025 16:42:19 +0200 Subject: [PATCH] Feat: Update billing with new design (#4309) --- .../components/pricingTable/Plan.vue | 144 +++-- .../components/pricingTable/PricingTable.vue | 10 +- .../settings/workspaces/billing/Page.vue | 524 +++--------------- .../settings/workspaces/billing/PageNew.vue | 115 ---- .../workspaces/billing/PricingTable/Plan.vue | 318 ----------- .../billing/PricingTable/PricingTable.vue | 55 -- .../settings/workspaces/billing/Usage.vue | 78 +++ .../workspaces/billing/usage/Card.vue | 34 -- .../workspaces/billing/usage/index.vue | 25 - .../workspace/wizard/step/Pricing.vue | 36 +- .../lib/common/generated/gql/gql.ts | 66 +-- .../lib/common/generated/gql/graphql.ts | 36 +- .../lib/settings/graphql/queries.ts | 12 +- .../lib/workspaces/composables/wizard.ts | 6 +- .../lib/workspaces/helpers/types.ts | 4 +- .../settings/workspaces/[slug]/billing.vue | 7 +- 16 files changed, 315 insertions(+), 1155 deletions(-) delete mode 100644 packages/frontend-2/components/settings/workspaces/billing/PageNew.vue delete mode 100644 packages/frontend-2/components/settings/workspaces/billing/PricingTable/Plan.vue delete mode 100644 packages/frontend-2/components/settings/workspaces/billing/PricingTable/PricingTable.vue create mode 100644 packages/frontend-2/components/settings/workspaces/billing/Usage.vue delete mode 100644 packages/frontend-2/components/settings/workspaces/billing/usage/Card.vue delete mode 100644 packages/frontend-2/components/settings/workspaces/billing/usage/index.vue diff --git a/packages/frontend-2/components/pricingTable/Plan.vue b/packages/frontend-2/components/pricingTable/Plan.vue index e8a1774bf..978a33579 100644 --- a/packages/frontend-2/components/pricingTable/Plan.vue +++ b/packages/frontend-2/components/pricingTable/Plan.vue @@ -2,43 +2,48 @@
-
-
-

- {{ formatName(plan) }} -

- - {{ badgeText }} - -
-

- - {{ planPrice }} - - per seat/month -

-

- For individuals and small teams trying Speckle. -

- +