The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: update pricing styling
Isaiah Hamiltonc48fdc1219bd
diff --git a/www/components/PricingTableRow.tsx b/www/components/PricingTableRow.tsxindex 7e986a13daf..ee9ba90ec9e 100644--- a/www/components/PricingTableRow.tsx+++ b/www/components/PricingTableRow.tsx@@ -7,7 +7,7 @@ import ProductIcon from 'components/ProductIcon'const Chevron = (props: any) => (<><svg- className={`h-5 w-5 text-green-500`}+ className={`h-5 w-5 text-green-900`}xmlns="http://www.w3.org/2000/svg"viewBox="0 0 20 20"fill="currentColor"@@ -25,7 +25,7 @@ const Chevron = (props: any) => (const Minus = (props: any) => (<><svg- className="h-5 w-5 text-gray-400"+ className="h-5 w-5 text-scale-1200 dark:text-white"xmlns="http://www.w3.org/2000/svg"viewBox="0 0 20 20"fill="currentColor"@@ -46,32 +46,32 @@ export const PricingTableRowDesktop = (props: any) => {return (<>- <tr className="divide-x dark:divide-gray-600" style={{ borderTop: 'none' }}>+ <tr className="divide-x dark:divide-scale-900" style={{ borderTop: 'none' }}><th- className="pricing-table__product-row bg-gray-50 dark:bg-gray-700 py-3 pl-6 text-sm font-medium text-gray-900 dark:text-white text-left"+ className="pricing-table__product-row bg-scale-50 dark:bg-scale-300 py-3 pl-6 text-sm font-medium text-scale-1200 dark:text-white text-left"scope="colgroup">- <Space size={4}>+ <div className="flex items-center">{props.icon && <ProductIcon icon={props.icon} />}- <h4 className="m-0">{category.title}</h4>- </Space>+ <h4 className="m-0 ml-2">{category.title}</h4>+ </div></th>- <td className="pricing-table__product-row bg-gray-50 dark:bg-scale-300 py-5 px-6"></td>- <td className="pricing-table__product-row bg-gray-50 dark:bg-scale-300 py-5 px-6"></td>- <td className="pricing-table__product-row bg-gray-50 dark:bg-scale-300 py-5 px-6"></td>+ <td className="pricing-table__product-row bg-scale-50 dark:bg-scale-300 py-5 px-6"></td>+ <td className="pricing-table__product-row bg-scale-50 dark:bg-scale-300 py-5 px-6"></td>+ <td className="pricing-table__product-row bg-scale-50 dark:bg-scale-300 py-5 px-6"></td></tr>{category.features.map((feat: any) => {return (- <tr className="divide-x dark:divide-gray-600">+ <tr className="divide-x divide-scale-600 dark:divide-scale-400"><th- className="flex items-center py-5 px-6 text-sm font-normal text-gray-500 dark:text-gray-300 text-left"+ className="flex items-center py-5 px-6 text-sm font-normal text-scale-1200 dark:text-white text-left"scope="row"><span>{feat.title} </span>{feat.tooltip && (<span- className="ml-2 cursor-pointer hover:text-gray-800 dark:hover:text-white"+ className="ml-2 cursor-pointer hover:text-scale-800 dark:hover:text-white"data-tip={feat.tooltip}><IconHelpCircle size="small" />@@ -87,7 +87,7 @@ export const PricingTableRowDesktop = (props: any) => {) : typeof tier === 'boolean' && tier === false ? (<Minus tier={tier} />) : (- <span className="block text-sm text-gray-700 dark:text-white">{tier}</span>+ <span className="block text-sm text-scale-1200 dark:text-white">{tier}</span>)}</td>)@@ -107,7 +107,7 @@ export const PricingTableRowMobile = (props: any) => {return (<><table className="mt-8 w-full">- <caption className="bg-gray-50 dark:bg-dark-900 border-t border-gray-200 dark:border-gray-600 py-3 px-4 text-sm font-medium text-gray-900 dark:text-white text-left">+ <caption className="bg-scale-50 dark:bg-dark-900 border-t border-scale-200 dark:border-scale-600 py-3 px-4 text-sm font-medium text-scale-1200 dark:text-white text-left"><Space size={4}>{category.icon ? <ProductIcon icon={props.icon} /> : null}<h4 className="m-0">{category.title}</h4>@@ -123,11 +123,11 @@ export const PricingTableRowMobile = (props: any) => {</th></tr></thead>- <tbody className="divide-y divide-gray-200 dark:divide-gray-600 ">+ <tbody className="divide-y divide-scale-900 dark:divide-scale-600 ">{category.features.map((feat: any) => {return (- <tr className="border-t border-gray-200 dark:border-gray-600 ">- <th className="py-5 px-4 text-sm font-normal text-gray-500 text-left" scope="row">+ <tr className="border-t border-scale-200 dark:border-scale-600 ">+ <th className="py-5 px-4 text-sm font-normal text-scale-500 text-left" scope="row"><span><p>{feat.title}</p></span>@@ -142,7 +142,7 @@ export const PricingTableRowMobile = (props: any) => {<Minus tier={tier} /></div>) : (- <span className="block text-sm text-gray-700 dark:text-white">+ <span className="block text-sm text-scale-1200 dark:text-white">{feat.tiers[tier]}</span>)}diff --git a/www/pages/pricing/index.tsx b/www/pages/pricing/index.tsxindex 23252a34d5f..a062e787046 100644--- a/www/pages/pricing/index.tsx+++ b/www/pages/pricing/index.tsx@@ -37,10 +37,9 @@ export default function IndexPage() {],}}/>- <div className="bg-white dark:bg-gray-800"><div className="container mx-auto px-6 lg:px-16 xl:px-20 relative pt-24 md:pt-24 lg:pt-24"><div className="text-center">- <h1>Predictable pricing, no surprises</h1>+ <h1 className="text-5xl">Predictable pricing, no surprises</h1><p><p className="text-lg">Start with a hobby project, collaborate with a team, and scale to millions of users.@@ -81,25 +80,23 @@ export default function IndexPage() {</div></div></div>- </div>- <div className="bg-white dark:bg-gray-800"><div className="container mx-auto px-0 lg:px-16 xl:px-20 relative py-16 sm:py-18 md:py-24 lg:py-24">{/* <!-- xs to lg --> */}<div className=" lg:hidden">{/* Free - Mobile */}<div className="px-4">- <h2 className="text-lg leading-6 font-medium text-gray-900 dark:text-white">Free</h2>+ <h2 className="text-lg leading-6 font-medium text-scale-900 dark:text-white">Free</h2><p className="mt-4">- <span className="text-4xl font-normal text-gray-900 dark:text-white">$0</span>+ <span className="text-4xl font-normal text-scale-900 dark:text-white">$0</span><p>/project /month</p></p>- <p className="my-4 text-sm text-gray-500">+ <p className="my-4 text-sm text-scale-500">Perfect for hobby projects and experiments.</p><Link href="https://app.supabase.io" as="https://app.supabase.io"><a>- <Button type="outline" size="medium" block>+ <Button type="default" size="medium" block>Get started</Button></a>@@ -126,17 +123,17 @@ export default function IndexPage() {{/* Pro - Mobile */}<div className="px-4 mt-16">- <h2 className="text-lg leading-6 font-medium text-gray-900 dark:text-white">Pro</h2>+ <h2 className="text-lg leading-6 font-medium text-scale-900 dark:text-white">Pro</h2><p className="mt-4">- <span className="text-4xl font-normal text-gray-900 dark:text-white">$25</span>+ <span className="text-4xl font-normal text-scale-900 dark:text-white">$25</span><p>/project /month</p></p>- <p className="my-4 text-sm text-gray-500">+ <p className="my-4 text-sm text-scale-500">Everything you need to scale your project into production.</p><Link href="https://app.supabase.io" as="https://app.supabase.io"><a>- <Button type="outline" size="medium" block>+ <Button type="default" size="medium" block>Get started</Button></a>@@ -163,19 +160,19 @@ export default function IndexPage() {{/* Enterprise - Mobile */}<div className="px-4 mt-16">- <h2 className="text-lg leading-6 font-medium text-gray-900 dark:text-white">+ <h2 className="text-lg leading-6 font-medium text-scale-900 dark:text-white">Pay as you go</h2><p className="mt-4">- <span className="text-4xl font-normal text-gray-900 dark:text-white">$25</span>+ <span className="text-4xl font-normal text-scale-900 dark:text-white">$25</span><p>/project /month plus usage costs</p></p>- <p className="my-4 text-sm text-gray-500">+ <p className="my-4 text-sm text-scale-500">Designated support team, account manager and technical specialist.</p><Link href="https://app.supabase.io" as="https://app.supabase.io"><a>- <Button type="outline" size="medium" block>+ <Button type="default" size="medium" block>Get started</Button></a>@@ -205,58 +202,58 @@ export default function IndexPage() {<div className="hidden lg:block"><table className="w-full h-px table-fixed"><caption className="sr-only">Pricing plan comparison</caption>- <thead className="thead--plans sticky z-10 top-[62px]">+ <thead className="thead--plans sticky z-10 top-[62px] border-b border-scale-700 dark:border-scale-400"><tr><th- className="relative bg-white dark:bg-gray-800 pb-4 px-6 text-sm font-medium text-gray-900 dark:text-white text-left"+ className="relative pb-4 px-6 text-sm font-medium text-scale-1200 dark:text-white text-left"scope="col"><span className="sr-only">Feature by</span><span>Plans</span><div- className="absolute bottom-0 left-0 h-0.25 w-full bg-gray-200 dark:bg-scale-300"+ className="absolute bottom-0 left-0 h-0.25 w-full bg-scale-200 dark:bg-scale-300"style={{ height: '1px' }}></div></th><th- className=" bg-white dark:bg-gray-800 w-1/4 pb-4 px-6 text-left font-medium"+ className="w-1/4 pb-4 px-6 text-left font-medium"scope="col"><h4>Free</h4><div- className="absolute bottom-0 left-0 h-0.25 w-full bg-gray-200 dark:bg-scale-300"+ className="absolute bottom-0 left-0 h-0.25 w-full bg-scale-200 dark:bg-scale-300"style={{ height: '1px' }}></div></th><th- className=" bg-white dark:bg-gray-800 w-1/4 pb-4 px-6 text-lg leading-6 font-medium text-gray-900 text-left"+ className="w-1/4 pb-4 px-6 text-lg leading-6 font-medium text-scale-900 text-left"scope="col"><h4>Pro</h4><div- className="absolute bottom-0 left-0 h-0.25 w-full bg-gray-200 dark:bg-scale-300"+ className="absolute bottom-0 left-0 h-0.25 w-full bg-scale-200 dark:bg-scale-300"style={{ height: '1px' }}></div></th><th- className=" bg-white dark:bg-gray-800 w-1/4 pb-4 px-6 text-lg leading-6 font-medium text-gray-900 text-left"+ className="w-1/4 pb-4 px-6 text-lg leading-6 font-medium text-scale-900 text-left"scope="col"><h4>Pay as you go</h4><div- className="absolute bottom-0 left-0 h-0.25 w-full bg-gray-200 dark:bg-scale-300"+ className="absolute bottom-0 left-0 h-0.25 w-full bg-scale-200 dark:bg-scale-300"style={{ height: '1px' }}></div></th></tr></thead>- <tbody className="border-gray-200 dark:border-gray-600 divide-y divide-gray-200 dark:divide-gray-700">- <tr className="divide-x dark:divide-gray-700">+ <tbody className="border-scale-700 dark:border-scale-400 divide-y divide-scale-700 dark:divide-scale-400">+ <tr className="divide-x divide-scale-700 dark:divide-scale-400"><th- className="py-8 px-6 text-sm font-medium text-gray-900 dark:text-white text-left align-top"+ className="py-8 px-6 text-sm font-medium text-scale-900 dark:text-white text-left align-top"scope="row">Pricing@@ -265,7 +262,7 @@ export default function IndexPage() {<td className="h-full py-8 px-6 align-top"><div className="relative h-full table"><p>- <span className="text-4xl font-normal text-gray-900 dark:text-white">+ <span className="text-4xl font-normal text-scale-900 dark:text-white">$0</span><p> /project /month</p>@@ -276,7 +273,7 @@ export default function IndexPage() {<div className="absolute bottom-0"><Link href="https://app.supabase.io" as="https://app.supabase.io"><a>- <Button size="medium" type="outline">+ <Button size="medium" type="default">Get started</Button></a>@@ -288,7 +285,7 @@ export default function IndexPage() {<td className="h-full py-8 px-6 align-top"><div className="relative h-full table"><p>- <span className="text-4xl font-normal text-gray-900 dark:text-white">+ <span className="text-4xl font-normal text-scale-900 dark:text-white">$25</span><p> /project /month</p>@@ -299,7 +296,7 @@ export default function IndexPage() {<div className="absolute bottom-0"><Link href="https://app.supabase.io" as="https://app.supabase.io"><a>- <Button size="medium" type="outline">+ <Button size="medium" type="default">Get started</Button></a>@@ -311,7 +308,7 @@ export default function IndexPage() {<td className="h-full py-8 px-6 align-top"><div className="relative h-full table"><p>- <span className="text-4xl font-normal text-gray-900 dark:text-white">+ <span className="text-4xl font-normal text-scale-900 dark:text-white">$25</span><p> /project /month plus usage costs</p>@@ -322,7 +319,7 @@ export default function IndexPage() {<div className="absolute bottom-0"><Link href="https://app.supabase.io" as="https://app.supabase.io"><a>- <Button size="medium" type="outline">+ <Button size="medium" type="default">Get started</Button></a>@@ -356,7 +353,7 @@ export default function IndexPage() {<td className="pt-5 px-6"><Link href="https://app.supabase.io" as="https://app.supabase.io"><a>- <Button size="medium" type="outline" block>+ <Button size="medium" type="default" block>Get started</Button></a>@@ -366,7 +363,7 @@ export default function IndexPage() {<td className="pt-5 px-6"><Link href="https://app.supabase.io" as="https://app.supabase.io"><a>- <Button size="medium" type="outline" block>+ <Button size="medium" type="default" block>Get started</Button></a>@@ -376,7 +373,7 @@ export default function IndexPage() {<td className="pt-5 px-6"><Link href="mailto:[email protected]" as="mailto:[email protected]"><a>- <Button size="medium" type="outline" block>+ <Button size="medium" type="default" block>Contact us</Button></a>@@ -387,9 +384,8 @@ export default function IndexPage() {</table></div></div>- </div>- <div className="bg-gray-50 dark:bg-gray-800 border-t dark:border-gray-600">+ <div className="border-t dark:border-scale-600"><div className="container mx-auto px-6 lg:px-16 xl:px-20 relative py-16 sm:py-18 md:py-24 lg:py-24"><h2>Frequently asked questions</h2><h1 className="w-5/12 mb-4">@@ -405,7 +401,7 @@ export default function IndexPage() {</Link><Link href="https://github.com/supabase/supabase/discussions"><a>- <Button size="small">GitHub</Button>+ <Button size="small" className="text-white">GitHub</Button></a></Link><div className="mt-16">@@ -414,7 +410,7 @@ export default function IndexPage() {return (<div>{/* @ts-ignore */}- <Accordion type="bordered" openBehaviour="multiple" size="medium">+ <Accordion type="bordered" openBehaviour="multiple" size="medium" className=" text-scale-900 dark:text-white"><Accordion.Item header={faq.question} id={`faq--${i.toString()}`}><ReactMarkdown>{faq.answer}</ReactMarkdown></Accordion.Item>diff --git a/www/styles/index.css b/www/styles/index.cssindex f2f48f70375..855b64d7870 100644--- a/www/styles/index.css+++ b/www/styles/index.css@@ -217,7 +217,6 @@ table .thead--plans th {.pricing-table__product-row {/* @apply py-4; */position: sticky;- border-collapse: separate;top: 0;z-index: 5;}