The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update homepage customer stories (#19915)
Francesco Sansalvadore612858831fce
diff --git a/apps/www/components/CustomerStories/index.tsx b/apps/www/components/CustomerStories/index.tsxindex 5ef95e28889..81d645f0a5a 100644--- a/apps/www/components/CustomerStories/index.tsx+++ b/apps/www/components/CustomerStories/index.tsx@@ -1,21 +1,27 @@-import SectionHeader from 'components/UI/SectionHeader'-import PostTypes from '~/types/post'-import SectionContainer from '../Layouts/SectionContainer'import Link from 'next/link'import { GlassPanel } from 'ui'++import SectionContainer from '../Layouts/SectionContainer'import TextLink from '../TextLink'+import SectionHeader from 'components/UI/SectionHeader'+import customerStories from '~/data/CustomerStories'+import Panel from '../Panel'++const CustomerStories = () => {+ // const selection = ['Pebblely', 'Chatbase', 'Mendable.ai']+ const selection = ['Pebblely', 'Good Tape', 'Mendable.ai']+ const customers = customerStories.filter((story: any) => selection.includes(story.organization))-const CustomerStories = ({ customerStories }: any) => {- const caseStudyThumbs = customerStories.map((blog: PostTypes, idx: number) => {+ const caseStudyThumbs = customers.map((customer: any, idx: number) => {return {- logo: blog.logo_inverse,- title: blog.title,- link: blog.url,+ logo: customer.logo_inverse,+ title: customer.title,+ link: customer.url,}})return (- <SectionContainer>+ <SectionContainer id="customers"><div className="mb-12"><SectionHeadertitle={'Infrastructure'}@@ -24,24 +30,27 @@ const CustomerStories = ({ customerStories }: any) => {paragraph={'See how Supabase empowers companies of all sizes to accelerate their growth and streamline their work.'}+ className="xl:w-1/2"/></div>- <div className="mx-auto mt-5 grid grid-cols-12 gap-8 lg:gap-12">+ <div className="mx-auto mt-5 grid grid-cols-12 gap-5">{caseStudyThumbs.map((caseStudy: any, i: number) => (<Linkhref={`${caseStudy.link}`}key={caseStudy.title}className="col-span-12 md:col-span-4">- <GlassPanel- {...caseStudy}- background={true}- showIconBg={true}- showLink={true}- hasLightIcon- >- {caseStudy.description}- </GlassPanel>+ <Panel hasActiveOnHover outerClassName="h-full">+ <GlassPanel+ {...caseStudy}+ background={false}+ className="border-none"+ showIconBg={true}+ showLink={true}+ >+ {caseStudy.description}+ </GlassPanel>+ </Panel></Link>))}</div>diff --git a/apps/www/components/Panel/Panel.tsx b/apps/www/components/Panel/Panel.tsxindex 920c5591f3b..6754fc8250e 100644--- a/apps/www/components/Panel/Panel.tsx+++ b/apps/www/components/Panel/Panel.tsx@@ -46,7 +46,7 @@ const Panel = ({const activeGlow =hasActiveOnHover && isActive? `radial-gradient(65rem circle at ${x}px ${y}px, ${- activeColor === 'brand' ? 'var(--colors-brand9)' : 'hsl(var(--foreground-muted))'+ activeColor === 'brand' ? 'var(--colors-brand9)' : 'hsl(var(--border-stronger))'}, transparent), `: ''outerElement.style.backgroundImage = `@@ -79,7 +79,7 @@ const Panel = ({!trackCursor && hasActiveOnHover? activeColor === 'brand'? 'hover:bg-none hover:!bg-brand'- : 'hover:bg-none hover:!bg-foreground-muted'+ : 'hover:bg-none hover:!bg-border-stronger': '',outerClassName)}diff --git a/apps/www/data/CustomerStories.ts b/apps/www/data/CustomerStories.tsindex eed895d7d2e..42af4204d23 100644--- a/apps/www/data/CustomerStories.ts+++ b/apps/www/data/CustomerStories.ts@@ -5,7 +5,8 @@ export const data = [description:"Explore how Shotgun achieved remarkable database efficiency and reduced costs by 80% through their successful migration to Supabase's managed services.",imgUrl: 'images/customers/logos/shotgun.png',- logoUrl: 'images/customers/logos/shotgun.png',+ logo: '/images/customers/logos/shotgun.png',+ logo_inverse: '/images/customers/logos/light/shotgun.png',organization: 'Shotgun',url: '/customers/shotgun',path: '/customers/shotgun',@@ -17,12 +18,33 @@ export const data = [},ctaText: 'View story',},+ {+ type: 'Customer Story',+ title:+ 'Good Tape migrates to Supabase managed Postgres and Authentication and achieves database efficiency and a 60% cost reduction',+ description:+ "Explore how Good Tape achieved remarkable database efficiency and reduced costs by 60% through their successful migration to Supabase's managed services.",+ imgUrl: 'images/customers/logos/goodtape.png',+ logo: '/images/customers/logos/goodtape.png',+ logo_inverse: '/images/customers/logos/light/goodtape.png',+ organization: 'Good Tape',+ url: '/customers/good-tape',+ path: '/customers/good-tape',+ postMeta: {+ name: 'Paul Copplestone',+ avatarUrl: 'https://avatars0.githubusercontent.com/u/10214025?v=4',+ publishDate: 'Oct 31, 2023',+ readLength: 4,+ },+ ctaText: 'View story',+ },{type: 'Customer Story',title: 'How Next Door Lending leveraged Supabase to become a top 10 mortgage broker',description: '',imgUrl: 'images/customers/logos/next-door-lending.png',- logoUrl: 'images/customers/logos/next-door-lending.png',+ logo: '/images/customers/logos/next-door-lending.png',+ logo_inverse: '/images/customers/logos/light/next-door-lending.png',organization: 'Next Door Lending',url: '/customers/next-door-lending',path: '/customers/next-door-lending',@@ -40,7 +62,8 @@ export const data = [description:'Learn how Pebblely, an AI image generation company, used Supabase Auth for rapid growth and adaptable security solutions.',imgUrl: 'images/customers/logos/pebblely.png',- logoUrl: 'images/customers/logos/pebblely.png',+ logo: '/images/customers/logos/pebblely.png',+ logo_inverse: '/images/customers/logos/light/pebblely.png',organization: 'Pebblely',url: '/customers/pebblely',path: '/customers/pebblely',@@ -58,7 +81,8 @@ export const data = [description:'How Yasser leveraged Supabase to build Chatbase and became one of the most successful single-founder AI products.',imgUrl: 'images/customers/logos/chatbase.png',- logoUrl: 'images/customers/logos/chatbase.png',+ logo: '/images/customers/logos/chatbase.png',+ logo_inverse: '/images/customers/logos/light/chatbase.png',organization: 'Chatbase',url: '/customers/chatbase',path: '/customers/chatbase',@@ -76,7 +100,8 @@ export const data = [description:'Learn how one of the most popular Generative AI projects uses Supabase as their Vector Store.',imgUrl: 'images/customers/logos/quivr.png',- logoUrl: 'images/customers/logos/quivr.png',+ logo: '/images/customers/logos/quivr.png',+ logo_inverse: '/images/customers/logos/light/quivr.png',organization: 'Quivr',url: '/customers/quivr',path: '/customers/quivr',@@ -94,7 +119,8 @@ export const data = [description:'Learn how Berri AI overcame challenges with self-hosting their vector database on AWS RDS and successfully migrated to Supabase.',imgUrl: 'images/customers/logos/berriai.png',- logoUrl: 'images/customers/logos/berriai.png',+ logo: '/images/customers/logos/berriai.png',+ logo_inverse: '/images/customers/logos/light/berriai.png',organization: 'Berri AI',url: '/customers/berriai',path: '/customers/berriai',@@ -108,11 +134,12 @@ export const data = [},{type: 'Customer Story',- title: 'Mendable.ai switches from Pinecone to Supabase for PostgreSQL vector embeddings.',+ title: 'Mendable.ai switches from Pinecone to Supabase for PostgreSQL vector embeddings',description:- 'How Mendable.ai boosts efficiency and accuracy of chat powered search for documentation using Supabase with pg_vector.',+ 'How Mendable.ai boosts efficiency and accuracy of chat powered search for documentation using Supabase with pg_vector',imgUrl: 'images/customers/logos/mendableai.png',- logoUrl: 'images/customers/logos/mendableai.png',+ logo: '/images/customers/logos/mendableai.png',+ logo_inverse: '/images/customers/logos/light/mendableai.png',organization: 'Mendable.ai',url: '/customers/mendableai',path: '/customers/mendableai',@@ -130,7 +157,8 @@ export const data = [description:'How a bootstrapped startup migrated from Heroku to Supabase in 30 minutes and never looked back.',imgUrl: 'images/customers/logos/happyteams.png',- logoUrl: 'images/customers/logos/happyteams.png',+ logo: '/images/customers/logos/happyteams.png',+ logo_inverse: '/images/customers/logos/light/happyteams.png',organization: 'HappyTeams',url: '/customers/happyteams',path: '/customers/happyteams',@@ -149,7 +177,8 @@ export const data = [description:'As a payment processor, Xendit are responsible for verifying that all transactions are legal.',imgUrl: 'images/customers/logos/xendit.png',- logoUrl: 'images/customers/logos/xendit.png',+ logo: '/images/customers/logos/xendit.png',+ logo_inverse: '/images/customers/logos/light/xendit.png',organization: 'Xendit',url: '/customers/xendit',path: '/customers/xendit',@@ -167,7 +196,8 @@ export const data = [description:'With Supabase, Replenysh gets a slick auth experience, reduces DevOps overhead, and continues to scale with Postgres.',imgUrl: 'images/customers/logos/replenysh.png',- logoUrl: 'images/customers/logos/replenysh.png',+ logo: '/images/customers/logos/replenysh.png',+ logo_inverse: '/images/customers/logos/light/replenysh.png',organization: 'Replenysh',url: '/customers/replenysh',path: '/customers/replenysh',diff --git a/apps/www/pages/index.tsx b/apps/www/pages/index.tsxindex 7d284cb4b98..35181e14181 100644--- a/apps/www/pages/index.tsx+++ b/apps/www/pages/index.tsx@@ -16,9 +16,7 @@ const CTABanner = dynamic(() => import('components/CTABanner/index'))const CustomerStories = dynamic(() => import('components/CustomerStories'))const TwitterSocialSection = dynamic(() => import('~/components/TwitterSocialSection'))-type Props = { customerStories: PostTypes[]; blogPosts: PostTypes[] }--const Index = ({ customerStories }: Props) => {+const Index = () => {return (<Layout><Hero />@@ -27,20 +25,10 @@ const Index = ({ customerStories }: Props) => {<BuiltExamples /><MadeForDevelopers /><AdminAccess />- <CustomerStories customerStories={customerStories} />+ <CustomerStories /><CTABanner /></Layout>)}-export async function getStaticProps() {- const customerStories = getSortedPosts({ directory: '_customers', limit: 3 })-- return {- props: {- customerStories,- },- }-}-export default Indexdiff --git a/apps/www/public/customers-rss.xml b/apps/www/public/customers-rss.xmlindex 3ddf8d8eabd..61be78e34d1 100644--- a/apps/www/public/customers-rss.xml+++ b/apps/www/public/customers-rss.xml@@ -5,105 +5,105 @@<link>https://supabase.com</link><description>Latest news from Supabase</description><language>en</language>- <lastBuildDate>Wed, 29 Nov 2023 16:00:00 GMT</lastBuildDate>+ <lastBuildDate>Wed, 29 Nov 2023 23:00:00 GMT</lastBuildDate><atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/><item><guid>https://supabase.com/customers/shotgun</guid><title>Supabase migration delivers an 83% reduction in data infrastructure costs for Shotgun</title><link>https://supabase.com/customers/shotgun</link><description>Discover how Shotgun, an event ticketing platform with over 3 million users, reduced costs and consolidated systems through migration to Supabase.</description>- <pubDate>Wed, 29 Nov 2023 16:00:00 GMT</pubDate>+ <pubDate>Wed, 29 Nov 2023 23:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/next-door-lending</guid><title>How Next Door Lending leveraged Supabase to become a top 10 mortgage broker</title><link>https://supabase.com/customers/next-door-lending</link><description>Discover how Supabase empowered NextDoorLending to move quickly and scale as required, leading to their surpassing other mortgage brokers and expanding their business.</description>- <pubDate>Tue, 07 Nov 2023 16:00:00 GMT</pubDate>+ <pubDate>Tue, 07 Nov 2023 23:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/good-tape</guid><title>Good Tape migrates to Supabase managed Postgres and Authentication and achieves database efficiency and a 60% cost reduction.</title><link>https://supabase.com/customers/good-tape</link><description>Explore how Good Tape achieved remarkable database efficiency and reduced costs by 60% through their successful migration to Supabase's managed services.</description>- <pubDate>Mon, 30 Oct 2023 16:00:00 GMT</pubDate>+ <pubDate>Mon, 30 Oct 2023 23:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/pebblely</guid><title>Scaling securely: one million users in 7 months with Supabase Auth</title><link>https://supabase.com/customers/pebblely</link><description>Learn how Pebblely, an AI image generation company, used Supabase Auth to handle Single Sign On for their rapidly growing user base.</description>- <pubDate>Thu, 28 Sep 2023 16:00:00 GMT</pubDate>+ <pubDate>Thu, 28 Sep 2023 22:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/chatbase</guid><title>Bootstrapped founder builds an AI app with Supabase and scales to $1M in 5 months</title><link>https://supabase.com/customers/chatbase</link><description>How Yasser leveraged Supabase to build Chatbase and became one of the most successful single-founder AI products.</description>- <pubDate>Tue, 05 Sep 2023 16:00:00 GMT</pubDate>+ <pubDate>Tue, 05 Sep 2023 22:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/quivr</guid><title>Quivr launch 5,000 Vector databases on Supabase.</title><link>https://supabase.com/customers/quivr</link><description>Learn how one of the most popular Generative AI projects uses Supabase as their Vector Store.</description>- <pubDate>Mon, 04 Sep 2023 16:00:00 GMT</pubDate>+ <pubDate>Mon, 04 Sep 2023 22:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/berriai</guid><title>Berri AI boosts productivity by migrating from AWS RDS to Supabase Vector</title><link>https://supabase.com/customers/berriai</link><description>Learn how Berri AI overcame challenges with self-hosting their vector database on AWS RDS and successfully migrated to Supabase.</description>- <pubDate>Mon, 05 Jun 2023 16:00:00 GMT</pubDate>+ <pubDate>Mon, 05 Jun 2023 22:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/markprompt</guid><title>Markprompt and Supabase - GDPR-compliant AI chatbots for docs and websites.</title><link>https://supabase.com/customers/markprompt</link><description>AI-powered chatbot platform, Markprompt, empowers developers to deliver efficient and GDPR-compliant prompt experiences on top of their content, by leveraging Supabase's secure and privacy-focused vector database and authentication solutions.</description>- <pubDate>Tue, 16 May 2023 16:00:00 GMT</pubDate>+ <pubDate>Tue, 16 May 2023 22:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/mendableai</guid><title>Mendable switches from Pinecone to Supabase Vector for PostgreSQL vector embeddings.</title><link>https://supabase.com/customers/mendableai</link><description>How Mendable boosts efficiency and accuracy of chat powered search for documentation using Supabase Vector.</description>- <pubDate>Thu, 04 May 2023 16:00:00 GMT</pubDate>+ <pubDate>Thu, 04 May 2023 22:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/happyteams</guid><title>HappyTeams unlocks better performance and reduces cost with Supabase.</title><link>https://supabase.com/customers/happyteams</link><description>How a bootstrapped startup migrated from Heroku to Supabase in 30 minutes and never looked back.</description>- <pubDate>Wed, 15 Feb 2023 16:00:00 GMT</pubDate>+ <pubDate>Wed, 15 Feb 2023 23:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/xendit</guid><title>Xendit use Supabase and create a full solution shipped to production in less than one week.</title><link>https://supabase.com/customers/xendit</link><description>As a payment processor, Xendit are responsible for verifying that all transactions are legal.</description>- <pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>+ <pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/replenysh</guid><title>Replenysh uses Supabase to implement OTP in less than 24 hours.</title><link>https://supabase.com/customers/replenysh</link><description>With Supabase, Replenysh gets a slick auth experience, reduces DevOps overhead, and continues to scale with Postgres.</description>- <pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>+ <pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/mobbin</guid><title>How Mobbin migrated 200,000 users from Firebase for a better authentication experience.</title><link>https://supabase.com/customers/mobbin</link><description>Mobbin helps over 200,000 creators globally search and view the latest design patterns from well-known apps.</description>- <pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>+ <pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate></item><item><guid>https://supabase.com/customers/epsilon3</guid><title>Epsilon3 digitize paper-based procedures in the space industry using telemetry data, simplifying testing and operations.</title><link>https://supabase.com/customers/epsilon3</link><description>Epsilon3 uses Supabase to help teams execute secure and reliable operations in an industry where project spend runs into the billions.</description>- <pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>+ <pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate></item></channel>diff --git a/packages/ui/src/components/GlassPanel/GlassPanel.tsx b/packages/ui/src/components/GlassPanel/GlassPanel.tsxindex 2ac43a529c9..aeefc6e73a4 100644--- a/packages/ui/src/components/GlassPanel/GlassPanel.tsx+++ b/packages/ui/src/components/GlassPanel/GlassPanel.tsx@@ -10,6 +10,7 @@ interface Props {children?: React.ReactNodeheader?: stringbackground?: boolean+ className?: stringlogo?: stringlogoInverse?: stringhasLightIcon?: boolean@@ -29,6 +30,7 @@ const GlassPanel = ({hasLightIcon,showLink = false,showIconBg = false,+ className,}: Props) => {const { resolvedTheme } = useTheme()const showLogoInverse = logoInverse && resolvedTheme?.includes('dark')@@ -36,12 +38,12 @@ const GlassPanel = ({const IconBackground: React.FC<React.PropsWithChildren> = (props) => (<div- className={[+ className={cn('shrink-0',showIconBg? 'bg-brand-300 border border-brand-400 w-8 h-8 flex items-center justify-center rounded'- : '',- ].join(' ')}+ : ''+ )}>{props.children}</div>@@ -62,7 +64,7 @@ const GlassPanel = ({return (<div- className={[+ className={cn('relative','h-full','group',@@ -74,7 +76,8 @@ const GlassPanel = ({? 'hover:border-strong bg-surface-100': 'border-muted hover:border-default bg-transparent','transition',- ].join(' ')}+ className+ )}>{showLogoInverse && <LogoComponent logoImage={logoInverse} className="opacity-50" />}{showLogo && <LogoComponent logoImage={logo} className="opacity-75" />}@@ -92,12 +95,12 @@ const GlassPanel = ({style={{ background: `radial-gradient(100% 100% at 0% 0%, #3EACCF18, transparent)` }}/><div- className={[+ className={cn('px-8 pb-8 relative','flex flex-col h-full',icon ? 'gap-6' : 'gap-2',- !header ? 'pt-8' : '',- ].join(' ')}+ !header ? 'pt-8' : ''+ )}><div className="flex items-center gap-3">{icon && typeof icon === 'string' ? (