Skip to content

Commit

Permalink
chore: pricing tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
tianzhou committed Nov 23, 2024
1 parent 6ab3fd0 commit cce252e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/components/pages/pricing/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ const cards: TCard[] = [
buttonLink: '/contact-us',
planConditions: [
'SLA support',
'Unlimited users',
'Unlimited database instances',
'OIDC, LDAP SSO, SCIM, 2FA, Audit log',
'Custom users',
'Custom database instances',
'Custom approval, dynamic data masking',
'OIDC, LDAP SSO, SCIM, 2FA, audit log',
],
},
];
Expand Down
16 changes: 10 additions & 6 deletions src/components/pages/pricing/table/data/pricing-plans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const PLANS: { free: Plan; pro: Plan; enterprise: Plan } = {
'query-and-export-workflow': false,
environment: false,
masking: false,
'access-control': false,
'database-permission': false,
watermark: false,
'audit-log': false,
'signin-frequency': false,
Expand All @@ -70,6 +70,7 @@ const PLANS: { free: Plan; pro: Plan; enterprise: Plan } = {
aiAssistant: {
'query-with-natural-language': true,
'explain-sql': true,
'suggest-sql': true,
'index-advisor': true,
},
bespoke: {
Expand Down Expand Up @@ -139,7 +140,7 @@ const PLANS: { free: Plan; pro: Plan; enterprise: Plan } = {
'query-and-export-workflow': false,
environment: false,
masking: false,
'access-control': false,
'database-permission': false,
watermark: false,
'audit-log': false,
'signin-frequency': false,
Expand All @@ -148,6 +149,7 @@ const PLANS: { free: Plan; pro: Plan; enterprise: Plan } = {
aiAssistant: {
'query-with-natural-language': true,
'explain-sql': true,
'suggest-sql': true,
'index-advisor': true,
},
bespoke: {
Expand Down Expand Up @@ -217,7 +219,7 @@ const PLANS: { free: Plan; pro: Plan; enterprise: Plan } = {
'query-and-export-workflow': true,
environment: true,
masking: true,
'access-control': true,
'database-permission': true,
watermark: true,
'audit-log': true,
'signin-frequency': true,
Expand All @@ -226,6 +228,7 @@ const PLANS: { free: Plan; pro: Plan; enterprise: Plan } = {
aiAssistant: {
'query-with-natural-language': true,
'explain-sql': true,
'suggest-sql': true,
'index-advisor': true,
},
bespoke: {
Expand All @@ -248,7 +251,7 @@ const LABELS = [
changelist: 'Changelist',
'change-history': 'Change history',
terraform: 'Terraform integration',
schedule: 'Scheduled change at specific time',
schedule: 'Scheduled rollout',
'online-schema-change': 'Online schema change',
'rollout-policy': 'Rollout policy',
'issue-setting': 'Issue setting',
Expand Down Expand Up @@ -285,7 +288,7 @@ const LABELS = [
items: {
sso: 'Single sign-on (SSO)',
rbac: 'RBAC',
'slow-query': 'Slow Query',
'slow-query': 'Slow query',
archiving: 'Archiving',
'secret-variable': 'Secret variable',
'signup-restriction': 'Self-signup restriction',
Expand All @@ -296,7 +299,7 @@ const LABELS = [
'query-and-export-workflow': 'Query and export approval workflow',
environment: 'Environment tier',
masking: 'Dynamic data masking',
'access-control': 'Data access control',
'database-permission': 'Fine-grained database permission',
watermark: 'Watermark',
'audit-log': 'Audit log',
'signin-frequency': 'Sign-in frequency',
Expand All @@ -308,6 +311,7 @@ const LABELS = [
items: {
'query-with-natural-language': 'Query with natural language',
'explain-sql': 'Explain SQL',
'suggest-sql': 'Suggest SQL',
'index-advisor': 'Index advisor',
},
},
Expand Down
10 changes: 5 additions & 5 deletions src/lib/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const FEATURES = {
BRANCHING: 'Branching',
CHANGE_HISTORY: 'Change history',
TERRAFORM: 'Terraform integration',
SCHEDULE_CHANGE: 'Scheduled change at specific time',
SCHEDULE_CHANGE: 'Scheduled rollout',
ROLLOUT_POLICY: 'Rollout Policy',
ISSUE_SETTING: 'Issue Setting',
SYNCHRONIZE_SCHEMA: 'Synchronize schema between databases',
Expand Down Expand Up @@ -37,10 +37,10 @@ export const FEATURES = {

//Data Security & Compliance
RBAC: 'RBAC',
SLOW_QUERY: 'Slow Query',
SLOW_QUERY: 'Slow query',
ARCHIVING: 'Archiving',
BACKUP_POLICY: 'Backup Policy',
SECRET_VARIABLE: 'Secret Variable',
BACKUP_POLICY: 'Backup policy',
SECRET_VARIABLE: 'Secret variable',
EXTERNAL_SECRET_MANAGER: 'External Secret Manager',
SSO: 'Single Sign-On (SSO)',
SCIM: 'SCIM',
Expand All @@ -49,7 +49,7 @@ export const FEATURES = {
QUERY_EXPORT_APPROVAL_WORKFLOW: 'Query and export approval workflow',
ENVIRONMENT_TIER: 'Environment Tier',
DATA_MASKING: 'Sensitive data masking',
DATABASE_PERMISSION: 'Data Access Control',
DATABASE_PERMISSION: 'Fine-grained database permission',
WATERMARK: 'Watermark',
AUDIT_LOG: 'Audit Log',
SIGNUP_RESTRICTION: 'Self-signup restriction',
Expand Down

0 comments on commit cce252e

Please sign in to comment.