Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: update pricing and pricing page styling

Jonathan Summers-Muiraefce50762e3
diff --git a/apps/www/components/PricingTableRow.tsx b/apps/www/components/PricingTableRow.tsx
index 22097b268d7..91ca9bae8dd 100644
--- a/apps/www/components/PricingTableRow.tsx
+++ b/apps/www/components/PricingTableRow.tsx
@@ -95,7 +95,7 @@ export const PricingTableRowDesktop = (props: any) => {
<Minus tier={tier} />
</div>
) : (
- <span className="text-scale-1200 block text-xs dark:text-white">{tier}</span>
+ <span className="text-scale-1200 block text-sm dark:text-white">{tier}</span>
)}
</td>
)
@@ -115,7 +115,7 @@ export const PricingTableRowMobile = (props: any) => {
return (
<>
<table className="mt-8 w-full">
- <caption className="bg-scale-50 dark:bg-dark-900 border-scale-200 dark:border-scale-600 text-scale-1200 border-t px-4 py-3 text-left text-sm font-medium dark:text-white">
+ <caption className="bg-scale-50 dark:bg-dark-900 border-scale-400 border-t px-4 py-3 text-left text-sm font-medium dark:text-white">
<div className="flex items-center gap-2">
{category.icon ? <ProductIcon icon={props.icon} /> : null}
<span className="text-scale-1200 font-normal">{category.title}</span>
@@ -131,16 +131,16 @@ export const PricingTableRowMobile = (props: any) => {
</th>
</tr>
</thead>
- <tbody className="divide-scale-600 divide-y">
+ <tbody className="divide-scale-400 divide-y">
{category.features.map((feat: any, i: number) => {
return (
- <tr key={i} className="border-t">
- <th className="text-scale-1100 px-4 py-5 text-left text-sm font-normal" scope="row">
+ <tr key={i} className="border-scale-400 border-t">
+ <th className="text-scale-1100 px-4 py-3 text-left text-sm font-normal" scope="row">
<span>
<p>{feat.title}</p>
</span>
</th>
- <td className="py-5 pr-4 text-right">
+ <td className="py-3 pr-4 text-right">
{typeof feat.tiers[tier] === 'boolean' && feat.tiers[tier] === true ? (
<div className="inline-block">
<IncludedCheck tier={tier} />
diff --git a/apps/www/data/Pricing.json b/apps/www/data/Pricing.json
index 46cda9fd145..4bc262b4903 100644
--- a/apps/www/data/Pricing.json
+++ b/apps/www/data/Pricing.json
@@ -45,6 +45,14 @@
"enterprise": "30 days Point in Time backup"
}
},
+ {
+ "title": "Point in time recovery",
+ "tiers": {
+ "free": false,
+ "pro": false,
+ "enterprise": true
+ }
+ },
{
"title": "Pausing",
"tooltip": "Projects that have no activity or API requests will be paused. They can be reactivated via the dashboard",
@@ -326,7 +334,7 @@
"title": "Metrics endpoint",
"tiers": {
"free": false,
- "pro": false,
+ "pro": true,
"enterprise": true
}
},
diff --git a/apps/www/pages/pricing/index.tsx b/apps/www/pages/pricing/index.tsx
index 89a9a6fd5d7..a57dcfd8f20 100644
--- a/apps/www/pages/pricing/index.tsx
+++ b/apps/www/pages/pricing/index.tsx
@@ -245,7 +245,7 @@ export default function IndexPage() {
py-6
"
>
- {tier.preface && <p className="text-scale-1200 text-base">{tier.preface}</p>}
+ {tier.preface && <p className="text-scale-1100 text-sm">{tier.preface}</p>}
{/* <p className="text-scale-900 text-sm">Included with plan:</p> */}
<ul role="list" className="dark:divide-scale-400 divide-y">
{tier.features.map((feature) => (