From bc079a35d7938437e3134b0d493e9e0f842e3380 Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Wed, 22 Nov 2023 18:43:41 +0000 Subject: [PATCH] Term definitions are used properly in the tiers --- .../app/components/billing/PricingTiers.tsx | 145 +++++++++++++----- 1 file changed, 108 insertions(+), 37 deletions(-) diff --git a/apps/webapp/app/components/billing/PricingTiers.tsx b/apps/webapp/app/components/billing/PricingTiers.tsx index 446117800..90989261d 100644 --- a/apps/webapp/app/components/billing/PricingTiers.tsx +++ b/apps/webapp/app/components/billing/PricingTiers.tsx @@ -8,12 +8,30 @@ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../pri import { Header3 } from "../primitives/Headers"; const pricingDefinitions = { - concurrentRuns: "The number of Runs that can be executed at the same time.", - jobRuns: "A single execution of a Job.", - jobs: "A Job is like a function that is triggered by an event and performs a Run.", - tasks: "The individual building blocks of a Job Run.", - events: "Events allow you to run Jobs from your own code", - integrations: "Integrations make it easy to authenticate and use APIs.", + concurrentRuns: { + title: "Concurrent Runs", + content: "The number of Runs that can be executed at the same time.", + }, + jobRuns: { + title: "Job Runs", + content: "A single execution of a Job.", + }, + jobs: { + title: "Jobs", + content: "A Job is like a function that is triggered by an event and performs a Run.", + }, + tasks: { + title: "Tasks", + content: "The individual building blocks of a Job Run.", + }, + events: { + title: "Events", + content: "Events allow you to run Jobs from your own code", + }, + integrations: { + title: "Integrations", + content: "Custom Integrations to authenticate and use your internal APIs.", + }, }; export function PricingTiers({ @@ -41,8 +59,11 @@ export function TierFree() {
Up to 5{" "} - - Concurrent Runs + + {pricingDefinitions.concurrentRuns.title}