The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Chore/fix pricing images (#17847)
Terry Suttond51d4d1380b1
diff --git a/apps/www/pages/pricing/index.tsx b/apps/www/pages/pricing/index.tsxindex eb2a01b91f2..db7d1766112 100644--- a/apps/www/pages/pricing/index.tsx+++ b/apps/www/pages/pricing/index.tsx@@ -13,8 +13,8 @@ import pricingFaq from '~/data/PricingFAQ.json'import { useTheme } from 'next-themes'import ComputePricingModal from '~/components/Pricing/ComputePricingModal'import { plans } from 'shared-data/plans'-import { ArrowNarrowRightIcon } from '@heroicons/react/outline'import AnnouncementBadge from '../../components/Announcement/Badge'+import Image from 'next/image'export default function IndexPage() {const router = useRouter()@@ -341,9 +341,11 @@ export default function IndexPage() {<div className="grid lg:grid-cols-3 gap-4 mb-16">{addons.map((addon) => (<div className="bg-white dark:bg-scale-300 rounded-[4px]" key={addon.name}>- <div className="overflow-hidden rounded-lg">- <img+ <div className="overflow-hidden rounded-lg relative h-56">+ <ImageclassName="w-full"+ layout="fill"+ objectFit="contain"src={`${basePath}/images/pricing/${addon.heroImg}${resolvedTheme === 'dark' ? '' : '-light'}.png`}@@ -352,11 +354,13 @@ export default function IndexPage() {<div className="px-8 -mt-1"><p className="text-[13px] text-scale-900">{addon.price}</p><div className="flex items-center gap-2 mt-2">- <img+ <Imagesrc={`${basePath}/images/pricing/${addon.icon}${resolvedTheme === 'dark' ? '' : '-light'}.svg`}className="file:"+ width={14}+ height={14}alt="Compute"/><span className="text-sm text-scale-1200">{addon.name}</span>@@ -406,7 +410,7 @@ export default function IndexPage() {id="cost-control"className="grid lg:grid-cols-2 gap-8 items-center mt-12 lg:mt-8 max-w-6xl mx-auto">- <div>+ <div className="lg:py-12"><span className="bg-brand-300 text-brand-600 rounded-md bg-opacity-30 inline-block dark:bg-scale-400 dark:text-scale-1100 py-0.5 px-2 text-[13px] leading-4 mt-2">Available for Pro plan</span>@@ -418,8 +422,10 @@ export default function IndexPage() {restrictions if you have the spend cap enabled and exhaust your quota.</p></div>- <div>- <img+ <div className="relative h-full min-h-[14rem]">+ <Image+ layout="fill"+ objectFit="contain"className="w-full"src={`${basePath}/images/pricing/spend-cap${resolvedTheme === 'dark' ? '' : '-light'