Skip to content

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

updated header images with unique dimensions

Jonathan Summers-Muir8ed382beeee7
diff --git a/www/pages/auth/Auth.tsx b/www/pages/auth/Auth.tsx
index cdca3b57336..6e06992f0ab 100644
--- a/www/pages/auth/Auth.tsx
+++ b/www/pages/auth/Auth.tsx
@@ -15,6 +15,7 @@ import ApiExamples from 'data/products/auth/auth-api-examples'
import AuthSqlRulesExamples from 'data/products/auth/auth-sql-rules-examples'
import Solutions from 'data/Solutions.json'
import { NextSeo } from 'next-seo'
+import Image from 'next/image'
import Link from 'next/link'
import { useRouter } from 'next/router'
import AuthComponentExample from '~/components/AuthWidget/AuthComponentExample'
@@ -73,16 +74,24 @@ function AuthPage() {
"Including PostgreSQL's policy engine, for fine-grained access rules.",
]}
image={[
- <img
- key={'authentication-header-img--light'}
- className="w-full header--light block"
- src={`${basePath}/images/product/auth/header--light.png`}
- />,
- <img
- key={'authentication-header-img--dark'}
- className="w-full header--dark mr-0 dark:block"
- src={`${basePath}/images/product/auth/header--dark.png`}
- />,
+ <div className="w-full header--light block">
+ <Image
+ src={`${basePath}/images/product/auth/header--light.png`}
+ alt="auth header"
+ layout="responsive"
+ width="1372"
+ height="1074"
+ />
+ </div>,
+ <div className="w-full header--dark mr-0 dark:block">
+ <Image
+ src={`${basePath}/images/product/auth/header--dark.png`}
+ alt="auth header"
+ layout="responsive"
+ width="1372"
+ height="1074"
+ />
+ </div>,
]}
documentation_url={'https://supabase.io/docs/guides/auth'}
/>
diff --git a/www/pages/database/Database.tsx b/www/pages/database/Database.tsx
index 8dd36da1925..189750a3ed9 100644
--- a/www/pages/database/Database.tsx
+++ b/www/pages/database/Database.tsx
@@ -90,8 +90,8 @@ function Database() {
src={`${basePath}/images/product/database/header--light-2.png`}
alt="database header"
layout="responsive"
- width="720"
- height="520"
+ width="1680"
+ height="1116"
/>
</div>,
<div className="w-full header--dark mr-0 dark:block">
@@ -99,8 +99,8 @@ function Database() {
src={`${basePath}/images/product/database/header--dark-2.png`}
alt="database header"
layout="responsive"
- width="720"
- height="520"
+ width="1680"
+ height="1116"
/>
</div>,
]}
diff --git a/www/pages/storage/Storage.tsx b/www/pages/storage/Storage.tsx
index c3317c8fafe..0fbc8e66483 100644
--- a/www/pages/storage/Storage.tsx
+++ b/www/pages/storage/Storage.tsx
@@ -72,8 +72,8 @@ function AuthPage() {
src={`${basePath}/images/product/storage/header--light.png`}
alt="storage header"
layout="responsive"
- width="720"
- height="520"
+ width="1386"
+ height="1067"
/>
</div>,
<div className="w-full header--dark mr-0 dark:block">
@@ -81,8 +81,8 @@ function AuthPage() {
src={`${basePath}/images/product/storage/header--dark.png`}
alt="storage header"
layout="responsive"
- width="720"
- height="520"
+ width="1386"
+ height="1067"
/>
</div>,
]}