The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update data file
Jonathan Summers-Muir5dae6c38822e
diff --git a/apps/www/data/products/realtime/app-examples.js b/apps/www/data/products/realtime/app-examples.jsindex c9b7bcc93b5..2dc91209c55 100644--- a/apps/www/data/products/realtime/app-examples.js+++ b/apps/www/data/products/realtime/app-examples.js@@ -1,62 +1,62 @@-export default [+export default = [{- image: '',- title: 'Leaderboard',- description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ img: 'toast-messages.svg',+ title: 'Toast messages',+ description: 'Listen to changes in the database and show users a toast message.',},{- image: '',- title: 'Shared code editor',- description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ img: 'live-avatars.svg',+ title: 'Live avatars',+ description: 'Share the status of users across multiple clients.',},{- image: '',- title: 'Shared text editor',- description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ img: 'live-cursors.svg',+ title: 'Live cursors',+ description: 'Share the position and status of multiple cursors across multiple clients.',},{- image: '',- title: 'Stock market',+ img: 'leaderboard.svg',+ title: 'Leaderboards',description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ 'Listen to changes in your database regarding the scores of your users and display them live.',},{- image: '',- title: 'Share whiteboard',+ img: 'stock-market.svg',+ title: 'Live charts',description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ 'Keep charts updated in Realtime by listening to changes in the database rather than polling at intervals.',},{- image: '',- title: 'Multiplayer',- description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ img: 'in-app-chat.svg',+ title: 'In app chat',+ description: 'Listen to changes in the database to display up-to-date text messages.',},{- image: '',- title: 'Charts',+ img: 'text-editor.svg',+ title: 'Shared text editor',+ description: 'Users can collaborate with text documents or even code editors.',+ },++ {+ img: 'whiteboard.svg',+ title: 'Shared whiteboard',description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ 'Allow users to collaorate on a shared whiteboard, sharing positions and states of any kind of object in Realtime.',},{- image: '',+ img: 'location.svg',title: 'Location',- description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ description: 'Listen to changes in the database regarding the position of a moving coordinate.',},{- image: '',- title: 'Notifications',+ img: 'multiplayer-game.svg',+ title: 'Multiplayer games',description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ "Keep track of how long a player has been playing, who's turn it is and even share to other clients what the pllayer is doing.",},{- image: '',- title: 'In app chat',- description:- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',+ img: 'form-presence.svg',+ title: 'Form presence',+ description: 'Display the active selection of different users throughout an interactive form.',},]diff --git a/apps/www/pages/realtime/Realtime.tsx b/apps/www/pages/realtime/Realtime.tsxindex eca42e15f47..b0a67075f3b 100644--- a/apps/www/pages/realtime/Realtime.tsx+++ b/apps/www/pages/realtime/Realtime.tsx@@ -2,6 +2,7 @@ import { IconGrid, IconLayers, IconMenu } from '@supabase/ui'// [TODO] These need to be relooked - I'm using multiplayer.dev as a "docs"import ApiExamples from 'data/products/realtime/api-examples'+import AppExamples from 'data/products/realtime/app-examples'import RealtimeStyles from './Realtime.module.css'import Solutions from 'data/Solutions.json'@@ -37,69 +38,6 @@ const Cursor = ({ className = '', color = 'none' }) => {)}-const exampleApps = [- {- img: 'toast-messages.svg',- title: 'Toast messages',- description: 'Listen to changes in the database and show users a toast message.',- },- {- img: 'live-avatars.svg',- title: 'Live avatars',- description: 'Share the status of users across multiple clients.',- },- {- img: 'live-cursors.svg',- title: 'Live cursors',- description: 'Share the position and status of multiple cursors across multiple clients.',- },- {- img: 'leaderboard.svg',- title: 'Leaderboards',- description:- 'Listen to changes in your database regarding the scores of your users and display them live.',- },- {- img: 'stock-market.svg',- title: 'Live charts',- description:- 'Keep charts updated in Realtime by listening to changes in the database rather than polling at intervals.',- },- {- img: 'in-app-chat.svg',- title: 'In app chat',- description: 'Listen to changes in the database to display up-to-date text messages.',- },- {- img: 'text-editor.svg',- title: 'Shared text editor',- description: 'Users can collaborate with text documents or even code editors.',- },-- {- img: 'whiteboard.svg',- title: 'Shared whiteboard',- description:- 'Allow users to collaorate on a shared whiteboard, sharing positions and states of any kind of object in Realtime.',- },- {- img: 'location.svg',- title: 'Location',- description: 'Listen to changes in the database regarding the position of a moving coordinate.',- },- {- img: 'multiplayer-game.svg',- title: 'Multiplayer games',- description:- "Keep track of how long a player has been playing, who's turn it is and even share to other clients what the pllayer is doing.",- },- {- img: 'form-presence.svg',- title: 'Form presence',- description: 'Display the active selection of different users throughout an interactive form.',- },-]-function RealtimePage() {// base path for imagesconst { basePath } = useRouter()@@ -261,7 +199,7 @@ function RealtimePage() {</p></div><div className="grid gap-12 md:grid-cols-2 lg:grid-cols-4">- {exampleApps.map((example) => {+ {AppExamples.map((example) => {return (<><div className="flex flex-col gap-4">