Skip to content

Commit e191e0f

Browse files
committed
Merge branch 'feat/python-blog-1' of https://github.com/supabase/supabase into feat/python-blog-1
2 parents 79aee14 + fcdfbb3 commit e191e0f

File tree

41 files changed

+808
-750
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+808
-750
lines changed

apps/www/components/PricingTableRow.tsx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const IncludedCheck = (props: any) => (
2828
const Minus = (props: any) => (
2929
<>
3030
<svg
31-
className="text-scale-1200 h-5 w-5 dark:text-white"
31+
className="text-scale-600 h-5 w-5"
3232
xmlns="http://www.w3.org/2000/svg"
3333
viewBox="0 0 20 20"
3434
fill="currentColor"
@@ -71,27 +71,29 @@ export const PricingTableRowDesktop = (props: any) => {
7171
return (
7272
<tr className="divide-scale-600 dark:divide-scale-400 divide-x">
7373
<th
74-
className="text-scale-1200 flex items-center px-6 py-5 text-left text-sm font-normal dark:text-white"
74+
className="text-scale-1200 flex items-center px-6 py-3 text-left text-sm font-normal dark:text-white"
7575
scope="row"
7676
>
77-
<span>{feat.title} </span>
77+
<span>{feat.title}</span>
7878
{feat.tooltip && (
7979
<span
80-
className="hover:text-scale-800 ml-2 cursor-pointer dark:hover:text-white"
80+
className="text-scale-900 hover:text-scale-1200 ml-2 cursor-pointer transition-colors"
8181
data-tip={feat.tooltip}
8282
>
83-
<IconHelpCircle size="small" />
83+
<IconHelpCircle size={14} strokeWidth={2} />
8484
</span>
8585
)}
8686
</th>
8787

8888
{Object.values(feat.tiers).map((tier: any, i) => {
8989
return (
90-
<td key={i} className="px-6 py-5">
90+
<td key={i} className="px-6">
9191
{typeof tier === 'boolean' && tier === true ? (
9292
<IncludedCheck tier={tier} />
9393
) : typeof tier === 'boolean' && tier === false ? (
94-
<Minus tier={tier} />
94+
<div className="text-scale-900">
95+
<Minus tier={tier} />
96+
</div>
9597
) : (
9698
<span className="text-scale-1200 block text-sm dark:text-white">{tier}</span>
9799
)}
@@ -113,7 +115,7 @@ export const PricingTableRowMobile = (props: any) => {
113115
return (
114116
<>
115117
<table className="mt-8 w-full">
116-
<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">
118+
<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">
117119
<div className="flex items-center gap-2">
118120
{category.icon ? <ProductIcon icon={props.icon} /> : null}
119121
<span className="text-scale-1200 font-normal">{category.title}</span>
@@ -129,16 +131,16 @@ export const PricingTableRowMobile = (props: any) => {
129131
</th>
130132
</tr>
131133
</thead>
132-
<tbody className="divide-scale-600 divide-y">
134+
<tbody className="divide-scale-400 divide-y">
133135
{category.features.map((feat: any, i: number) => {
134136
return (
135-
<tr key={i} className="border-t">
136-
<th className="text-scale-1100 px-4 py-5 text-left text-sm font-normal" scope="row">
137+
<tr key={i} className="border-scale-400 border-t">
138+
<th className="text-scale-1100 px-4 py-3 text-left text-sm font-normal" scope="row">
137139
<span>
138140
<p>{feat.title}</p>
139141
</span>
140142
</th>
141-
<td className="py-5 pr-4 text-right">
143+
<td className="py-3 pr-4 text-right">
142144
{typeof feat.tiers[tier] === 'boolean' && feat.tiers[tier] === true ? (
143145
<div className="inline-block">
144146
<IncludedCheck tier={tier} />

apps/www/data/Pricing.json

Lines changed: 43 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,29 @@
4545
"enterprise": "30 days Point in Time backup"
4646
}
4747
},
48+
{
49+
"title": "Point in time recovery",
50+
"tiers": {
51+
"free": false,
52+
"pro": false,
53+
"enterprise": true
54+
}
55+
},
4856
{
4957
"title": "Pausing",
50-
"tooltip": "Unused projects that have no activity or API requests will be shut down. They can be reactivated by logging into the dashboard",
58+
"tooltip": "Projects that have no activity or API requests will be paused. They can be reactivated via the dashboard",
5159
"tiers": {
5260
"free": "Paused after 1 week inactivity",
5361
"pro": "Never",
5462
"enterprise": "Never"
5563
}
5664
},
5765
{
58-
"title": "Transfer limits",
66+
"title": "Database egress",
5967
"tooltip": "Good news, only download operations are counted towards the limit",
6068
"tiers": {
6169
"free": "Up to 2GB",
62-
"pro": "50GB included, then $0.09 per GB",
70+
"pro": "50GB included per month, then $0.09 per GB",
6371
"enterprise": "Unlimited"
6472
}
6573
}
@@ -78,6 +86,15 @@
7886
"enterprise": "Unlimited"
7987
}
8088
},
89+
{
90+
"title": "MAUs",
91+
"tooltip": "Monthly Active Users; a user that has made an API request in the last month.",
92+
"tiers": {
93+
"free": "Up to 50,000 MAUs",
94+
"pro": "100,000 included, then $0.00325 per MAU",
95+
"enterprise": "1,000,000 included, then $0.00325 per MAU"
96+
}
97+
},
8198
{
8299
"title": "Social OAuth providers",
83100
"tiers": {
@@ -150,7 +167,7 @@
150167
}
151168
},
152169
{
153-
"title": "Transfer limits",
170+
"title": "Storage egress",
154171
"tooltip": "Good news, only download operations are counted towards the limit",
155172
"tiers": {
156173
"free": "Up to 2 GB",
@@ -168,6 +185,7 @@
168185
},
169186
{
170187
"title": "Max file upload size",
188+
"tooltip": "You can change the upload size in the dashboard",
171189
"tiers": {
172190
"free": "Up to 50MB",
173191
"pro": "Up to 5GB",
@@ -183,16 +201,16 @@
183201
{
184202
"title": "Runtime hours",
185203
"tiers": {
186-
"free": "100 hours",
187-
"pro": "1,000 hours",
204+
"free": "100 hours per month",
205+
"pro": "1,000 hours per month",
188206
"enterprise": "Unlimited"
189207
}
190208
},
191209
{
192210
"title": "Invocations",
193211
"tiers": {
194-
"free": "500K",
195-
"pro": "2 Million",
212+
"free": "500K per month",
213+
"pro": "2 Million per month",
196214
"enterprise": "Unlimited"
197215
}
198216
},
@@ -308,7 +326,7 @@
308326
"title": "Metrics endpoint",
309327
"tiers": {
310328
"free": false,
311-
"pro": false,
329+
"pro": true,
312330
"enterprise": true
313331
}
314332
},
@@ -343,6 +361,22 @@
343361
"pro": false,
344362
"enterprise": true
345363
}
364+
},
365+
{
366+
"title": "Designated customer success engineer ",
367+
"tiers": {
368+
"free": false,
369+
"pro": false,
370+
"enterprise": true
371+
}
372+
},
373+
{
374+
"title": "Security Questionnaire Help",
375+
"tiers": {
376+
"free": false,
377+
"pro": false,
378+
"enterprise": true
379+
}
346380
}
347381
]
348382
}

apps/www/data/PricingAddOn.json

Lines changed: 83 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@
3737
{
3838
"key": "directConnections",
3939
"title": "Connections: Direct",
40-
"value": "10 (recommended)"
40+
"value": "30 (recommended)"
4141
},
4242
{
4343
"key": "poolerConnections",
4444
"title": "Connections: Pooler",
45-
"value": "50 (recommended)"
45+
"value": "75 (recommended)"
4646
}
4747
]
4848
},
@@ -61,7 +61,7 @@
6161
{
6262
"key": "poolerConnections",
6363
"title": "Connections: Pooler",
64-
"value": "500 (recommended)"
64+
"value": "150 (recommended)"
6565
}
6666
]
6767
},
@@ -80,7 +80,7 @@
8080
{
8181
"key": "poolerConnections",
8282
"title": "Connections: Pooler",
83-
"value": "1000 (recommended)"
83+
"value": "300 (recommended)"
8484
}
8585
]
8686
},
@@ -99,7 +99,7 @@
9999
{
100100
"key": "poolerConnections",
101101
"title": "Connections: Pooler",
102-
"value": "2000 (recommended)"
102+
"value": "600 (recommended)"
103103
}
104104
]
105105
},
@@ -113,12 +113,88 @@
113113
{
114114
"key": "directConnections",
115115
"title": "Connections: Direct",
116-
"value": "400 (recommended)"
116+
"value": "350 (recommended)"
117+
},
118+
{
119+
"key": "poolerConnections",
120+
"title": "Connections: Pooler",
121+
"value": "1200 (recommended)"
122+
}
123+
]
124+
},
125+
{
126+
"columns": [
127+
{ "key": "plan", "title": "Plan", "value": "4XL" },
128+
{ "key": "pricing", "title": "Pricing", "value": "$950" },
129+
{ "key": "cpu", "title": "CPU", "value": "16-core ARM (dedicated)" },
130+
{ "key": "memory", "title": "Memory", "value": "64 GB" },
131+
{ "key": "diskIO", "title": "Disk IO Bandwidth", "value": "Up to 4,750 Mbps" },
132+
{
133+
"key": "directConnections",
134+
"title": "Connections: Direct",
135+
"value": "420 (recommended)"
136+
},
137+
{
138+
"key": "poolerConnections",
139+
"title": "Connections: Pooler",
140+
"value": "2800 (recommended)"
141+
}
142+
]
143+
},
144+
{
145+
"columns": [
146+
{ "key": "plan", "title": "Plan", "value": "8XL" },
147+
{ "key": "pricing", "title": "Pricing", "value": "$1,860" },
148+
{ "key": "cpu", "title": "CPU", "value": "32-core ARM (dedicated)" },
149+
{ "key": "memory", "title": "Memory", "value": "128 GB" },
150+
{ "key": "diskIO", "title": "Disk IO Bandwidth", "value": "Up to 9,000 Mbps" },
151+
{
152+
"key": "directConnections",
153+
"title": "Connections: Direct",
154+
"value": "450 (recommended)"
155+
},
156+
{
157+
"key": "poolerConnections",
158+
"title": "Connections: Pooler",
159+
"value": "5600 (recommended)"
160+
}
161+
]
162+
},
163+
{
164+
"columns": [
165+
{ "key": "plan", "title": "Plan", "value": "12XL" },
166+
{ "key": "pricing", "title": "Pricing", "value": "$2,790" },
167+
{ "key": "cpu", "title": "CPU", "value": "48-core ARM (dedicated)" },
168+
{ "key": "memory", "title": "Memory", "value": "192 GB" },
169+
{ "key": "diskIO", "title": "Disk IO Bandwidth", "value": "Up to 13,500 Mbps" },
170+
{
171+
"key": "directConnections",
172+
"title": "Connections: Direct",
173+
"value": "480 (recommended)"
174+
},
175+
{
176+
"key": "poolerConnections",
177+
"title": "Connections: Pooler",
178+
"value": "8600 (recommended)"
179+
}
180+
]
181+
},
182+
{
183+
"columns": [
184+
{ "key": "plan", "title": "Plan", "value": "16XL" },
185+
{ "key": "pricing", "title": "Pricing", "value": "$3,720" },
186+
{ "key": "cpu", "title": "CPU", "value": "64-core ARM (dedicated)" },
187+
{ "key": "memory", "title": "Memory", "value": "256 GB" },
188+
{ "key": "diskIO", "title": "Disk IO Bandwidth", "value": "Up to 19,000 Mbps" },
189+
{
190+
"key": "directConnections",
191+
"title": "Connections: Direct",
192+
"value": "500 (recommended)"
117193
},
118194
{
119195
"key": "poolerConnections",
120196
"title": "Connections: Pooler",
121-
"value": "4000 (recommended)"
197+
"value": "11,600 (recommended)"
122198
}
123199
]
124200
},

apps/www/pages/blog/[year]/[month]/[day]/[slug].tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,30 @@ const components = {
2929
return <CodeBlock {...props} />
3030
},
3131
ImageGrid,
32+
img: (props: any) => {
33+
const classes = [
34+
'next-image--dynamic-fill',
35+
'from-brand-500 to-brand-500',
36+
'rounded border bg-gradient-to-r via-blue-500',
37+
]
38+
39+
return (
40+
<div
41+
className="
42+
next-image--dynamic-fill
43+
to-scale-400
44+
from-scale-500 rounded-md
45+
border bg-gradient-to-r
46+
"
47+
>
48+
<Image
49+
{...props}
50+
className="next-image--dynamic-fill to-brand-1000 from-brand-900 rounded-md border bg-gradient-to-r"
51+
layout="fill"
52+
/>
53+
</div>
54+
)
55+
},
3256
}
3357

3458
// plugins for next-mdx-remote

apps/www/pages/pricing/CHANGELOG.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
Pricing Changelog
22

3+
### 16 June 2022
4+
----
5+
6+
Auth
7+
- New item “MAUs (Monthly Active Users)”
8+
Security & Compliance
9+
- New item: “Security questionnaire help” for enterprise
10+
- New item - “Metrics Endpoint” for enterprise and pro tier users
11+
Database Compute Add ons
12+
- New item: “4XL”
13+
- New item: “8XL”
14+
- New item: “12XL”
15+
- New item: “16XL”
16+
Database
17+
- New item: “Point in time recovery” for enterprise
18+
Clarifications
19+
- General - Clearer language that we charge on a per project per month
20+
- Storage - Uploads for Pro, changed from 3GB → 5GB in title card
21+
- Storage - file upload size - clarified that it can be changed in dashboard
22+
- All products - “Transfer” renamed to “Egress”
23+
- Database compute add-ons - Number of connections more accurate
24+
- Storage - Free tier egress per month clarified
325

426
### 31 March 2022
527
----

0 commit comments

Comments
 (0)