Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix cta banner color

Joshen Limeee4cacfaf07
diff --git a/www/components/CTABanner/index.tsx b/www/components/CTABanner/index.tsx
index 2e988b3d34e..fe62352c9f6 100644
--- a/www/components/CTABanner/index.tsx
+++ b/www/components/CTABanner/index.tsx
@@ -1,9 +1,13 @@
import Button from 'components/Button'
const CTABanner = (props: any) => {
- const { bgClass } = props
+ const { darkerBg } = props
return (
- <div className={`py-32 grid grid-cols-12 gap-4 items-center text-center bg-dark-800 ${bgClass} px-16`}>
+ <div className={`
+ py-32 grid grid-cols-12 gap-4 items-center text-center bg-dark-800
+ ${darkerBg ? 'dark:bg-dark-900' : ''} 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/pages/beta.tsx b/www/pages/beta.tsx
index 5ea4c2c24ca..03eddcf22a3 100644
--- a/www/pages/beta.tsx
+++ b/www/pages/beta.tsx
@@ -1017,7 +1017,7 @@ const Beta = () => {
<div ref={references['next']}>
<WhatsNext />
</div>
- <CTABanner bgClass="bg-dark-900" />
+ <CTABanner darkerBg={true} />
</Container>
</Layout>
)