The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
added example case studies and project examples.
mildtomatob54f6a723db8
diff --git a/www/@types/typings.d.ts b/www/@types/typings.d.tsnew file mode 100644index 00000000000..f3f59664185--- /dev/null+++ b/www/@types/typings.d.ts@@ -0,0 +1,4 @@+declare module "*.json" {+ const value: any;+ export default value;+}diff --git a/www/components/ArticleThumb.tsx b/www/components/ArticleThumb.tsxnew file mode 100644index 00000000000..45cf9082d4a--- /dev/null+++ b/www/components/ArticleThumb.tsx@@ -0,0 +1,108 @@+import Authors from "./../data/Authors.json"++const ArticleThumb = (props: any) => {+ const {+ title,+ type,+ description,+ img_url,+ url,+ icons,+ publish_date,+ read_length,+ author,+ cta+ } = props.article++ // interface User {+ // name :string;+ // job_title :string;+ // username: string;+ // avatar_url :string;+ // }++ console.log(props.article)++ // @ts-ignore+ const AuthorProfile: User = Authors[author]++ // console.log(AuthorProfile)++ const iconMarkup = icons && icons.map((icon :any) => {+ return (+ <img+ className="inline-block h-12 w-12 rounded-full ring-2 ring-white"+ src={icon.img_url}+ alt={icon.img_alt}+ />+ )+ })++ console.log(icons)+ console.log(iconMarkup)++ return (+ <div className="flex flex-col rounded-sm shadow-lg overflow-hidden">+ <div className="flex-shrink-0">+ <img+ className="h-48 w-full object-cover"+ src="https://images.unsplash.com/photo-1496128858413-b36217c2ce36?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80"+ alt=""+ />+ </div>+ <div className="flex-1 bg-white p-6 flex flex-col justify-between">+ <div className="flex-1">+ {icons && (+ <div className="-mt-12 mb-6 flex -space-x-3">+ {iconMarkup}+ </div>+ )}+ <p className="text-sm font-medium text-brand-600">+ <a href="#" className="hover:underline capitalize">+ {type}+ </a>+ </p>+ <a href="#" className="block mt-2">+ <p className="text-xl font-semibold text-gray-900">{title}</p>+ <p className="mt-3 text-base text-gray-500">+ {description}+ </p>+ </a>+ </div>+ { AuthorProfile && (+ <div className="mt-6 flex items-center">+ <div className="flex-shrink-0">+ <a href="#">+ <span className="sr-only">{AuthorProfile.name}</span>+ <img+ className="h-10 w-10 rounded-full"+ src={AuthorProfile.avatar_url}+ alt=""+ />+ </a>+ </div>+ <div className="ml-3">+ <p className="text-sm font-medium text-gray-900">+ <a href="#" className="hover:underline">+ {AuthorProfile.name}+ </a>+ </p>+ <div className="flex space-x-1 text-sm text-gray-500">+ <time dateTime="2020-03-16">Mar 16, 2020</time>+ <span aria-hidden="true">·</span>+ <span>6 min read</span>+ </div>+ </div>+ </div>+ )}+ { cta && (+ <div className="mt-6 flex items-center">+ <a href={url}>Learn more</a>+ </div>+ )}+ </div>+ </div>+ )+}++export default ArticleThumbdiff --git a/www/components/hero.tsx b/www/components/hero.tsxindex 3b17697272b..096e269f740 100644--- a/www/components/hero.tsx+++ b/www/components/hero.tsx@@ -2,7 +2,7 @@ import Link from 'next/link'const Hero = () => {return (- <div className="relative bg-gray-800 overflow-hidden">+ <div className="relative bg-dark-100 overflow-hidden"><div className="hidden sm:block sm:absolute sm:inset-0" aria-hidden="true"><svgclassName="absolute bottom-0 right-0 transform translate-x-1/2 mb-48 text-gray-700 lg:top-0 lg:mt-28 lg:mb-0 xl:transform-none xl:translate-x-0"diff --git a/www/components/index_sections/BuiltWithSupabase.tsx b/www/components/index_sections/BuiltWithSupabase.tsxindex 42f7be05885..df14f5c62d3 100644--- a/www/components/index_sections/BuiltWithSupabase.tsx+++ b/www/components/index_sections/BuiltWithSupabase.tsx@@ -1,4 +1,6 @@import React from 'react'+import ArticleThumb from './../ArticleThumb'+import ProjectExamples from "./../../data/ProjectExamples.json"const BuiltExamples = () => {return (@@ -10,7 +12,7 @@ const BuiltExamples = () => {<div className="relative max-w-7xl mx-auto"><div><small>Built with supabase</small>- <h2 className="text-3xl tracking-tight font-extrabold text-gray-900 sm:text-4xl">+ <h2 className="text-3xl tracking-tight text-gray-900 sm:text-4xl">What you can build with Supabase</h2><p className="mt-3 mx-auto text-xl text-gray-500 sm:mt-4">@@ -19,186 +21,18 @@ const BuiltExamples = () => {</p></div><div className="mt-12 max-w-lg mx-auto grid gap-5 lg:grid-cols-3 lg:max-w-none">- <div className="flex flex-col rounded-lg shadow-lg overflow-hidden">- <div className="flex-shrink-0">- <img- className="h-48 w-full object-cover"- src="https://images.unsplash.com/photo-1496128858413-b36217c2ce36?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80"- alt=""- />- </div>- <div className="flex-1 bg-white p-6 flex flex-col justify-between">- <div className="flex-1">- <div className="-mt-12 mb-6 flex -space-x-1 overflow-hidden">- <img- className="inline-block h-12 w-12 rounded-full ring-2 ring-white"- src="https://images.unsplash.com/photo-1491528323818-fdd1faba62cc?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"- alt=""- />- <img- className="inline-block h-12 w-12 rounded-full ring-2 ring-white"- src="https://images.unsplash.com/photo-1550525811-e5869dd03032?ixlib=rb-1.2.1&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"- alt=""- />- <img- className="inline-block h-12 w-12 rounded-full ring-2 ring-white"- src="https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2.25&w=256&h=256&q=80"- alt=""- />- <img- className="inline-block h-12 w-12 rounded-full ring-2 ring-white"- src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"- alt=""- />- </div>- <p className="text-sm font-medium text-brand-600">- <a href="#" className="hover:underline">- Article- </a>- </p>- <a href="#" className="block mt-2">- <p className="text-xl font-semibold text-gray-900">- Boost your conversion rate- </p>- <p className="mt-3 text-base text-gray-500">- Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto- accusantium praesentium eius, ut atque fuga culpa, similique sequi cum eos- quis dolorum.- </p>- </a>- </div>- <div className="mt-6 flex items-center">- <div className="flex-shrink-0">- <a href="#">- <span className="sr-only">Roel Aufderehar</span>- <img- className="h-10 w-10 rounded-full"- src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"- alt=""- />- </a>- </div>- <div className="ml-3">- <p className="text-sm font-medium text-gray-900">- <a href="#" className="hover:underline">- Roel Aufderehar- </a>- </p>- <div className="flex space-x-1 text-sm text-gray-500">- <time dateTime="2020-03-16">Mar 16, 2020</time>- <span aria-hidden="true">·</span>- <span>6 min read</span>- </div>- </div>- </div>- </div>- </div>-- <div className="flex flex-col rounded-lg shadow-lg overflow-hidden">- <div className="flex-shrink-0">- <img- className="h-48 w-full object-cover"- src="https://images.unsplash.com/photo-1547586696-ea22b4d4235d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80"- alt=""- />- </div>- <div className="flex-1 bg-white p-6 flex flex-col justify-between">- <div className="flex-1">- <p className="text-sm font-medium text-brand-600">- <a href="#" className="hover:underline">- Video- </a>- </p>- <a href="#" className="block mt-2">- <p className="text-xl font-semibold text-gray-900">- How to use search engine optimization to drive sales- </p>- <p className="mt-3 text-base text-gray-500">- Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit facilis- asperiores porro quaerat doloribus, eveniet dolore. Adipisci tempora aut- inventore optio animi., tempore temporibus quo laudantium.- </p>- </a>- </div>- <div className="mt-6 flex items-center">- <div className="flex-shrink-0">- <a href="#">- <span className="sr-only">Brenna Goyette</span>- <img- className="h-10 w-10 rounded-full"- src="https://images.unsplash.com/photo-1550525811-e5869dd03032?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"- alt=""- />- </a>- </div>- <div className="ml-3">- <p className="text-sm font-medium text-gray-900">- <a href="#" className="hover:underline">- Brenna Goyette- </a>- </p>- <div className="flex space-x-1 text-sm text-gray-500">- <time dateTime="2020-03-10">Mar 10, 2020</time>- <span aria-hidden="true">·</span>- <span>4 min read</span>- </div>- </div>- </div>- </div>- </div>-- <div className="flex flex-col rounded-lg shadow-lg overflow-hidden">- <div className="flex-shrink-0">- <img- className="h-48 w-full object-cover"- src="https://images.unsplash.com/photo-1492724441997-5dc865305da7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80"- alt=""- />- </div>- <div className="flex-1 bg-white p-6 flex flex-col justify-between">- <div className="flex-1">- <p className="text-sm font-medium text-brand-600">- <a href="#" className="hover:underline">- Case Study- </a>- </p>- <a href="#" className="block mt-2">- <p className="text-xl font-semibold text-gray-900">- Improve your customer experience- </p>- <p className="mt-3 text-base text-gray-500">- Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint harum rerum- voluptatem quo recusandae magni placeat saepe molestiae, sed excepturi cumque- corporis perferendis hic.- </p>- </a>- </div>- <div className="mt-6 flex items-center">- <div className="flex-shrink-0">- <a href="#">- <span className="sr-only">Daniela Metz</span>- <img- className="h-10 w-10 rounded-full"- src="https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"- alt=""- />- </a>- </div>- <div className="ml-3">- <p className="text-sm font-medium text-gray-900">- <a href="#" className="hover:underline">- Daniela Metz- </a>- </p>- <div className="flex space-x-1 text-sm text-gray-500">- <time dateTime="2020-02-12">Feb 12, 2020</time>- <span aria-hidden="true">·</span>- <span>11 min read</span>- </div>- </div>- </div>- </div>- </div>+ <ArticleThumb article={+ // @ts-ignore+ ProjectExamples["vercel_and_stripe"]+ }/>+ <ArticleThumb article={+ // @ts-ignore+ ProjectExamples["vercel_and_stripe"]+ }/>+ <ArticleThumb article={+ // @ts-ignore+ ProjectExamples["vercel_and_stripe"]+ }/></div></div></div>diff --git a/www/components/index_sections/CaseStudies.tsx b/www/components/index_sections/CaseStudies.tsxindex f2063b652b4..008bc60292c 100644--- a/www/components/index_sections/CaseStudies.tsx+++ b/www/components/index_sections/CaseStudies.tsx@@ -1,6 +1,9 @@import React from 'react'+import ArticleThumb from './../ArticleThumb'+import CaseStudiesData from "./../../data/CaseStudies.json"const CaseStudies = () => {+return (<React.Fragment><div className="relative bg-gray-50 pt-16 pb-20 px-4 sm:px-6 lg:pt-24 lg:pb-28 lg:px-8">@@ -19,164 +22,18 @@ const CaseStudies = () => {</p></div><div className="mt-12 max-w-lg mx-auto grid gap-5 lg:grid-cols-3 lg:max-w-none">- <div className="flex flex-col rounded-lg shadow-lg overflow-hidden">- <div className="flex-shrink-0">- <img- className="h-48 w-full object-cover"- src="https://images.unsplash.com/photo-1496128858413-b36217c2ce36?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80"- alt=""- />- </div>- <div className="flex-1 bg-white p-6 flex flex-col justify-between">- <div className="flex-1">- <p className="text-sm font-medium text-brand-600">- <a href="#" className="hover:underline">- Article- </a>- </p>- <a href="#" className="block mt-2">- <p className="text-xl font-semibold text-gray-900">- Boost your conversion rate- </p>- <p className="mt-3 text-base text-gray-500">- Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto- accusantium praesentium eius, ut atque fuga culpa, similique sequi cum eos- quis dolorum.- </p>- </a>- </div>- <div className="mt-6 flex items-center">- <div className="flex-shrink-0">- <a href="#">- <span className="sr-only">Roel Aufderehar</span>- <img- className="h-10 w-10 rounded-full"- src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"- alt=""- />- </a>- </div>- <div className="ml-3">- <p className="text-sm font-medium text-gray-900">- <a href="#" className="hover:underline">- Roel Aufderehar- </a>- </p>- <div className="flex space-x-1 text-sm text-gray-500">- <time dateTime="2020-03-16">Mar 16, 2020</time>- <span aria-hidden="true">·</span>- <span>6 min read</span>- </div>- </div>- </div>- </div>- </div>-- <div className="flex flex-col rounded-lg shadow-lg overflow-hidden">- <div className="flex-shrink-0">- <img- className="h-48 w-full object-cover"- src="https://images.unsplash.com/photo-1547586696-ea22b4d4235d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80"- alt=""- />- </div>- <div className="flex-1 bg-white p-6 flex flex-col justify-between">- <div className="flex-1">- <p className="text-sm font-medium text-brand-600">- <a href="#" className="hover:underline">- Video- </a>- </p>- <a href="#" className="block mt-2">- <p className="text-xl font-semibold text-gray-900">- How to use search engine optimization to drive sales- </p>- <p className="mt-3 text-base text-gray-500">- Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit facilis- asperiores porro quaerat doloribus, eveniet dolore. Adipisci tempora aut- inventore optio animi., tempore temporibus quo laudantium.- </p>- </a>- </div>- <div className="mt-6 flex items-center">- <div className="flex-shrink-0">- <a href="#">- <span className="sr-only">Brenna Goyette</span>- <img- className="h-10 w-10 rounded-full"- src="https://images.unsplash.com/photo-1550525811-e5869dd03032?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"- alt=""- />- </a>- </div>- <div className="ml-3">- <p className="text-sm font-medium text-gray-900">- <a href="#" className="hover:underline">- Brenna Goyette- </a>- </p>- <div className="flex space-x-1 text-sm text-gray-500">- <time dateTime="2020-03-10">Mar 10, 2020</time>- <span aria-hidden="true">·</span>- <span>4 min read</span>- </div>- </div>- </div>- </div>- </div>-- <div className="flex flex-col rounded-lg shadow-lg overflow-hidden">- <div className="flex-shrink-0">- <img- className="h-48 w-full object-cover"- src="https://images.unsplash.com/photo-1492724441997-5dc865305da7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1679&q=80"- alt=""- />- </div>- <div className="flex-1 bg-white p-6 flex flex-col justify-between">- <div className="flex-1">- <p className="text-sm font-medium text-brand-600">- <a href="#" className="hover:underline">- Case Study- </a>- </p>- <a href="#" className="block mt-2">- <p className="text-xl font-semibold text-gray-900">- Improve your customer experience- </p>- <p className="mt-3 text-base text-gray-500">- Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint harum rerum- voluptatem quo recusandae magni placeat saepe molestiae, sed excepturi cumque- corporis perferendis hic.- </p>- </a>- </div>- <div className="mt-6 flex items-center">- <div className="flex-shrink-0">- <a href="#">- <span className="sr-only">Daniela Metz</span>- <img- className="h-10 w-10 rounded-full"- src="https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"- alt=""- />- </a>- </div>- <div className="ml-3">- <p className="text-sm font-medium text-gray-900">- <a href="#" className="hover:underline">- Daniela Metz- </a>- </p>- <div className="flex space-x-1 text-sm text-gray-500">- <time dateTime="2020-02-12">Feb 12, 2020</time>- <span aria-hidden="true">·</span>- <span>11 min read</span>- </div>- </div>- </div>- </div>- </div>+ <ArticleThumb article={+ // @ts-ignore+ CaseStudiesData["monitoro"]+ }/>+ <ArticleThumb article={+ // @ts-ignore+ CaseStudiesData["tayfab"]+ }/>+ <ArticleThumb article={+ // @ts-ignore+ CaseStudiesData["llama_lab"]+ }/></div></div></div>diff --git a/www/components/index_sections/CodeExamples.tsx b/www/components/index_sections/CodeExamples.tsxindex 9fb1d334fe0..5fa2ba7d2c9 100644--- a/www/components/index_sections/CodeExamples.tsx+++ b/www/components/index_sections/CodeExamples.tsx@@ -27,6 +27,7 @@ const CodeExamples = () => {return (<buttontype="button"+ key={id + "-button"}onClick={() => handleClick(id)}className={'m-1 mb-4 rounded-md border border-gray-200 px-4 py-2 text-base font-medium text-gray focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-transparent sm:w-auto sm:text-sm' +diff --git a/www/components/index_sections/MadeForDevelopers.tsx b/www/components/index_sections/MadeForDevelopers.tsxindex d7bc9900936..2776a30cf55 100644--- a/www/components/index_sections/MadeForDevelopers.tsx+++ b/www/components/index_sections/MadeForDevelopers.tsx@@ -9,7 +9,7 @@ const MadeForDevelopers = () => {<div className="relative mt-12 lg:mt-24 lg:grid lg:grid-cols-12 lg:gap-8 lg:items-center"><div className="relative col-span-12 text-center"><small>MADE FOR DEVELOPERS</small>- <h2 className="text-3xl leading-8 font-bold text-gray-900 sm:text-4xl">+ <h2 className="text-3xl tracking-tight leading-8 text-gray-900 sm:text-4xl">Supafast easy-to-use APIs that do the hard work for you</h2><p className="mt-4 max-w-3xl mx-auto text-xl text-gray-500">diff --git a/www/components/nav.tsx b/www/components/nav.tsxindex 5c79b2be91a..9f2e7f3204d 100644--- a/www/components/nav.tsx+++ b/www/components/nav.tsx@@ -22,11 +22,11 @@ const Nav = () => {</div><div className="flex-1 flex items-center justify-center sm:items-stretch sm:justify-start"><div className="flex-shrink-0 flex items-center">- <img className="block lg:hidden h-8 w-auto" src="https://tailwindui.com/img/logos/workflow-mark-indigo-600.svg" alt="Workflow" />- <img className="hidden lg:block h-8 w-auto" src="https://tailwindui.com/img/logos/workflow-logo-indigo-600-mark-gray-800-text.svg" alt="Workflow" />+ <img className="block lg:hidden h-8 w-auto" src="https://supabase.io/supabase-light.svg" alt="Workflow" />+ <img className="hidden lg:block h-8 w-auto" src="https://supabase.io/supabase-light.svg" alt="Workflow" /></div><div className="hidden sm:ml-6 sm:flex sm:space-x-8">- <a href="#" className="inline-flex items-center px-1 pt-1 border-b-2 border-indigo-500 text-sm font-medium text-gray-900">+ <a href="#" className="inline-flex items-center px-1 pt-1 border-b-2 border-brand-500 text-sm font-medium text-gray-900">Dashboard</a><a href="#" className="inline-flex items-center px-1 pt-1 border-b-2 border-transparent text-sm font-medium text-gray-500 hover:text-gray-700 hover:border-gray-300">@@ -41,7 +41,7 @@ const Nav = () => {</div></div><div className="absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">- <button className="bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">+ <button className="bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-500"><span className="sr-only">View notifications</span><svg className="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">@@ -52,7 +52,7 @@ const Nav = () => {<div className="ml-3 relative"><div>- <button className="bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" id="user-menu" aria-haspopup="true">+ <button className="bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-500" id="user-menu" aria-haspopup="true"><span className="sr-only">Open user menu</span><img className="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" /></button>@@ -70,7 +70,7 @@ const Nav = () => {<div className="hidden sm:hidden"><div className="pt-2 pb-4 space-y-1">- <a href="#" className="block pl-3 pr-4 py-2 border-l-4 border-indigo-500 text-base font-medium text-indigo-700 bg-indigo-50">Dashboard</a>+ <a href="#" className="block pl-3 pr-4 py-2 border-l-4 border-brand-500 text-base font-medium text-brand-700 bg-brand-50">Dashboard</a><a href="#" className="block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300">Team</a><a href="#" className="block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300">Projects</a><a href="#" className="block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300">Calendar</a>diff --git a/www/data/Authors.json b/www/data/Authors.jsonnew file mode 100644index 00000000000..e4be649b227--- /dev/null+++ b/www/data/Authors.json@@ -0,0 +1,20 @@+{+ "paul_copplestone": {+ "name" : "Paul Copplestone",+ "job_title" : "CEO and Co-Founder",+ "username": "kiwicopple",+ "avatar_url": "https://avatars0.githubusercontent.com/u/10214025?v=4"+ },+ "anthony_wilson" : {+ "name" : "Anthony Wilson",+ "job_title" : "CTO and Co-Founder",+ "username": "awalias",+ "avatar_url": "https://avatars3.githubusercontent.com/u/458736?v=4"+ },+ "rory": {+ "name" : "Rory Wilding",+ "job_title" : "Head of Growth",+ "username": "roryw10",+ "avatar_url": "https://avatars0.githubusercontent.com/u/10214025?v=4"+ }+}diff --git a/www/data/CaseStudies.json b/www/data/CaseStudies.jsonnew file mode 100644index 00000000000..9b5232b7a7b--- /dev/null+++ b/www/data/CaseStudies.json@@ -0,0 +1,23 @@+{+ "monitoro": {+ "type": "case study",+ "title": "Monitoro gets to 73M api requests in a week",+ "url": "https://supabase.io/casestudies/monitoro",+ "description":"Omar Kamali is the founder of Monitoro, a service for scraping countless websites 24/7 to notify customers when these websites change. To create this product, Omar needed to handle massive data throughput whilst ensuring his product was reliable and resilient to satisfy a rapidly growing user base.",+ "author" : "paul_copplestone"+ },+ "tayfab": {+ "type": "case study",+ "title": "Tayfab",+ "url": "https://supabase.io/casestudies/monitoro",+ "description":"Sarup Banskota loves creating new products that delight his customers. He knows he can add the most value by understanding his client's needs and shipping impressive products fast. For his latest product, Tayfa, he needed to ship quality product fast.",+ "author" : "paul_copplestone"+ },+ "llama_lab": {+ "type": "case study",+ "title": "Llama Lab",+ "url": "https://supabase.io/casestudies/monitoro",+ "description":"Amal first discovered us on Ui.Dev newsletter - he doesn't normally click on things in the newsletter but when he saw \"open source firebase Postgres\" as a dev with firebase experience he immediately got it",+ "author" : "paul_copplestone"+ }+}diff --git a/www/data/ProjectExamples.json b/www/data/ProjectExamples.jsonnew file mode 100644index 00000000000..4b72bbce930--- /dev/null+++ b/www/data/ProjectExamples.json@@ -0,0 +1,24 @@+{+ "vercel_and_stripe": {+ "type": "project example",+ "title": "NextJS, Vercel and Supabase",+ "url": "https://supabase.io/casestudies/monitoro",+ "description":"Easily deploy a Supabase powered app with Stripe already built in for payments.",++ "icons" : [+ {+ "img_url": "https://avatars3.githubusercontent.com/u/54469796?s=480&v=4",+ "img_alt": "vercel logo"+ },+ {+ "img_url": "https://avatars1.githubusercontent.com/u/14985020?s=480&v=4",+ "img_alt": "vercel icon"+ },+ {+ "img_url": "https://avatars3.githubusercontent.com/u/856813?s=480&v=6",+ "img_alt": "stripe icon"+ }+ ],+ "cta" : true+ }+}diff --git a/www/tailwind.config.js b/www/tailwind.config.jsindex 617009aa82f..12d643c574d 100644--- a/www/tailwind.config.js+++ b/www/tailwind.config.js@@ -20,6 +20,9 @@ module.exports = {'800': '#236E4C','900': '#1C583D',},+ dark: {+ 100: '#202020'+ }},spacing: {28: '7rem',diff --git a/www/webpack.config.js b/www/webpack.config.jsnew file mode 100644index 00000000000..3ae6b5231cb--- /dev/null+++ b/www/webpack.config.js@@ -0,0 +1,16 @@+++module.exports = {+ module: {+ rules: [+ {+ test: /\.(png|jpe?g|gif)$/i,+ use: [+ {+ loader: 'file-loader',+ },+ ],+ },+ ],+ },+};\ No newline at end of file