The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Merge branch 'feature/marketing-content-update' into feature/pricing
Jonathan Summers-Muira99b626009ff
diff --cc vercel.jsonindex 8d3dae80a32,ca16f5099eb..ae06a31bf34--- a/vercel.json+++ b/vercel.json@@@ -27,7 -27,8 +27,9 @@@{ "source": "/blog/rss.xml", "destination": "https://www-internal.supabase.io/new/rss.xml" },{ "source": "/blog/rss", "destination": "https://www-internal.supabase.io/new/rss.xml" },{ "source": "/beta", "destination": "https://www-internal.supabase.io/new/beta" },+ { "source": "/pricing", "destination": "https://www-internal.supabase.io/new/pricing" },+ { "source": "/database", "destination": "https://www-internal.supabase.io/new/database" },+ { "source": "/auth", "destination": "https://www-internal.supabase.io/new/auth" },{ "source": "/:match*", "destination": "https://docs-rose.vercel.app/:match*" }],"redirects": [diff --cc www/components/PricingTableRow.tsxindex b83ddd3f5c8,00000000000..fb701e7f230mode 100644,000000..100644--- a/www/components/PricingTableRow.tsx+++ b/www/components/PricingTableRow.tsx@@@ -1,162 -1,0 +1,162 @@@+import React from 'react'+import ReactDOM from 'react-dom'+import { IconHelpCircle, IconWatch, Space, Typography } from '@supabase/ui'+import ReactTooltip from 'react-tooltip'- import ProductIcon from './ProductIcon'++import ProductIcon from 'components/ProductIcon'++const Chevron = (props: any) => (+ <>+ <svg+ className={`h-5 w-5 text-green-500`}+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ >+ <path+ fillRule="evenodd"+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"+ clipRule="evenodd"+ />+ </svg>+ <span className="sr-only">Included in {props.tier}</span>+ </>+)++const Minus = (props: any) => (+ <>+ <svg+ className="h-5 w-5 text-gray-400"+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 20 20"+ fill="currentColor"+ aria-hidden="true"+ >+ <path+ fillRule="evenodd"+ d="M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"+ clipRule="evenodd"+ />+ </svg>+ <span className="sr-only">Not included in {props.tier}</span>+ </>+)++export const PricingTableRowDesktop = (props: any) => {+ const category = props.category++ return (+ <>+ <tr className="divide-x dark:divide-gray-600" 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"+ scope="colgroup"+ >+ <Space size={4}>+ {props.icon && (+ <ProductIcon icon={props.icon}/>+ )}+ <Typography.Title className="m-0" level={4}>{category.title}</Typography.Title>+ </Space>+ </th>+ <td className="pricing-table__product-row bg-gray-50 dark:bg-dark-700 py-5 px-6"></td>+ <td className="pricing-table__product-row bg-gray-50 dark:bg-dark-700 py-5 px-6"></td>+ <td className="pricing-table__product-row bg-gray-50 dark:bg-dark-700 py-5 px-6"></td>+ </tr>++ {category.features.map((feat: any) => {+ return (+ <tr className="divide-x dark:divide-gray-600">+ <th+ className="flex items-center py-5 px-6 text-sm font-normal text-gray-500 dark:text-gray-300 text-left"+ scope="row"+ >+ <span>{feat.title} </span>+ {feat.tooltip && (+ <span+ className="ml-2 cursor-pointer hover:text-gray-800 dark:hover:text-white"+ data-tip={feat.tooltip}+ >+ <IconHelpCircle size="small" />+ </span>+ )}+ </th>++ {Object.values(feat.tiers).map((tier) => {+ return (+ <td className="py-5 px-6">+ {typeof tier === 'boolean' && tier === true ? (+ <Chevron tier={tier} />+ ) : typeof tier === 'boolean' && tier === false ? (+ <Minus tier={tier} />+ ) : (+ <span className="block text-sm text-gray-700 dark:text-white">{tier}</span>+ )}+ </td>+ )+ })}+ </tr>+ )+ })}+ <ReactTooltip effect={'solid'} />+ </>+ )+}++export const PricingTableRowMobile = (props: any) => {+ const category = props.category+ const tier = props.tier++ 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">+ <Space size={4}>+ {category.icon ? (+ <ProductIcon icon={props.icon}/>+ ) : null}+ <Typography.Title className="m-0" level={4}>{category.title}</Typography.Title>+ </Space>+ </caption>+ <thead>+ <tr>+ <th className="sr-only" scope="col">+ Feature+ </th>+ <th className="sr-only" scope="col">+ Included+ </th>+ </tr>+ </thead>+ <tbody className="divide-y divide-gray-200 dark:divide-gray-600 ">+ {category.features.map((feat) => {+ 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">+ <span>+ <Typography.Text type="secondary">{feat.title}</Typography.Text>+ </span>+ </th>+ <td className="py-5 pr-4 text-right">+ {typeof feat.tiers[tier] === 'boolean' && feat.tiers[tier] === true ? (+ <div className="inline-block">+ <Chevron tier={tier} />+ </div>+ ) : typeof feat.tiers[tier] === 'boolean' && feat.tiers[tier] === false ? (+ <div className="inline-block">+ <Minus tier={tier} />+ </div>+ ) : (+ <span className="block text-sm text-gray-700 dark:text-white">+ {feat.tiers[tier]}+ </span>+ )}+ </td>+ </tr>+ )+ })}+ </tbody>+ </table>+ <ReactTooltip effect={'solid'} />+ </>+ )+}diff --cc www/public/rss.xmlindex cb7f3cf142b,525b54221c0..1cb06382a2b--- a/www/public/rss.xml+++ b/www/public/rss.xml@@@ -5,17 -5,25 +5,33 @@@<link>https://supabase.io</link><description>Latest news from Supabase</description><language>en</language>- <lastBuildDate>Wed, 24 Mar 2021 16:00:00 GMT</lastBuildDate>+ <lastBuildDate>Sun, 28 Mar 2021 16:00:00 GMT</lastBuildDate><atom:link href="https://supabase.io/blog/rss.xml" rel="self" type="application/rss+xml"/>+<item>+ <guid>https://supabase.io/blog/2021/03/29/pricing</guid>- <title>Supabase launch week - Pricing</title>++ <title>Supabase Beta Pricing</title>+ <link>https://supabase.io/blog/2021/03/29/pricing</link>- <description>Supabase launch their pricing structure</description>++ <description>Supabase launches Beta pricing structure</description>+ <pubDate>Sun, 28 Mar 2021 16:00:00 GMT</pubDate>+</item>++ <item>+ <guid>https://supabase.io/blog/2021/03/25/launch-week</guid>+ <title>Launch week</title>+ <link>https://supabase.io/blog/2021/03/25/launch-week</link>+ <description>Five days of Supabase.</description>+ <pubDate>Wed, 24 Mar 2021 16:00:00 GMT</pubDate>+ </item>++ <item>+ <guid>https://supabase.io/blog/2021/03/25/angels-of-supabase</guid>+ <title>Angels of Supabase</title>+ <link>https://supabase.io/blog/2021/03/25/angels-of-supabase</link>+ <description>Meet the investors of Supabase.</description>+ <pubDate>Wed, 24 Mar 2021 16:00:00 GMT</pubDate>+ </item>+<item><guid>https://supabase.io/blog/2021/03/22/In-The-Loop</guid><title>Developers stay up to date with intheloop.dev</title>diff --cc www/styles/index.cssindex 20d971a0f87,32e0092cf53..506d5bd97ea--- a/www/styles/index.css+++ b/www/styles/index.css@@@ -89,33 -85,98 +85,125 @@@ p}body {- -moz-osx-font-smoothing: grayscale;-webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;+ }++ .section--masked {+ /* overflow: hidden; */+ }++ .section--bg-masked {+ position: absolute;+ width: 100%;+ height: 100%;+ /* overflow: visible; */+ }++ .section--bg {+ @apply bg-gray-50 dark:bg-gray-800;+ position: relative;+ height: 100%;+ width: 100%;+ top: 0;+ left: 0;+ transform-origin: 100% 0;+ transform: skewY(-2deg);+ overflow: hidden;+ /* transform-origin: var(--sectionTransformOrigin);+ transform: skewY(var(--sectionAngle));+ background: var(--backgroundColor);+ overflow:+ hidden; */+ }++ .section-container {+ position: relative;+ /* z-index: 1; */+ /* display: flex;+ justify-content: center; */+ }++ /* Database page */++ .dashboard-tabs div[role='seperator'] {+ @apply border border-gray-50 dark:border-gray-700;+ }++ a {+ @apply hover:text-black dark:hover:text-white;+ }++ .sbui-tabs--alt div[role='tablist'] .sbui-btn-primary {+ @apply bg-gray-800 text-white dark:bg-gray-600 dark:text-white;+ text-shadow: none;+ font-weight: 400;+ }+ .sbui-tabs--alt div[role='tablist'] .sbui-btn-text {+ @apply dark:text-gray-400;+ font-weight: 400;+ shadow: none;+ }++ .sbui-tabs--underline-alt div[role='tablist'] .sbui-tab-button-underline--active {+ @apply border-gray-900 dark:border-white;+ }+ /* override position of tabs */+ .dashboard-tabs > div > div > div > div {+ justify-content: center;+ }++ /* Auth page */++ /* .auth-container > div:nth-child(2) {+ width: 420px;+ } */++ .auth-container {+ @apply rounded;+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23edebf0' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");+ }++ .dark .auth-container {+ background-color: #181818;+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23313131' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h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zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");+ }++ .dark .header--light {+ display: none;+ }++ .header--dark {+ display: none;+ }++ .dark .header--dark {+ display: block;}++table {+ margin-top: 1em;+ border-collapse: collapse;+}++table .thead--plans th {+ @apply py-4;+ position: sticky;+ border-collapse: separate;+ top: 0;+ z-index: 999;+}++.pricing-table__product-row {+ /* @apply py-4; */+ position: sticky;+ border-collapse: separate;+ top: 60px;+ z-index: 999;+}++/* th {+ border-right: 5px solid red;+ background: white;+ background-clip: padding-box;+} */