The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update carousel images and use Next/Image
Jonathan Summers-Muirffb96c78c785
diff --git a/www/components/Carousels/ImageCarousel.tsx b/www/components/Carousels/ImageCarousel.tsxindex 8f6c1481371..81e2d14fd0b 100644--- a/www/components/Carousels/ImageCarousel.tsx+++ b/www/components/Carousels/ImageCarousel.tsx@@ -10,6 +10,7 @@ import 'swiper/swiper.min.css'import ImageCarouselStyles from './ImageCarousel.module.css'import Link from 'next/link'+import Image from 'next/image'interface Content {title: string@@ -106,7 +107,14 @@ function ImageCarousel(props: ImageCarouselProps) {{props.content.map((content: Content, i: number) => {return (<SwiperSlide key={i}>- {content.img_url && <img src={`${basePath}${content.img_url}`} />}+ {content.img_url && (+ <Image+ src={`${basePath}${content.img_url}`}+ layout="responsive"+ width="1460"+ height="960"+ />+ )}{content.video_url && (<videosrc={`${basePath}/${content.video_url}`}diff --git a/www/pages/database/Database.tsx b/www/pages/database/Database.tsxindex 818a28c6858..8dd36da1925 100644--- a/www/pages/database/Database.tsx+++ b/www/pages/database/Database.tsx@@ -15,6 +15,7 @@ import SqlViewCarouselData from 'data/products/database/sql-view-carousel.json'import TableViewCarouselData from 'data/products/database/table-view-carousel.json'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 { useState } from 'react'@@ -84,16 +85,24 @@ function Database() {'PostgreSQL is one of the worlds most scalable databases.',]}image={[- <img- key={'database-header-img--light'}- className="w-full header--light block"- src={`${basePath}/images/product/database/header--light-2.png`}- />,- <img- key={'database-header-img--dark'}- className="w-full header--dark mr-0 dark:block"- src={`${basePath}/images/product/database/header--dark-2.png`}- />,+ <div className="w-full header--light block">+ <Image+ src={`${basePath}/images/product/database/header--light-2.png`}+ alt="database header"+ layout="responsive"+ width="720"+ height="520"+ />+ </div>,+ <div className="w-full header--dark mr-0 dark:block">+ <Image+ src={`${basePath}/images/product/database/header--dark-2.png`}+ alt="database header"+ layout="responsive"+ width="720"+ height="520"+ />+ </div>,]}/>@@ -212,7 +221,7 @@ function Database() {footer={[<TweetCardhandle="@Elsolo244"- img_url="https://pbs.twimg.com/profile_images/2486328968/v6citnk33y2wpeyzrq05_400x400.jpeg"+ img_url={`${basePath}/images/twitter-profiles/v6citnk33y2wpeyzrq05_400x400.jpeg`}quote="Where has@supabase_iobeen all my life? 😍"@@ -228,7 +237,7 @@ function Database() {footer={[<TweetCardhandle="@jim_bisenius"- img_url="https://pbs.twimg.com/profile_images/1372987165869760513/rLgwUZSB_400x400.jpg"+ img_url={`${basePath}/images/twitter-profiles/rLgwUZSB_400x400.jpg`}quote="@MongoDB or @MySQL?!?! Please, let me introduce you to @supabase_io and the wonderful world of @PostgreSQL before it's too late!!"/>,]}@@ -271,13 +280,13 @@ function Database() {</Space></div><div className="col-span-12 lg:col-span-6 xl:col-span-10 hidden xl:block">- <TweetCard+ {/* <TweetCardhandle="@eunjae_lee"img_url="https://pbs.twimg.com/profile_images/1188191474401320965/eGjSYbQd_400x400.jpg"quote="So they just help me use @PostgreSQL better. They don't try to invent a wheel and trap mein it. Whereas they provide a good abstraction overall, they also provide a raw access tothe database."- />+ /> */}</div></div>,]}diff --git a/www/public/images/product/database/sql-view/export.png b/www/public/images/product/database/sql-view/export.pngindex 7015d4d2628..d4fb4275889 100644Binary files a/www/public/images/product/database/sql-view/export.png and b/www/public/images/product/database/sql-view/export.png differdiff --git a/www/public/images/product/database/sql-view/favourites.png b/www/public/images/product/database/sql-view/favourites.pngindex 6b71fa63d6b..180e90f58e3 100644Binary files a/www/public/images/product/database/sql-view/favourites.png and b/www/public/images/product/database/sql-view/favourites.png differdiff --git a/www/public/images/product/database/sql-view/manaco-editor.png b/www/public/images/product/database/sql-view/manaco-editor.pngindex 7958a10f06f..7079e06c895 100644Binary files a/www/public/images/product/database/sql-view/manaco-editor.png and b/www/public/images/product/database/sql-view/manaco-editor.png differdiff --git a/www/public/images/product/database/sql-view/sql-editor.png b/www/public/images/product/database/sql-view/sql-editor.pngindex 47382ceb993..afef41ce8bb 100644Binary files a/www/public/images/product/database/sql-view/sql-editor.png and b/www/public/images/product/database/sql-view/sql-editor.png differdiff --git a/www/public/images/product/database/table-view/create-table.png b/www/public/images/product/database/table-view/create-table.pngindex 49877a12c18..d959294d972 100644Binary files a/www/public/images/product/database/table-view/create-table.png and b/www/public/images/product/database/table-view/create-table.png differdiff --git a/www/public/images/product/database/table-view/export.png b/www/public/images/product/database/table-view/export.pngindex 8c991839519..e8d87d59924 100644Binary files a/www/public/images/product/database/table-view/export.png and b/www/public/images/product/database/table-view/export.png differdiff --git a/www/public/images/product/database/table-view/foreign-keys.png b/www/public/images/product/database/table-view/foreign-keys.pngindex ca5b82aba22..bc508524e53 100644Binary files a/www/public/images/product/database/table-view/foreign-keys.png and b/www/public/images/product/database/table-view/foreign-keys.png differdiff --git a/www/public/images/product/database/table-view/spreadsheet-interface.png b/www/public/images/product/database/table-view/spreadsheet-interface.pngindex a5e23ad7be2..f9d520ce402 100644Binary files a/www/public/images/product/database/table-view/spreadsheet-interface.png and b/www/public/images/product/database/table-view/spreadsheet-interface.png differdiff --git a/www/public/images/product/database/table-view/test.png b/www/public/images/product/database/table-view/test.pngdeleted file mode 100644index 8cf8c26a2c0..00000000000Binary files a/www/public/images/product/database/table-view/test.png and /dev/null differ