The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Eagle cleanup (#22735)
Francesco Sansalvadore6825a543b491
diff --git a/apps/www/components/ImageGrid.tsx b/apps/www/components/ImageGrid.tsxindex 8e2235c126e..cbb9becf428 100644--- a/apps/www/components/ImageGrid.tsx+++ b/apps/www/components/ImageGrid.tsx@@ -10,7 +10,7 @@ interface iImages {link?: string}-type colSizes = 8 | 6 | 5 | 4 | 3+type colSizes = 8 | 6 | 5 | 4 | 3 | 2type paddingSizes = 6 | 8 | 12interface iImageGrid {@@ -37,6 +37,7 @@ const ImageGrid = ({bg = true,}: iImageGrid) => {const smBreakpoint = {+ 2: 'grid-cols-2',3: 'grid-cols-3',4: 'grid-cols-4',5: 'grid-cols-5',@@ -45,6 +46,7 @@ const ImageGrid = ({}const mdBreakpoint = {+ 2: 'md:grid-cols-2',3: 'md:grid-cols-3',4: 'md:grid-cols-4',5: 'md:grid-cols-5',@@ -53,6 +55,7 @@ const ImageGrid = ({}const lgBreakpoint = {+ 2: 'lg:grid-cols-2',3: 'lg:grid-cols-3',4: 'lg:grid-cols-4',5: 'lg:grid-cols-5',diff --git a/apps/www/components/LaunchWeek/11/LW11Day1.tsx b/apps/www/components/LaunchWeek/11/LW11Day1.tsxindex 596c7003602..fe650b7d258 100644--- a/apps/www/components/LaunchWeek/11/LW11Day1.tsx+++ b/apps/www/components/LaunchWeek/11/LW11Day1.tsx@@ -27,14 +27,6 @@ const LW11Day1 = ({id={day.isToday ? 'today' : undefined}className="flex h-full scroll-mt-10 flex-col gap-4 items-between">- {/* <div- className={cn(- 'text-sm inline uppercase font-mono text-foreground-muted tracking-[0.1rem]',- day.shipped && 'text-foreground'- )}- >- {day.dd}, {day.date}- </div> */}<div className="md:max-w-xs flex flex-col gap-4"><ExpandableVideovideoId={day.videoId ?? ''}@@ -42,7 +34,6 @@ const LW11Day1 = ({imgOverlayText="Watch announcement"priority/>- {/* <p className="text-sm text-foreground">Supabase is ready for production use.</p> */}</div>{!!day.links && (<ul className="flex-1 h-full w-full justify-end xs:grid grid-cols-2 lg:grid-cols-3 flex flex-col gap-1">diff --git a/apps/www/data/ga.tsx b/apps/www/data/ga.tsxindex 152b2400104..93a2a71a846 100644--- a/apps/www/data/ga.tsx+++ b/apps/www/data/ga.tsx@@ -1,12 +1,4 @@-import {- ClipboardCheckIcon,- CreditCardIcon,- KeyIcon,- RewindIcon,- ShieldCheckIcon,- UserGroupIcon,-} from '@heroicons/react/outline'-import { Github } from 'lucide-react'+import { KeyIcon, RewindIcon, ShieldCheckIcon, UserGroupIcon } from '@heroicons/react/outline'import { IconActivity, IconDiscord, IconGitHubSolid, IconTwitterX, IconYoutubeSolid } from 'ui'export const data = (isDark: boolean) => ({@@ -83,26 +75,31 @@ We're committed to our free tier - we know the importance of this for testing ho{number: '65,000',text: 'GitHub stars',- icon: <IconGitHubSolid className="text-foreground-muted" />,+ url: 'https://github.com/supabase',+ icon: <IconGitHubSolid />,},{number: '106,000',text: 'Twitter followers',- icon: <IconTwitterX className="text-foreground-muted" />,+ url: 'https://twitter.com/supabase',+ icon: <IconTwitterX />,},{number: '25,000',text: 'Discord members',- icon: <IconDiscord className="text-foreground-muted" />,+ url: 'https://discord.com/invite/R7bSpeBSJE',+ icon: <IconDiscord />,},{number: '23,000',text: 'YouTube subscribers',- icon: <IconYoutubeSolid className="text-foreground-muted" />,+ url: 'https://www.youtube.com/c/supabase',+ icon: <IconYoutubeSolid />,},{number: '10,000',text: 'Reddit subs',+ url: 'https://www.reddit.com/r/Supabase/',icon: (<svgxmlns="http://www.w3.org/2000/svg"@@ -139,7 +136,7 @@ We're committed to our free tier - we know the importance of this for testing hostrokeLinecap: 'butt',strokeLinejoin: 'miter',strokeMiterlimit: 10,- fill: 'hsl(var(--foreground-muted) / 1)',+ fill: 'currentColor',fillRule: 'nonzero',opacity: 1,}}@@ -174,7 +171,7 @@ We're committed to our free tier - we know the importance of this for testing hocontent: `Our tagline is “Build in a weekend, scale to millions”. This isn't hyperbole. In the past, reaching 1 million users was an incredible challenge. It took Instagram 2.5 months, Facebook 10 months, and Twitter 24 months.-In the past year, we've had 11 companies start on Supabase and grow from zero to over 1 million users.+In the past year, we've had 12 companies start on Supabase and grow from zero to over 1 million users.@@ -215,6 +212,12 @@ We'll continue to expand the Supabase Enterprise offering to include more deploy? '/images/ga/enterprise/pwc--dark.svg': '/images/ga/enterprise/pwc--light.svg',},+ {+ name: 'mozilla',+ image: isDark+ ? '/images/ga/enterprise/mozilla--dark.png'+ : '/images/ga/enterprise/mozilla--light.png',+ },],highlights: [{@@ -237,14 +240,6 @@ We'll continue to expand the Supabase Enterprise offering to include more deploytext: 'Backups',icon: <RewindIcon strokeWidth={1} className="text-foreground-lighter w-6" />,},- // {- // text: 'Payment processing',- // icon: <CreditCardIcon strokeWidth={1} className="text-foreground-lighter w-6" />,- // },- // {- // text: 'Vulnerability Management',- // icon: <ClipboardCheckIcon strokeWidth={1} className="text-foreground-lighter w-6" />,- // },{text: 'DDoS Protection',icon: <ShieldCheckIcon strokeWidth={1} className="text-foreground-lighter w-6" />,diff --git a/apps/www/pages/ga.tsx b/apps/www/pages/ga.tsxindex ff8cad24055..a0731f554fd 100644--- a/apps/www/pages/ga.tsx+++ b/apps/www/pages/ga.tsx@@ -12,6 +12,7 @@ import ReactMarkdown from 'react-markdown'import Image from 'next/image'import ImageGrid from '../components/ImageGrid'import { useTheme } from 'next-themes'+import { ExpandableVideo } from 'ui-patterns'const ParagraphSection = dynamic(() => import('~/components/Sections/ParagraphSection'))const CTABanner = dynamic(() => import('~/components/CTABanner'))@@ -23,8 +24,8 @@ export default function IndexPage() {const data = pageData(isDark!)const meta_title = 'General Availability | Supabase'- const meta_description =- 'Explore Supabase fees and pricing information. Find our competitive pricing plans, with no hidden pricing. We have a generous free plan for those getting started, and Pay As You Go for those scaling up.'+ const meta_description = 'Supabase is officially launching into General Availability.'+ const meta_image = '/images/ga/ga-og.png'return (<DefaultLayout>@@ -37,45 +38,55 @@ export default function IndexPage() {url: `https://supabase.com/${router.pathname}`,images: [{- url: `https://supabase.com/images/og/og-image-v2.jpg`,+ url: meta_image,},],}}/><div className="bg-alternative border-b border-muted">- <SectionContainer className="flex flex-col gap-6 lg:gap-12">- <Image- src="/images/launchweek/ga/ga-black.svg"- alt="GA logo"- className="dark:hidden w-12 md:w-16 aspect-[104/57] h-auto"- priority- quality={100}- width={300}- height={300}- />- <Image- src="/images/launchweek/ga/ga-white.svg"- alt="GA logo"- className="hidden dark:block w-12 md:w-16 aspect-[104/57] h-auto"- priority- quality={100}- width={300}- height={300}- />- <div>- <h1 className="text-3xl md:text-5xl xl:text-8xl lg:max-w-xl xl:max-w-7xl tracking-[-1.1px] text-foreground-light font-normal">- We are moving to- <br />- <span className="text-foreground">General Availability</span>- </h1>+ <SectionContainer className="flex flex-col gap-4 lg:gap-8 py-8 md:py-12 lg:py-16">+ <div className="w-full grid grid-cols-1 gap-4 lg:grid-cols-3">+ <div className="flex flex-col gap-4 lg:col-span-2">+ <Image+ src="/images/launchweek/ga/ga-black.svg"+ alt="GA logo"+ className="dark:hidden w-12 md:w-16 aspect-[104/57] h-auto"+ priority+ quality={100}+ width={300}+ height={300}+ />+ <Image+ src="/images/launchweek/ga/ga-white.svg"+ alt="GA logo"+ className="hidden dark:block w-12 md:w-16 aspect-[104/57] h-auto"+ priority+ quality={100}+ width={300}+ height={300}+ />+ <h1 className="lg:pt-4 text-3xl md:text-5xl xl:text-7xl lg:max-w-xl xl:max-w-7xl tracking-[-1.1px] text-foreground-light font-normal">+ We are moving to+ <br />+ <span className="text-foreground">General Availability</span>+ </h1>+ {data.hero?.publishedAt && (+ <span className="text-sm text-foreground-lighter font-mono md:text-base">+ {data.hero.publishedAt}+ </span>+ )}+ </div>+ <div className="">+ <ExpandableVideo+ videoId="bRtdk8D4X8w"+ imgUrl="/images/launchweek/11/video-cover.jpg"+ imgOverlayText="Watch announcement"+ priority+ />+ </div></div>- {data.hero?.publishedAt && (- <span className="text-sm text-foreground-lighter font-mono md:text-base">- {data.hero.publishedAt}- </span>- )}</SectionContainer>- <SectionContainer className="!pt-0">+ <SectionContainer className="!pt-2 lg:!pt-8">{data.highlightsSection.highlights && (<divclassName="flex-wrap md:flex-nowrap w-fit md:w-full md:flex md:items-start grid lg:grid-cols-4 gap-4 md:gap-10 lg:gap-20@@ -98,8 +109,8 @@ export default function IndexPage() {)}</div>)}- <div className="w-full border-t max-w-4xl mt-12 lg:mt-32 flex justify-center">- <ol className="w-full pt-8 gap-4 columns-2 lg:columns-3 text-foreground-light">+ <div className="w-full border-t mt-12 lg:mt-24 flex justify-start">+ <ol className="w-full max-w-4xl pt-8 gap-4 columns-2 lg:columns-3 text-foreground-light">{data.hero.sections.map((section, i) => (<li key={section.title}><Link@@ -128,10 +139,19 @@ export default function IndexPage() {">{data.communityStats.highlights.map(- (highlight: { number: string; text: string; icon: React.ReactNode }, i: number) => {+ (+ highlight: { number: string; text: string; url: string; icon: React.ReactNode },+ i: number+ ) => {return (<div key={i} className="">- {highlight.icon}+ <Link+ href={highlight.url}+ target="_blank"+ className="text-foreground-muted hover:text-foreground transition-colors"+ >+ {highlight.icon}+ </Link><div className="border-t-[1px] border-brand-500 w-[32px] mb-1 mt-4"></div><h2 className="text-xl md:text-2xl lg:text-4xl pt-1.5 lg:pt-3 tracking-[-1.5px] font-mono">{highlight.number}@@ -153,9 +173,9 @@ export default function IndexPage() {<SectionContainer className="!pt-0 !grid grid-cols-1 lg:grid-cols-12 gap-4 md:gap-8 xl:gap-10"><div className="col-span-full lg:col-start-6 lg:col-span-7"><ImageGrid- smCols={3}- mdCols={3}- lgCols={3}+ smCols={2}+ mdCols={4}+ lgCols={2}images={data.enterpriseSection.companies}removeFilterbg={false}diff --git a/apps/www/public/images/ga/enterprise/mozilla--dark.png b/apps/www/public/images/ga/enterprise/mozilla--dark.pngnew file mode 100644index 00000000000..a3d5f471bd0Binary files /dev/null and b/apps/www/public/images/ga/enterprise/mozilla--dark.png differdiff --git a/apps/www/public/images/ga/enterprise/mozilla--light.png b/apps/www/public/images/ga/enterprise/mozilla--light.pngnew file mode 100644index 00000000000..d18a54db76dBinary files /dev/null and b/apps/www/public/images/ga/enterprise/mozilla--light.png differdiff --git a/apps/www/public/images/ga/ga-og.png b/apps/www/public/images/ga/ga-og.pngnew file mode 100644index 00000000000..a13923b46f0Binary files /dev/null and b/apps/www/public/images/ga/ga-og.png differ