Open source CapCut alternative.
TypeScript
feat(site): raise Pro cloud storage from 50 GB to 100 GB
David Led87cc1fff697
diff --git a/site/src/app/cut/_components/landing/cutPricingPlans.ts b/site/src/app/cut/_components/landing/cutPricingPlans.tsindex 1990d02d..1d9b3938 100644--- a/site/src/app/cut/_components/landing/cutPricingPlans.ts+++ b/site/src/app/cut/_components/landing/cutPricingPlans.ts@@ -8,7 +8,7 @@ export const CUT_PRO = {// What Pro adds. The landing card sits beside the Free card and opens with a// line pointing at it; nothing else does, so that line isn't in here.features: [- "50 GB of cloud storage",+ "100 GB of cloud storage","Generous AI credits every month","Image, video, voiceover, and music generation",],diff --git a/site/src/cut/components/NavStorage.tsx b/site/src/cut/components/NavStorage.tsxindex 054de3ad..f9b811dc 100644--- a/site/src/cut/components/NavStorage.tsx+++ b/site/src/cut/components/NavStorage.tsx@@ -5,7 +5,7 @@// quota belongs to the account, not to the backend the app happens to be// running against, so this shows in local mode too — a local editor still has// cloud projects, and the number is the same either way. Pro accounts see-// nothing here — 50 GB is enough that a meter would only take up room.+// nothing here — 100 GB is enough that a meter would only take up room.import { Cloud, Loader2 } from "lucide-react";import {Tooltip,@@ -55,10 +55,10 @@ export function NavStorage() {</span><span className="flex items-center gap-1.5 group-hover:underline">{upgrade.isPending && <Loader2 className="size-3 animate-spin" />}- Get 50 GB+ Get 100 GB</span></TooltipTrigger>- <TooltipContent>Upgrade for 50 GB + AI credits</TooltipContent>+ <TooltipContent>Upgrade for 100 GB + AI credits</TooltipContent></Tooltip></TooltipProvider>{u.grace && (diff --git a/site/src/cut/components/StorageUpgradeDialog.tsx b/site/src/cut/components/StorageUpgradeDialog.tsxindex 48fc331e..273c7588 100644--- a/site/src/cut/components/StorageUpgradeDialog.tsx+++ b/site/src/cut/components/StorageUpgradeDialog.tsx@@ -77,7 +77,7 @@ function OpenDialog({ detail, onClose }: { detail: StorageQuotaDetail; onClose:<p>{isPro? "Free up space by deleting projects or media you no longer need."- : "Pro includes 50 GB of cloud storage, or free up space by deleting media."}+ : "Pro includes 100 GB of cloud storage, or free up space by deleting media."}</p></div><DialogFooter className="mt-2">diff --git a/site/src/cut/server/cloud/limits.ts b/site/src/cut/server/cloud/limits.tsindex d2f4905a..8b02a024 100644--- a/site/src/cut/server/cloud/limits.ts+++ b/site/src/cut/server/cloud/limits.ts@@ -21,7 +21,7 @@ export const FREE_STORAGE_BYTES = 250 * 1024 ** 2;export const EXPORT_QUOTA_MARGIN = 1.2;const FREE: CutLimits = { storageBytes: FREE_STORAGE_BYTES, renderJobsPerDay: 10 };-const PRO: CutLimits = { storageBytes: 50 * 1024 ** 3, renderJobsPerDay: 200 };+const PRO: CutLimits = { storageBytes: 100 * 1024 ** 3, renderJobsPerDay: 200 };const UNLIMITED: CutLimits = { storageBytes: null, renderJobsPerDay: null };export async function cutLimitsFor(userId: string): Promise<CutLimits> {