The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
added urls to all the links, added create user example to code examples, changed bg color of hero,
mildtomato1f154c3b5897
diff --git a/www/components/BuiltWithSupabase/index.tsx b/www/components/BuiltWithSupabase/index.tsxindex 62c6dc00a7c..50d531775ee 100644--- a/www/components/BuiltWithSupabase/index.tsx+++ b/www/components/BuiltWithSupabase/index.tsx@@ -15,6 +15,7 @@ const BuiltExamples = () => {title_alt={' with Supabase'}subtitle={'Built with supabase'}/>+ <p className="mt-3 text-base text-gray-500 dark:text-dark-400">See all examples on our <a className="text-brand-700" href="https://github.com/supabase">Github</a></p></div><div className="relative max-w-7xl mx-auto"><div className="mt-12 max-w-lg mx-auto grid gap-5 lg:grid-cols-3 lg:max-w-none">diff --git a/www/components/CaseStudies/benchmark.tsx b/www/components/CaseStudies/benchmark.tsxindex 42aaa8a990c..87b77a00050 100644--- a/www/components/CaseStudies/benchmark.tsx+++ b/www/components/CaseStudies/benchmark.tsx@@ -16,7 +16,7 @@ const Benchmark = () => {</div></div><div className="pb-12 px-12 col-span-1 lg:pb-0 lg:px-0 lg:col-span-2 rounded-r-md">- <Button text="Get notified" url="#"/>+ <Button text="Get notified" url="https://mailchi.mp/supabase/enterprise-benchmarks"/></div></div></div>diff --git a/www/components/Features/index.tsx b/www/components/Features/index.tsxindex 82f6a51f52a..a848265e4b0 100644--- a/www/components/Features/index.tsx+++ b/www/components/Features/index.tsx@@ -27,14 +27,14 @@ const Features = () => {<div className="mt-5"><dd className="mt-2 text-base text-gray-500 dark:text-dark-100">{description}</dd></div>- {url && <Button className="mt-5" type="secondary" text="Learn more" url="#" />}+ {url && <Button className="mt-5" type="secondary" text="Learn more" url={url} />}{label && <Badge className="mt-5">{label}</Badge>}</div>)})return (- <div className="bg-gray-50 dark:bg-dark-600 overflow-hidden py-12">+ <div className="bg-gray-50 dark:bg-dark-700 overflow-hidden py-12"><div className="container mx-auto px-8 sm:px-16 xl:px-20"><div className="mx-auto max-w-7xl"><SectionHeaderdiff --git a/www/components/Footer/index.tsx b/www/components/Footer/index.tsxindex 32afcaf96e4..31d665f6533 100644--- a/www/components/Footer/index.tsx+++ b/www/components/Footer/index.tsx@@ -131,8 +131,8 @@ const Footer = (props: Props) => {</div></div></div>- <div className="mt-12 border-t border-gray-200 dark:border-dark-300 pt-8 flex justify-between">- <p className="text-base text-gray-400 dark:text-dark-300">© Supabase Inc</p>+ <div className="mt-12 border-t border-gray-200 dark:border-dark-600 pt-8 flex justify-between">+ <p className="text-base text-gray-400 dark:text-dark-400">© Supabase Inc</p><div className="flex items-center"><SunEmoji /><button@@ -140,8 +140,7 @@ const Footer = (props: Props) => {aria-pressed="false"className={`relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer- transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2- focus:ring-brand-500 ${darkMode ? 'bg-dark-300' : 'bg-gray-200'} mx-5+ transition-colors ease-in-out duration-200 focus:outline-none ${darkMode ? 'bg-dark-500' : 'bg-gray-200'} mx-5`}onClick={() => toggleDarkMode()}>@@ -150,7 +149,7 @@ const Footer = (props: Props) => {aria-hidden="true"className={`${darkMode ? 'translate-x-5' : 'translate-x-0'} inline-block h-5 w-5 rounded-full- bg-white shadow-lg transform ring-0 transition ease-in-out duration-200+ bg-white dark:bg-dark-700 shadow-lg transform ring-0 transition ease-in-out duration-200`}/></button>diff --git a/www/components/Hero.tsx b/www/components/Hero.tsxindex b09a6753d47..c55d4f759a3 100644--- a/www/components/Hero.tsx+++ b/www/components/Hero.tsx@@ -3,7 +3,7 @@ import Button from 'components/Button'const Hero = () => {return (- <div className="relative bg-dark-700 overflow-hidden">+ <div className="relative bg-dark-800 overflow-hidden"><div className="container mx-auto px-8 sm:px-16 xl:px-20"><div className="mx-auto max-w-7xl"><div className="hidden sm:block sm:absolute sm:inset-0" aria-hidden="true">@@ -30,65 +30,76 @@ const Hero = () => {</svg></div><div className="relative pt-6 pb-16 sm:pb-24">- <main className="mt-16 sm:mt-24">- <div className="mx-auto">- <div className="lg:grid lg:grid-cols-12 lg:gap-16">- <div className="sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left lg:flex lg:items-center">-- <div className="sm:mx-auto md:w-3/4 lg:w-full lg:mx-0">- <h1 className="mt-4 text-4xl text-white sm:mt-5 sm:leading-none lg:mt-6 lg:text-5xl xl:text-6xl">- <span className="md:block">The Open Source</span>- <span className="text-brand-600 ml-2 md:ml-0 md:block">Firebase Alternative</span>- </h1>- <p className="mt-5 text-base text-dark-200 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">- Create your new project backend in less than 2 minutes with easy to use Postgres Database and Authentication.- </p>- <p className="mt-3 text-base text-dark-400">- Storage and serverless functions coming soon- </p>-- <Button className="mt-10 py-3" text="Start your project" url="#"/>-- <p className="mt-8 text-sm text-dark-400 tracking-wide sm:mt-10">- backed by- </p>- <div className="mt-5 w-full sm:mx-auto sm:max-w-lg lg:ml-0">- <div className="flex flex-wrap items-center sm:justify-center lg:justify-start">- <img className="h-8 sm:h-10 pr-10" src="images/logos/yc--grey.png" alt="Y Combinator" />- <img className="relative -top-1 h-5 sm:h-7 pr-10" src="images/logos/mozilla--grey.png" alt="Mozilla" />- <img className="h-3 sm:h-5 pr-10" src="images/logos/coatue.png" alt="Coatue" />+ <main className="mt-16 sm:mt-24">+ <div className="mx-auto">+ <div className="lg:grid lg:grid-cols-12 lg:gap-16">+ <div className="md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left lg:flex lg:items-center">+ <div className="sm:mx-auto md:w-3/4 lg:w-full lg:mx-0">+ <h1 className="mt-4 text-4xl text-white sm:mt-5 sm:leading-none lg:mt-6 lg:text-5xl xl:text-6xl">+ <span className="block">The Open Source</span>+ <span className="text-brand-600 md:ml-0 block">Firebase Alternative</span>+ </h1>+ <p className="mt-5 text-base text-dark-200 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">+ Create your new project backend in less than 2 minutes with easy to use+ Postgres Database and Authentication.+ </p>+ <p className="mt-3 text-base text-dark-400">+ Storage and serverless functions coming soon+ </p>+ <Button+ className="mt-10 py-3"+ text="Start your project"+ url="https://app.supabase.io?auth=signup"+ />+ <p className="mt-8 text-sm text-dark-400 tracking-wide sm:mt-10">backed by</p>+ <div className="mt-5 w-full sm:mx-auto sm:max-w-lg lg:ml-0">+ <div className="flex flex-wrap items-center lg:justify-start">+ <img+ className="h-8 sm:h-10 pr-10"+ src="images/logos/yc--grey.png"+ alt="Y Combinator"+ />+ <img+ className="relative -top-1 h-5 sm:h-7 pr-10"+ src="images/logos/mozilla--grey.png"+ alt="Mozilla"+ />+ <img+ className="h-3 sm:h-5 pr-10"+ src="images/logos/coatue.png"+ alt="Coatue"+ />+ </div></div></div></div>-- </div>- <div className="mt-16 sm:mt-24 lg:mt-0 lg:col-span-6">- <div className="shadow-lg relative w-full rounded-md">- <div className="w-full rounded-t-md h-5 bg-dark-400 flex items-center justify-start px-2">- <div className="h-2 w-2 mr-2 rounded-full bg-dark-500"/>- <div className="h-2 w-2 mr-2 rounded-full bg-dark-500"/>- <div className="h-2 w-2 mr-2 rounded-full bg-dark-500"/>- </div>- <div className="relative bg-red" style={{ padding: '56.25% 0 0 0' }}>- <iframe- className="absolute w-full h-full rounded-b-md"- src="https://www.youtube.com/embed/dBOSUER_5T4?playlist=dBOSUER_5T4&autoplay=1&loop=1&controls=0&modestbranding=1&rel=0&disablekb=1&mute=1&muted=1"- style={{ top: 0, left: 0 }}- frameBorder="0"- allow="autoplay"- />- </div>- {/*+ <div className="mt-16 sm:mt-24 lg:mt-0 lg:col-span-6">+ <div className="shadow-lg relative w-full rounded-md">+ <div className="w-full rounded-t-md h-5 bg-dark-400 flex items-center justify-start px-2">+ <div className="h-2 w-2 mr-2 rounded-full bg-dark-500" />+ <div className="h-2 w-2 mr-2 rounded-full bg-dark-500" />+ <div className="h-2 w-2 mr-2 rounded-full bg-dark-500" />+ </div>+ <div className="relative bg-red" style={{ padding: '56.25% 0 0 0' }}>+ <iframe+ className="absolute w-full h-full rounded-b-md"+ src="https://www.youtube.com/embed/dBOSUER_5T4?playlist=dBOSUER_5T4&autoplay=1&loop=1&controls=0&modestbranding=1&rel=0&disablekb=1&mute=1&muted=1"+ style={{ top: 0, left: 0 }}+ frameBorder="0"+ allow="autoplay"+ />+ </div>+ {/*Replace src with the following if have preference:Vimeo: https://player.vimeo.com/video/485959063?loop=1&autoplay=1Youtube: https://www.youtube.com/embed/dBOSUER_5T4?playlist=dBOSUER_5T4&autoplay=1&loop=1&controls=0&modestbranding=1&rel=0&disablekb=1&mute=1&muted=1*/}+ </div></div>- </div>+ </div></div>- </div>- </main>- </div>+ </main>+ </div></div></div></div>diff --git a/www/components/MadeForDevelopers/CodeExamples.tsx b/www/components/MadeForDevelopers/CodeExamples.tsxindex 56a20bf03af..7268c442793 100644--- a/www/components/MadeForDevelopers/CodeExamples.tsx+++ b/www/components/MadeForDevelopers/CodeExamples.tsx@@ -40,10 +40,10 @@ const CopiedIcon = () => ()const CodeExamples = () => {- const [example, setExample] = useState('subscribeExample')+ const [example, setExample] = useState('createUserExample')const [copied, setCopied] = useState(false)- const exampleList = ['subscribeExample', 'readExample', 'createExample', 'updateExample']+ const exampleList = ['createUserExample', 'subscribeExample', 'readExample', 'createExample', 'updateExample']const lang = 'javascript'@@ -59,7 +59,7 @@ const CodeExamples = () => {key={id + "-button"}onClick={() => handleClick(id)}className={`- m-1 mb-4 rounded-md border border-gray-200 dark:border-dark-200 px-4 py-2 text-xs font-medium text-gray transition+ mb-2 rounded-md border border-gray-200 dark:border-dark-200 px-4 py-2 text-xs font-medium text-gray transitionfocus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-transparent sm:text-sm sm:w-auto${example === id ? ' border-gray-900 bg-dark-600 dark:bg-white text-white dark:text-dark-600' : ' hover:bg-gray-200 dark:hover:text-black'}dark:text-white lg:w-fulldiff --git a/www/components/MadeForDevelopers/index.tsx b/www/components/MadeForDevelopers/index.tsxindex fbbc579a660..8adde221ac5 100644--- a/www/components/MadeForDevelopers/index.tsx+++ b/www/components/MadeForDevelopers/index.tsx@@ -11,12 +11,12 @@ const MadeForDevelopers = () => {<div className="container mx-auto px-8 sm:px-16 xl:px-20"><div className="mx-auto max-w-7xl"><div className="grid grid-cols-12">- <div className="col-span-12 lg:col-span-9 xl:col-span-7">+ <div className="col-span-12 lg:col-span-12 xl:col-span-12"><SectionHeadertitle={'Instant APIs'}title_alt={' that do the hard work for you'}subtitle={'MADE FOR DEVELOPERS'}- paragraph={'We inspect your database and provide APIs instantly so you can stop building repetitive CRUD endpoints and focus on your product.'}+ paragraph={`We inspect your database and provide APIs instantly so you can stop building repetitive CRUD endpoints and focus on your product`}/></div></div>diff --git a/www/components/UI/SectionHeader.tsx b/www/components/UI/SectionHeader.tsxindex f23ea8847c3..f3bc30a9fe8 100644--- a/www/components/UI/SectionHeader.tsx+++ b/www/components/UI/SectionHeader.tsx@@ -1,17 +1,17 @@const SectionHeader = (props :any) => {return (<div className={'grid grid-cols-12 gap-1 sm:gap-8 ' + props.className}>- <div className="relative py-12 col-span-12">- <span className="block mb-6 text-sm tracking-widest uppercase text-gray-300 font-mono dark:text-gray-300">+ <div className="relative grid py-12 col-span-12 grid-cols-12">+ <span className="col-span-12 block mb-6 text-sm tracking-widest uppercase text-gray-300 font-mono dark:text-gray-300">{props.subtitle}</span>- <h2 className="text-black dark:text-white text-3xl md:text-4xl lg:text-5xl">+ <h2 className="col-span-12 text-black dark:text-white text-3xl md:text-4xl lg:text-5xl">{props.title}{props.title_alt && (<span className="text-gray-400 dark:text-gray-300 inline">{props.title_alt}</span>)}</h2>- <div>+ <div className="col-span-12 lg:col-span-7">{props.paragraph && (<p className="mt-3 mx-auto text-xl text-gray-400 dark:text-gray-300 sm:mt-4">{props.paragraph}diff --git a/www/data/AdminAccess.json b/www/data/AdminAccess.jsonindex 0dbd2c4ac4b..6eb7e234338 100644--- a/www/data/AdminAccess.json+++ b/www/data/AdminAccess.json@@ -3,18 +3,18 @@"header": "Manage your data with the familiarity of a spreadsheet","description": "You don’t have to be a database expert to start using Supabase — Our table editor makes Postgres easy to use even for non-techies, and you can do everything right in our dashboard.","cta": "Explore Table View",- "url": "#"+ "url": "https://supabase.io/docs/guides/platform"},"tabSqlEditor": {"header": "In-built SQL editor for when you need greater control","description": "Write, save, and execute SQL queries directly on our dashboard, with templates to help you save time from common queries and even build applications.","cta": "Explore SQL Editor",- "url": "#"+ "url": "https://supabase.io/docs/guides/platform"},"tabAuthRules": {"header": "User management as straight-forward as it can be","description": "Easily manage your users via our authentication, or integrate third party logins. Create policies with complex SQL rules which fit your unique business needs.","cta": "Explore Auth Policies",- "url": "#"+ "url": "https://supabase.io/docs/guides/auth"}}\ No newline at end of filediff --git a/www/data/CodeExamples.js b/www/data/CodeExamples.jsindex 86d4b739968..6c28c8c7760 100644--- a/www/data/CodeExamples.js+++ b/www/data/CodeExamples.js@@ -119,6 +119,26 @@ const umdExample = ``export const examples = {+ createUserExample: {+ name: 'Create user',+ description: 'Sign up a new user in an example chat rooom',+ code: {+ javascript: `+ import { createClient } from '@supabase/supabase-js'++ // Initialize+ const supabaseUrl = 'https://chat-room.supabase.co'+ const supabaseKey = 'public-anon-key'+ const supabase = createClient(supabaseUrl, supabaseKey)++ // Create a new user+ const { user, error } = await supabase.auth.signUp({+ email: '[email protected]',+ password: 'example-password',+ })+ `,+ },+ },subscribeExample: {name: 'Realtime subscriptions',description: 'Receive realtime messages in an example chat room',diff --git a/www/data/DeveloperFeatures.json b/www/data/DeveloperFeatures.jsonindex 55d3a6355a7..f2b9c697b63 100644--- a/www/data/DeveloperFeatures.json+++ b/www/data/DeveloperFeatures.json@@ -3,24 +3,24 @@"name": "Typescript Support","description": "Type definitions for both server side and client side","badge": null,- "url": "#"+ "url": "https://supabase.io/docs/client/generating-types/"},{"name": "Install from CDN","description": "Use Supabase in the browser without a build process","badge": null,- "url": "#"+ "url": "https://supabase.io/docs/client/initializing"},{"name": "Local emulator","description": "Develop locally and push to production when you're ready","badge": "Q1 2020",- "url": "#"+ "url": "https://mailchi.mp/supabase/local-emulator"},{"name": "Supabase CLI","description": "Manage your Supabase projects from your local machine","badge": "Q2 2020",- "url": "#"+ "url": "https://mailchi.mp/supabase/command-line"}]\ No newline at end of filediff --git a/www/data/Footer.json b/www/data/Footer.jsonindex d40957def45..1f2c820bc3c 100644--- a/www/data/Footer.json+++ b/www/data/Footer.json@@ -4,11 +4,11 @@"links": [{"text": "Database",- "url": "#"+ "url": "https://supabase.io/docs/guides/database"},{"text": "Authentication",- "url": "#"+ "url": "https://supabase.io/docs/guides/auth"},{"text": "Storage",@@ -20,7 +20,7 @@},{"text": "Pricing",- "url": "#"+ "url": "https://supabase.io/docs/pricing"}]},@@ -29,19 +29,15 @@"links": [{"text": "Support",- "url": "#"- },- {- "text": "Contact",- "url": "#"+ "url": "https://supabase.io/docs/support"},{"text": "Case Studies",- "url": "#"+ "url": "https://supabase.io/case-studies"},{- "text": "Privacy & Terms",- "url": "#"+ "text": "System Status",+ "url": "https://status.supabase.io/"}]},@@ -50,15 +46,15 @@"links": [{"text": "Documentation",- "url": "#"+ "url": "https://supabase.io/docs/"},{"text": "API Reference",- "url": "#"+ "url": "https://supabase.io/docs/client/supabase-client"},{"text": "Guides",- "url": "#"+ "url": "https://supabase.io/docs/guides/examples"}]},@@ -67,19 +63,19 @@"links": [{"text": "Blog",- "url": "#"+ "url": "https://supabase.io/blog"},{"text": "Open Source",- "url": "#"+ "url": "https://supabase.io/oss"},{"text": "Humans.txt",- "url": "#"+ "url": "https://supabase.io/humans.txt"},{"text": "Lawyers.txt",- "url": "#"+ "url": "https://supabase.io/lawyers.txt"}]}diff --git a/www/data/Solutions.json b/www/data/Solutions.jsonindex de1e2c4a87b..e008c9f0f51 100644--- a/www/data/Solutions.json+++ b/www/data/Solutions.json@@ -5,7 +5,7 @@"description": "Built with Postgres, the world's most trusted and versatile relational database.","description_short": "","label": "",- "url" : "https://supabase.io/docs"+ "url" : "https://supabase.io/docs/guides/database"},"authentication": {"name": "Authentication",@@ -13,7 +13,7 @@"description": "Add user sign ups and logins, securing your data with Row Level Security.","description_short": "","label": "",- "url" : "https://supabase.io/docs"+ "url" : "https://supabase.io/docs/guides/auth"},"storage": {"name": "Storage",@@ -21,7 +21,7 @@"description": "Store, organize, and serve large files. Any media, including videos and images.","description_short": "","label": "Coming soon",- "url" : ""+ "url" : "https://mailchi.mp/supabase/storage"},"functions": {"name": "Functions",@@ -29,6 +29,6 @@"description": "Write custom code without worrying about deploying servers.","description_short": "","label": "Coming soon",- "url" : ""+ "url" : "https://mailchi.mp/supabase/functions"}}