Skip to content

The Open Source DocuSign Alternative.

fix: enable yearly team pricing (#1199)

David Nguyend1a53544c188
diff --git a/apps/marketing/src/components/(marketing)/pricing-table.tsx b/apps/marketing/src/components/(marketing)/pricing-table.tsx
index b36c4d7bf..892e031e6 100644
--- a/apps/marketing/src/components/(marketing)/pricing-table.tsx
+++ b/apps/marketing/src/components/(marketing)/pricing-table.tsx
@@ -58,7 +58,7 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {
>
Yearly
<div className="bg-muted text-foreground block rounded-full px-2 py-0.5 text-xs">
- Save $60 or $100
+ Save $60 or $120
</div>
{period === 'YEARLY' && (
<motion.div
@@ -143,7 +143,7 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {
<div className="text-primary mt-2.5 text-xl font-medium">
<AnimatePresence mode="wait">
{period === 'MONTHLY' && <motion.div layoutId="pricingTeams">$50</motion.div>}
- {period === 'YEARLY' && <motion.div layoutId="pricingTeams">$500</motion.div>}
+ {period === 'YEARLY' && <motion.div layoutId="pricingTeams">$480</motion.div>}
</AnimatePresence>
</div>
@@ -166,7 +166,9 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {
<p className="text-foreground py-4">Email and Discord Support</p>
<p className="text-foreground py-4 font-medium">Team Inbox</p>
<p className="text-foreground py-4">5 Users Included</p>
- <p className="text-foreground py-4">Add More Users for $10/ mo.</p>
+ <p className="text-foreground py-4">
+ Add More Users for {period === 'MONTHLY' ? '$10/ mo.' : '$96/ yr.'}
+ </p>
</div>
</div>
</div>
diff --git a/apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx b/apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx
index f6ca99bbd..f7ee8ca51 100644
--- a/apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx
@@ -158,7 +158,6 @@ export const CreateTeamCheckoutDialog = ({
<Button
type="submit"
- disabled={selectedPrice.interval === 'yearly'}
loading={isCreatingCheckout}
onClick={async () =>
createCheckout({
@@ -167,7 +166,7 @@ export const CreateTeamCheckoutDialog = ({
})
}
>
- {selectedPrice.interval === 'monthly' ? 'Checkout' : 'Coming soon'}
+ Checkout
</Button>
</DialogFooter>
</div>