Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
chore: custom theme addon (#2414)
Maximilian Kaske9f194f45a42a
diff --git a/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsx b/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsxindex be65811f9..7d35cd48b 100644--- a/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsx+++ b/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsx@@ -212,6 +212,14 @@ export function Client() {workspace={workspace}/>) : null}+ {planAddons["custom-theme"] ? (+ <BillingAddons+ label={planAddons["custom-theme"].title}+ description={planAddons["custom-theme"].description}+ addon="custom-theme"+ workspace={workspace}+ />+ ) : null}{planAddons["status-pages"] ? (<BillingAddonslabel={planAddons["status-pages"].title}diff --git a/packages/api/src/router/stripe/utils.ts b/packages/api/src/router/stripe/utils.tsindex 76611ea16..10031183f 100644--- a/packages/api/src/router/stripe/utils.ts+++ b/packages/api/src/router/stripe/utils.ts@@ -179,6 +179,17 @@ export const FEATURES = [},},},+ {+ feature: "custom-theme",+ price: {+ monthly: {+ priceIds: {+ test: "price_1TwKPqBXJcTfzsyJqAu4Wqwh",+ production: "price_1Tvv0zBXJcTfzsyJseLIjNnz",+ },+ },+ },+ },{feature: "status-pages",price: {diff --git a/packages/db/src/schema/plan/config.ts b/packages/db/src/schema/plan/config.tsindex 58b8cebb0..5dd321ff1 100644--- a/packages/db/src/schema/plan/config.ts+++ b/packages/db/src/schema/plan/config.ts@@ -105,6 +105,14 @@ export const allPlans: Record<WorkspacePlan, PlanConfig> = {EUR: 300,},},+ "custom-theme": {+ title: "Custom Theme",+ description: "Customize your status page colors and appearance.",+ price: {+ USD: 20,+ EUR: 20,+ },+ },"status-pages": {title: "Status Pages",description: "Create and manage status pages for your workspace.",diff --git a/packages/db/src/schema/plan/schema.ts b/packages/db/src/schema/plan/schema.tsindex cdb172a56..386ffa73c 100644--- a/packages/db/src/schema/plan/schema.ts+++ b/packages/db/src/schema/plan/schema.ts@@ -91,6 +91,7 @@ export const addons = ["email-domain-protection","ip-restriction","white-label",+ "custom-theme","status-pages",] as const satisfies Partial<keyof Limits>[];