The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: improve hero
Francesco Sansalvadore0a6627fe7d4e
diff --git a/apps/www/components/Features/index.tsx b/apps/www/components/Features/index.tsxindex 11bfa256479..622126b57f1 100644--- a/apps/www/components/Features/index.tsx+++ b/apps/www/components/Features/index.tsx@@ -19,7 +19,7 @@ const Card = ({url,}: {title: string- subtitle: string+ subtitle: string | React.ReactNodeurl: stringimage: anyonClick: any@@ -35,14 +35,14 @@ const Card = ({><motion.divclassName={`relative overflow-hidden group/2 flex-1 flex flex-col items-center gap-5 lg:items-start justify-between bg-scale-100- w-full border dark:border-scale-300 border-scale-400 rounded-xl h-full px-2 sm:px-6 py-12 shadow-lg`}+ w-full border dark:border-scale-300 border-scale-400 rounded-xl h-full px-6 py-12 shadow-lg`}initial="default"animate="default"whileHover="hover">- <div className="relative z-10 flex flex-col items-center mx-auto max-w-sm text-center gap-2 text-scale-1200">+ <div className="relative z-10 flex flex-col items-center mx-auto text-center gap-2 text-scale-1200"><h3 className="text-xl">{title}</h3>- <p className="text-sm text-scale-1100">{subtitle}</p>+ <p className="text-sm text-scale-900">{subtitle}</p></div>{image}</motion.div>@@ -104,7 +104,13 @@ const Features = () => {<Cardurl={Solutions['database'].url}title={Solutions['database'].name}- subtitle="Every project is a full Postgres database, the world's most trusted relational database."+ subtitle={+ <>+ Every project is a full Postgres database,+ <br className="inline-block sm:hidden md:inline-block" /> the world's most trusted+ relational database.+ </>+ }onClick={() => sendTelemetryEvent(name)}image={<div className="absolute inset-0 z-0">@@ -132,7 +138,13 @@ const Features = () => {<Cardurl={Solutions['authentication'].url}title={Solutions['authentication'].name}- subtitle={Solutions['authentication'].description}+ subtitle={+ <>+ Add user sign ups and logins,+ <br className="inline-block sm:hidden md:inline-block" /> securing your data with Row+ Level Security.+ </>+ }image={<div className="absolute inset-0 z-0"><motion.div className="absolute inset-0 z-10" variants={opacityVariant}>@@ -160,7 +172,13 @@ const Features = () => {<Cardurl={Solutions['storage'].url}title={Solutions['storage'].name}- subtitle={Solutions['storage'].description}+ subtitle={+ <>+ Store, organize, and serve large files.+ <br className="inline-block sm:hidden md:inline-block" /> Any media, including videos+ and images.+ </>+ }image={<div className="absolute inset-0 z-0"><motion.div className="absolute inset-0 z-10" variants={opacityVariant}>diff --git a/apps/www/components/Hero/HeroBackground.tsx b/apps/www/components/Hero/HeroBackground.tsxindex ed3d6d1aa56..b1d44dbcb94 100644--- a/apps/www/components/Hero/HeroBackground.tsx+++ b/apps/www/components/Hero/HeroBackground.tsx@@ -1,10 +1,11 @@import React, { useEffect, useRef } from 'react'import styles from './hero.module.css'import { useWindowSize } from 'react-use'-import { useBreakpoint } from 'common'+import { useBreakpoint, useTheme } from 'common'const HeroBackground = () => {const spacerRef = useRef(null)+ const { isDarkMode } = useTheme()const { width } = useWindowSize()const isSm = useBreakpoint(640)@@ -23,7 +24,7 @@ const HeroBackground = () => {'M2.16005e-05 -0.000998163L1680 0.129286V234L890.763 1012.41C859.46 1043.28 809.108 1043.11 778.018 1012.02L-0.000248139 234.001L2.16005e-05 -0.000998163Z'const svgGridOptions = {- color: '#02828b',+ color: isDarkMode ? '#008d97' : '#005359',boxWidth: width ? width * 7 : 7500,boxHeight: width ? width * 5 : 6000,xLines: isSm ? 20 : 50,diff --git a/apps/www/components/Hero/hero.module.css b/apps/www/components/Hero/hero.module.cssindex bf7f5725502..8354e2757c7 100644--- a/apps/www/components/Hero/hero.module.css+++ b/apps/www/components/Hero/hero.module.css@@ -54,6 +54,6 @@}to {- transform: translateY(0);+ transform: translateY(100px);}}diff --git a/apps/www/public/images/index/database-dark.jpg b/apps/www/public/images/index/database-dark.jpgindex 3098560cd0c..81af5e2022c 100644Binary files a/apps/www/public/images/index/database-dark.jpg and b/apps/www/public/images/index/database-dark.jpg differdiff --git a/apps/www/public/images/index/edge-dark.jpg b/apps/www/public/images/index/edge-dark.jpgindex fd97735f4b0..2b5525a4dbf 100644Binary files a/apps/www/public/images/index/edge-dark.jpg and b/apps/www/public/images/index/edge-dark.jpg differ