Skip to content

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

chore: run prettier

Isaiah Hamilton385e4e18a07e
diff --git a/www/components/CTABanner/index.tsx b/www/components/CTABanner/index.tsx
index ed564b9ee13..3b0e23e71e2 100644
--- a/www/components/CTABanner/index.tsx
+++ b/www/components/CTABanner/index.tsx
@@ -17,7 +17,9 @@ const CTABanner = (props: any) => {
</div>
<div className="col-span-12 mt-4">
<a href="https://app.supabase.io/">
- <Button size="medium" className="text-white">Start your project</Button>
+ <Button size="medium" className="text-white">
+ Start your project
+ </Button>
</a>
</div>
</div>
diff --git a/www/pages/pricing/index.tsx b/www/pages/pricing/index.tsx
index a062e787046..54d6105bc7c 100644
--- a/www/pages/pricing/index.tsx
+++ b/www/pages/pricing/index.tsx
@@ -37,16 +37,16 @@ export default function IndexPage() {
],
}}
/>
- <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 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.
- </p>
+ <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 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.
</p>
- <div className="grid grid-cols-12 gap-8 mt-16">
- {/* <div className="col-span-12 lg:col-span-6">
+ </p>
+ <div className="grid grid-cols-12 gap-8 mt-16">
+ {/* <div className="col-span-12 lg:col-span-6">
<div className="rounded border border-green-500 dark:border-green-900 bg-green-500 bg-opacity-10 grid grid-cols-6">
<div className="p-6 col-span-6">
<Space className="mb-4">
@@ -63,7 +63,7 @@ export default function IndexPage() {
</div>
</div>
</div> */}
- {/* <div className="col-span-12 lg:col-span-6">
+ {/* <div className="col-span-12 lg:col-span-6">
<div className="rounded border border-gray-200 dark:border-gray-600 grid grid-cols-12">
<img
src={`${basePath}/images/t-shirt-promo.jpg`}
@@ -77,313 +77,307 @@ export default function IndexPage() {
</div>
</div>
</div> */}
- </div>
</div>
</div>
- <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-scale-900 dark:text-white">Free</h2>
- <p className="mt-4">
- <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-scale-500">
- Perfect for hobby projects and experiments.
- </p>
- <Link href="https://app.supabase.io" as="https://app.supabase.io">
- <a>
- <Button type="default" size="medium" block>
- Get started
- </Button>
- </a>
- </Link>
- </div>
+ </div>
+ <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 --> */}
- <PricingTableRowMobile
- category={pricing.database}
- tier={'free'}
- icon={Solutions['database'].icon}
- />
- <PricingTableRowMobile
- category={pricing.auth}
- tier={'free'}
- icon={Solutions['authentication'].icon}
- />
- <PricingTableRowMobile
- category={pricing.storage}
- tier={'free'}
- icon={Solutions['storage'].icon}
- />
- <PricingTableRowMobile category={pricing.dashboard} tier={'free'} />
- <PricingTableRowMobile category={pricing.support} tier={'free'} />
+ <div className=" lg:hidden">
+ {/* Free - Mobile */}
+ <div className="px-4">
+ <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-scale-900 dark:text-white">$0</span>
+ <p>/project /month</p>
+ </p>
+ <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="default" size="medium" block>
+ Get started
+ </Button>
+ </a>
+ </Link>
+ </div>
- {/* Pro - Mobile */}
- <div className="px-4 mt-16">
- <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-scale-900 dark:text-white">$25</span>
- <p>/project /month</p>
- </p>
- <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="default" size="medium" block>
- Get started
- </Button>
- </a>
- </Link>
- </div>
+ <PricingTableRowMobile
+ category={pricing.database}
+ tier={'free'}
+ icon={Solutions['database'].icon}
+ />
+ <PricingTableRowMobile
+ category={pricing.auth}
+ tier={'free'}
+ icon={Solutions['authentication'].icon}
+ />
+ <PricingTableRowMobile
+ category={pricing.storage}
+ tier={'free'}
+ icon={Solutions['storage'].icon}
+ />
+ <PricingTableRowMobile category={pricing.dashboard} tier={'free'} />
+ <PricingTableRowMobile category={pricing.support} tier={'free'} />
- <PricingTableRowMobile
- category={pricing.database}
- tier={'pro'}
- icon={Solutions['database'].icon}
- />
- <PricingTableRowMobile
- category={pricing.auth}
- tier={'pro'}
- icon={Solutions['authentication'].icon}
- />
- <PricingTableRowMobile
- category={pricing.storage}
- tier={'pro'}
- icon={Solutions['storage'].icon}
- />
- <PricingTableRowMobile category={pricing.dashboard} tier={'pro'} />
- <PricingTableRowMobile category={pricing.support} tier={'pro'} />
+ {/* Pro - Mobile */}
+ <div className="px-4 mt-16">
+ <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-scale-900 dark:text-white">$25</span>
+ <p>/project /month</p>
+ </p>
+ <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="default" size="medium" block>
+ Get started
+ </Button>
+ </a>
+ </Link>
+ </div>
- {/* Enterprise - Mobile */}
- <div className="px-4 mt-16">
- <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-scale-900 dark:text-white">$25</span>
- <p>/project /month plus usage costs</p>
- </p>
- <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="default" size="medium" block>
- Get started
- </Button>
- </a>
- </Link>
- </div>
+ <PricingTableRowMobile
+ category={pricing.database}
+ tier={'pro'}
+ icon={Solutions['database'].icon}
+ />
+ <PricingTableRowMobile
+ category={pricing.auth}
+ tier={'pro'}
+ icon={Solutions['authentication'].icon}
+ />
+ <PricingTableRowMobile
+ category={pricing.storage}
+ tier={'pro'}
+ icon={Solutions['storage'].icon}
+ />
+ <PricingTableRowMobile category={pricing.dashboard} tier={'pro'} />
+ <PricingTableRowMobile category={pricing.support} tier={'pro'} />
- <PricingTableRowMobile
- category={pricing.database}
- tier={'enterprise'}
- icon={Solutions['database'].icon}
- />
- <PricingTableRowMobile
- category={pricing.auth}
- tier={'enterprise'}
- icon={Solutions['authentication'].icon}
- />
- <PricingTableRowMobile
- category={pricing.storage}
- tier={'enterprise'}
- icon={Solutions['storage'].icon}
- />
- <PricingTableRowMobile category={pricing.dashboard} tier={'enterprise'} />
- <PricingTableRowMobile category={pricing.support} tier={'enterprise'} />
+ {/* Enterprise - Mobile */}
+ <div className="px-4 mt-16">
+ <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-scale-900 dark:text-white">$25</span>
+ <p>/project /month plus usage costs</p>
+ </p>
+ <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="default" size="medium" block>
+ Get started
+ </Button>
+ </a>
+ </Link>
</div>
- {/* <!-- lg+ --> */}
- <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] border-b border-scale-700 dark:border-scale-400">
- <tr>
- <th
- 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-scale-200 dark:bg-scale-300"
- style={{ height: '1px' }}
- ></div>
- </th>
+ <PricingTableRowMobile
+ category={pricing.database}
+ tier={'enterprise'}
+ icon={Solutions['database'].icon}
+ />
+ <PricingTableRowMobile
+ category={pricing.auth}
+ tier={'enterprise'}
+ icon={Solutions['authentication'].icon}
+ />
+ <PricingTableRowMobile
+ category={pricing.storage}
+ tier={'enterprise'}
+ icon={Solutions['storage'].icon}
+ />
+ <PricingTableRowMobile category={pricing.dashboard} tier={'enterprise'} />
+ <PricingTableRowMobile category={pricing.support} tier={'enterprise'} />
+ </div>
- <th
- 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-scale-200 dark:bg-scale-300"
- style={{ height: '1px' }}
- ></div>
- </th>
+ {/* <!-- lg+ --> */}
+ <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] border-b border-scale-700 dark:border-scale-400">
+ <tr>
+ <th
+ 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-scale-200 dark:bg-scale-300"
+ style={{ height: '1px' }}
+ ></div>
+ </th>
- <th
- 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-scale-200 dark:bg-scale-300"
- style={{ height: '1px' }}
- ></div>
- </th>
+ <th 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-scale-200 dark:bg-scale-300"
+ style={{ height: '1px' }}
+ ></div>
+ </th>
- <th
- 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-scale-200 dark:bg-scale-300"
- style={{ height: '1px' }}
- ></div>
- </th>
- </tr>
- </thead>
- <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-scale-900 dark:text-white text-left align-top"
- scope="row"
- >
- Pricing
- </th>
+ <th
+ 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-scale-200 dark:bg-scale-300"
+ style={{ height: '1px' }}
+ ></div>
+ </th>
- <td className="h-full py-8 px-6 align-top">
- <div className="relative h-full table">
- <p>
- <span className="text-4xl font-normal text-scale-900 dark:text-white">
- $0
- </span>
- <p> /project /month</p>
- </p>
- <p className="mt-4 mb-16 ">
- <p>Perfect for hobby projects and experiments.</p>
- </p>
- <div className="absolute bottom-0">
- <Link href="https://app.supabase.io" as="https://app.supabase.io">
- <a>
- <Button size="medium" type="default">
- Get started
- </Button>
- </a>
- </Link>
- </div>
+ <th
+ 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-scale-200 dark:bg-scale-300"
+ style={{ height: '1px' }}
+ ></div>
+ </th>
+ </tr>
+ </thead>
+ <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-scale-900 dark:text-white text-left align-top"
+ scope="row"
+ >
+ Pricing
+ </th>
+
+ <td className="h-full py-8 px-6 align-top">
+ <div className="relative h-full table">
+ <p>
+ <span className="text-4xl font-normal text-scale-900 dark:text-white">
+ $0
+ </span>
+ <p> /project /month</p>
+ </p>
+ <p className="mt-4 mb-16 ">
+ <p>Perfect for hobby projects and experiments.</p>
+ </p>
+ <div className="absolute bottom-0">
+ <Link href="https://app.supabase.io" as="https://app.supabase.io">
+ <a>
+ <Button size="medium" type="default">
+ Get started
+ </Button>
+ </a>
+ </Link>
</div>
- </td>
+ </div>
+ </td>
- <td className="h-full py-8 px-6 align-top">
- <div className="relative h-full table">
- <p>
- <span className="text-4xl font-normal text-scale-900 dark:text-white">
- $25
- </span>
- <p> /project /month</p>
- </p>
- <p className="mt-4 mb-16 ">
- <p>Everything you need to scale your project into production.</p>
- </p>
- <div className="absolute bottom-0">
- <Link href="https://app.supabase.io" as="https://app.supabase.io">
- <a>
- <Button size="medium" type="default">
- Get started
- </Button>
- </a>
- </Link>
- </div>
+ <td className="h-full py-8 px-6 align-top">
+ <div className="relative h-full table">
+ <p>
+ <span className="text-4xl font-normal text-scale-900 dark:text-white">
+ $25
+ </span>
+ <p> /project /month</p>
+ </p>
+ <p className="mt-4 mb-16 ">
+ <p>Everything you need to scale your project into production.</p>
+ </p>
+ <div className="absolute bottom-0">
+ <Link href="https://app.supabase.io" as="https://app.supabase.io">
+ <a>
+ <Button size="medium" type="default">
+ Get started
+ </Button>
+ </a>
+ </Link>
</div>
- </td>
+ </div>
+ </td>
- <td className="h-full py-8 px-6 align-top">
- <div className="relative h-full table">
- <p>
- <span className="text-4xl font-normal text-scale-900 dark:text-white">
- $25
- </span>
- <p> /project /month plus usage costs</p>
- </p>
- <p className="mt-4 mb-16 ">
- <p>Designated support team, account manager and technical specialist.</p>
- </p>
- <div className="absolute bottom-0">
- <Link href="https://app.supabase.io" as="https://app.supabase.io">
- <a>
- <Button size="medium" type="default">
- Get started
- </Button>
- </a>
- </Link>
- </div>
+ <td className="h-full py-8 px-6 align-top">
+ <div className="relative h-full table">
+ <p>
+ <span className="text-4xl font-normal text-scale-900 dark:text-white">
+ $25
+ </span>
+ <p> /project /month plus usage costs</p>
+ </p>
+ <p className="mt-4 mb-16 ">
+ <p>Designated support team, account manager and technical specialist.</p>
+ </p>
+ <div className="absolute bottom-0">
+ <Link href="https://app.supabase.io" as="https://app.supabase.io">
+ <a>
+ <Button size="medium" type="default">
+ Get started
+ </Button>
+ </a>
+ </Link>
</div>
- </td>
- </tr>
+ </div>
+ </td>
+ </tr>
- <PricingTableRowDesktop
- category={pricing.database}
- icon={Solutions['database'].icon}
- />
- <PricingTableRowDesktop
- category={pricing.auth}
- icon={Solutions['authentication'].icon}
- />
- <PricingTableRowDesktop
- category={pricing.storage}
- icon={Solutions['storage'].icon}
- />
- <PricingTableRowDesktop category={pricing.dashboard} />
- <PricingTableRowDesktop category={pricing.support} />
- </tbody>
- <tfoot>
- <tr className="border-t border-gray-200 dark:border-gray-600">
- <th className="sr-only" scope="row">
- Choose your plan
- </th>
+ <PricingTableRowDesktop
+ category={pricing.database}
+ icon={Solutions['database'].icon}
+ />
+ <PricingTableRowDesktop
+ category={pricing.auth}
+ icon={Solutions['authentication'].icon}
+ />
+ <PricingTableRowDesktop category={pricing.storage} icon={Solutions['storage'].icon} />
+ <PricingTableRowDesktop category={pricing.dashboard} />
+ <PricingTableRowDesktop category={pricing.support} />
+ </tbody>
+ <tfoot>
+ <tr className="border-t border-gray-200 dark:border-gray-600">
+ <th className="sr-only" scope="row">
+ Choose your plan
+ </th>
- <td className="pt-5 px-6">
- <Link href="https://app.supabase.io" as="https://app.supabase.io">
- <a>
- <Button size="medium" type="default" block>
- Get started
- </Button>
- </a>
- </Link>
- </td>
+ <td className="pt-5 px-6">
+ <Link href="https://app.supabase.io" as="https://app.supabase.io">
+ <a>
+ <Button size="medium" type="default" block>
+ Get started
+ </Button>
+ </a>
+ </Link>
+ </td>
- <td className="pt-5 px-6">
- <Link href="https://app.supabase.io" as="https://app.supabase.io">
- <a>
- <Button size="medium" type="default" block>
- Get started
- </Button>
- </a>
- </Link>
- </td>
+ <td className="pt-5 px-6">
+ <Link href="https://app.supabase.io" as="https://app.supabase.io">
+ <a>
+ <Button size="medium" type="default" block>
+ Get started
+ </Button>
+ </a>
+ </Link>
+ </td>
- <td className="pt-5 px-6">
- <Link href="mailto:[email protected]" as="mailto:[email protected]">
- <a>
- <Button size="medium" type="default" block>
- Contact us
- </Button>
- </a>
- </Link>
- </td>
- </tr>
- </tfoot>
- </table>
- </div>
+ <td className="pt-5 px-6">
+ <Link href="mailto:[email protected]" as="mailto:[email protected]">
+ <a>
+ <Button size="medium" type="default" block>
+ Contact us
+ </Button>
+ </a>
+ </Link>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
</div>
+ </div>
<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">
@@ -401,7 +395,9 @@ export default function IndexPage() {
</Link>
<Link href="https://github.com/supabase/supabase/discussions">
<a>
- <Button size="small" className="text-white">GitHub</Button>
+ <Button size="small" className="text-white">
+ GitHub
+ </Button>
</a>
</Link>
<div className="mt-16">
@@ -410,7 +406,12 @@ export default function IndexPage() {
return (
<div>
{/* @ts-ignore */}
- <Accordion type="bordered" openBehaviour="multiple" size="medium" className=" text-scale-900 dark:text-white">
+ <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>