The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fixed bg colors on sections. fixed broken widths on some sections, new SVG images.
mildtomato8773dee233e5
diff --git a/www/components/CTABanner/index.tsx b/www/components/CTABanner/index.tsxindex af429723587..684bab40f84 100644--- a/www/components/CTABanner/index.tsx+++ b/www/components/CTABanner/index.tsx@@ -2,7 +2,7 @@ import Button from 'components/Button'const CTABanner = () => {return (- <div className="py-32 grid grid-cols-12 gap-4 items-center text-center bg-dark-700 px-16">+ <div className="py-32 grid grid-cols-12 gap-4 items-center text-center bg-dark-800 px-16"><div className="col-span-12"><h4 className="flex flex-col sm:flex-row sm:justify-center font-normal text-white text-2xl lg:text-3xl"><span className="block">Build in a weekend, scale to millions.</span>diff --git a/www/components/Card.tsx b/www/components/Card.tsxindex 1868fa95c1a..3e94d4bd1fe 100644--- a/www/components/Card.tsx+++ b/www/components/Card.tsx@@ -59,18 +59,18 @@ const Card = (props: Props) => {<div className="flex-shrink-0 dark:bg-dark-800"><img className="h-64 w-full object-cover" src={imgUrl} alt={title} /></div>- <div className="flex-1 bg-white p-6 flex flex-col justify-between dark:bg-dark-700">+ <div className="flex-1 bg-white p-8 flex flex-col justify-between dark:bg-dark-700"><div className="flex-1">{/* {icons && (<div className="-mt-12 mb-6 flex -space-x-3">{iconMarkup}</div>)} */}- <p className="text-sm font-medium capitalize text-gray-600 dark:text-dark-300">{type}</p>- <div className="block mt-2">+ <p className="text-sm font-base capitalize text-gray-600 dark:text-dark-300">{type}</p>+ <div className="block mt-2 flex flex-col justify-between h-32">{/* {logoUrl && <img src={logoUrl} className="h-9 my-4" />} */}{title && <p className="text-xl text-gray-900 dark:text-white">{title}</p>}- <p className="mt-3 text-base text-gray-500 dark:text-dark-300">{description}</p>+ <p className="mt-3 text-base text-gray-500 dark:text-dark-400">{type !== 'Project Example' ? postMeta.publishDate : description}</p></div></div>{type === 'Case Study' && postMeta.name.length > 0 && (diff --git a/www/components/CaseStudies/benchmark.tsx b/www/components/CaseStudies/benchmark.tsxindex 658c9b8a576..42aaa8a990c 100644--- a/www/components/CaseStudies/benchmark.tsx+++ b/www/components/CaseStudies/benchmark.tsx@@ -3,13 +3,13 @@ import Button from 'components/Button'const Benchmark = () => {return (<div className="mt-6 lg:mt-16 max-w-lg mx-auto lg:max-w-none lg:mx-0">- <div className="bg-white grid gap-4 items-center rounded-md grid-cols-1 lg:grid-cols-12 overflow-auto dark:bg-dark-800 shadow-lg">+ <div className="grid gap-4 items-center rounded-md grid-cols-1 lg:grid-cols-12 overflow-auto bg-dark-800 shadow-lg"><div className="col-span-1 lg:col-span-10 flex items-center flex-col lg:flex-row"><img className="mb-10 w-full lg:w-auto lg:mb-0 lg:h-44 lg:mr-14 hidden lg:block" src="images/benchmark.svg" /><img className="mb-10 w-full lg:w-auto lg:mb-0 lg:h-44 lg:mr-14 lg:hidden" src="images/benchmark--mobile.svg" /><div className="px-12 py-5 lg:px-0 lg:py-0">- <p className="text-xl dark:text-white">Record breaking speed and reliability</p>- <p className="text-gray-700 dark:text-dark-300 mt-2">+ <p className="text-xl text-white">Record breaking speed and reliability</p>+ <p className="text-dark-300 mt-2"><span className="block">Supabase is already enterprise level and we’re blown away by the speed!</span><span className="block">Sign up for our public benchmark release and we’ll email it to you</span></p>diff --git a/www/components/Footer/index.tsx b/www/components/Footer/index.tsxindex 39a0faf460e..32afcaf96e4 100644--- a/www/components/Footer/index.tsx+++ b/www/components/Footer/index.tsx@@ -61,7 +61,7 @@ const Footer = (props: Props) => {)return (- <footer className="bg-white dark:bg-dark-600" aria-labelledby="footerHeading">+ <footer className="bg-white dark:bg-dark-700" aria-labelledby="footerHeading"><h2 id="footerHeading" className="sr-only">Footer</h2>@@ -101,7 +101,7 @@ const Footer = (props: Props) => {{FooterLinks.map((segment: any) => {return (<div key={`footer_${segment.title}`}>- <h3 className="text-sm font-semibold text-gray-400 dark:text-dark-300 tracking-wider uppercase">+ <h3 className="text-sm font-semibold text-gray-400 dark:text-dark-400 tracking-wider uppercase">{segment.title}</h3><ul className="mt-4 space-y-4">diff --git a/www/components/MadeForDevelopers/index.tsx b/www/components/MadeForDevelopers/index.tsxindex 1ce3e8bbcd0..fbbc579a660 100644--- a/www/components/MadeForDevelopers/index.tsx+++ b/www/components/MadeForDevelopers/index.tsx@@ -8,8 +8,8 @@ import DeveloperFeatures from 'data/DeveloperFeatures.json'const MadeForDevelopers = () => {return (<div className="py-16 bg-gray-50 dark:bg-dark-600 overflow-hidden lg:py-16">- <div className="container mx-auto px-8 sm:px-16 xl:px-20">-+ <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"><SectionHeader@@ -28,11 +28,11 @@ const MadeForDevelopers = () => {<CodeExamples /><div className="grid grid-cols-12 gap-2">- <dl className="mt-12 grid-cols-12 grid col-span-12 sm:gap-4 lg:gap-8 lg:space-y-0">+ <dl className="mt-12 grid-cols-12 grid col-span-12 sm:gap-4 md:gap-8 lg:gap-8 lg:space-y-0">{DeveloperFeatures.map((feature: any, idx: number) => {const blockClass = idx !== DeveloperFeatures.length - 1- ? 'col-span-12 mb-10 sm:mb-0 sm:col-span-3 sm:border-r-2 sm:border-gray-200 sm:pr-4 md:pr-6 dark:border-dark-500'+ ? 'col-span-12 mb-10 sm:mb-0 sm:col-span-3 md:col-span-6 mb-12 lg:col-span-3 sm:border-gray-200 sm:pr-4 md:pr-6 lg:border-r-2 dark:border-dark-500 even:rotate-45': 'col-span-12 sm:col-span-3'return (@@ -52,7 +52,7 @@ const MadeForDevelopers = () => {})}</dl></div>-+ </div></div></div></div>diff --git a/www/components/Nav/index.tsx b/www/components/Nav/index.tsxindex 2a26836ef7d..2fbcb315bab 100644--- a/www/components/Nav/index.tsx+++ b/www/components/Nav/index.tsx@@ -30,7 +30,7 @@ const Nav = (props: Props) => {const content = (<div className="mb-3 flex md:h-full lg:flex-col"><div className="flex-shrink-0">- <div className="inline-flex items-center justify-center h-10 w-10 rounded-md bg-gray-900 text-white sm:h-12 sm:w-12">+ <div className="inline-flex items-center justify-center h-10 w-10 rounded-md bg-dark-800 text-white sm:h-12 sm:w-12">{/* <!-- Heroicon name: chart-bar --> */}<svgclassName="h-6 w-6"diff --git a/www/public/images/benchmark--mobile.svg b/www/public/images/benchmark--mobile.svgindex 026ae821c01..0e489eb30ed 100644--- a/www/public/images/benchmark--mobile.svg+++ b/www/public/images/benchmark--mobile.svg@@ -1,6 +1,6 @@<svg width="403" height="157" viewBox="0 0 403 157" fill="none" xmlns="http://www.w3.org/2000/svg">-<rect x="0.5" y="0.5" width="402" height="147" fill="#424242" stroke="#363636"/>-<path d="M403 0C351.162 122.629 133.776 151.62 0 131.086V156.5H403V0Z" fill="#3A3A3A"/>+<rect x="0.5" y="0.5" width="402" height="147" fill="#202020" stroke="#363636"/>+<path d="M403 0C351.162 122.629 133.776 151.62 0 131.086V156.5H403V0Z" fill="#181818"/><path d="M328 81L328 148" stroke="url(#paint0_linear)"/><path d="M316 80L148 80" stroke="#747474" stroke-linecap="round"/><path d="M217 123L217 148" stroke="url(#paint1_linear)"/>diff --git a/www/public/images/benchmark.svg b/www/public/images/benchmark.svgindex 1c6e6d97dc1..cd35dd3690a 100644--- a/www/public/images/benchmark.svg+++ b/www/public/images/benchmark.svg@@ -1,19 +1,13 @@<svg width="403" height="304" viewBox="0 0 403 304" fill="none" xmlns="http://www.w3.org/2000/svg">-<mask id="path-1-inside-1" fill="white">-<path fill-rule="evenodd" clip-rule="evenodd" d="M4 0C1.79086 0 0 1.79086 0 4V270.4C133.776 311.192 351.162 253.6 403 10V4C403 1.79086 401.209 0 399 0H4Z"/>-</mask>-<path fill-rule="evenodd" clip-rule="evenodd" d="M4 0C1.79086 0 0 1.79086 0 4V270.4C133.776 311.192 351.162 253.6 403 10V4C403 1.79086 401.209 0 399 0H4Z" fill="#424242"/>-<path d="M0 270.4H-1V271.141L-0.291669 271.357L0 270.4ZM403 10L403.978 10.2081L404 10.1052V10H403ZM1 4C1 2.34315 2.34315 1 4 1V-1C1.23858 -1 -1 1.23858 -1 4H1ZM1 270.4V4H-1V270.4H1ZM402.022 9.79186C376.165 131.3 309.049 206.346 231.771 245.957C154.456 285.586 66.9344 289.765 0.291669 269.443L-0.291669 271.357C66.8415 291.827 154.9 287.606 232.683 247.737C310.501 207.849 377.997 132.3 403.978 10.2081L402.022 9.79186ZM402 4V10H404V4H402ZM399 1C400.657 1 402 2.34315 402 4H404C404 1.23858 401.761 -1 399 -1V1ZM4 1H399V-1H4V1Z" fill="#363636" mask="url(#path-1-inside-1)"/>+<rect width="403" height="304" fill="#202020"/>+<path d="M403 10C351.162 253.6 133.776 311.192 0 270.4V304H403V10Z" fill="#181818"/><path d="M328 171L328 304" stroke="url(#paint0_linear)"/>-<path d="M328 171L328 304" stroke="#747474"/>+<path d="M353 92L154 92" stroke="#747474" stroke-linecap="round"/><path d="M217 254L217 304" stroke="url(#paint1_linear)"/>-<path d="M217 254L217 304" stroke="#747474"/><path d="M376 92L376 304" stroke="url(#paint2_linear)"/>-<path d="M376 92L376 304" stroke="#747474"/><path d="M378 92C378 93.1046 377.105 94 376 94C374.895 94 374 93.1046 374 92C374 90.8954 374.895 90 376 90C377.105 90 378 90.8954 378 92Z" fill="#6EC897"/><path d="M330 171C330 172.105 329.105 173 328 173C326.895 173 326 172.105 326 171C326 169.895 326.895 169 328 169C329.105 169 330 169.895 330 171Z" fill="#6EC897"/><path d="M219 255C219 256.105 218.105 257 217 257C215.895 257 215 256.105 215 255C215 253.895 215.895 253 217 253C218.105 253 219 253.895 219 255Z" fill="#6EC897"/>-<path d="M353 92L154 92" stroke="#747474" stroke-linecap="round"/><path d="M154 72H212" stroke="#A4A4A4" stroke-linecap="round"/><path d="M154 60H254" stroke="#A4A4A4" stroke-linecap="round"/><defs>