The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(studio): update auth overview light mode images (#39484)
kemal.earth1e1b7a05b850
diff --git a/apps/studio/components/interfaces/Auth/Overview/OverviewLearnMore.tsx b/apps/studio/components/interfaces/Auth/Overview/OverviewLearnMore.tsxindex ab58f60630a..8678bc08b49 100644--- a/apps/studio/components/interfaces/Auth/Overview/OverviewLearnMore.tsx+++ b/apps/studio/components/interfaces/Auth/Overview/OverviewLearnMore.tsx@@ -6,17 +6,29 @@ import { Logs } from 'icons'import { BASE_PATH } from 'lib/constants'import { useParams } from 'common'import { useAiAssistantStateSnapshot } from 'state/ai-assistant-state'+import { useTheme } from 'next-themes'+import { useEffect, useState } from 'react'export const OverviewLearnMore = () => {+ const [isMounted, setIsMounted] = useState(false)const { ref } = useParams()const aiSnap = useAiAssistantStateSnapshot()+ const { theme, resolvedTheme } = useTheme()++ useEffect(() => {+ setIsMounted(true)+ }, [])++ const isLight = resolvedTheme === 'light'const LearnMoreCards = [{label: 'Docs',title: 'Auth docs',description: 'Read more on Supabase auth, managing users and more.',- image: `${BASE_PATH}/img/auth-overview/auth-overview-docs.jpg`,+ image: isLight+ ? `${BASE_PATH}/img/auth-overview/auth-overview-docs-light.jpg`+ : `${BASE_PATH}/img/auth-overview/auth-overview-docs.jpg`,actions: [{label: 'Docs',@@ -29,7 +41,9 @@ export const OverviewLearnMore = () => {label: 'Assistant',title: 'Explain auth errors',description: 'Our Assistant can help you debug and fix authentication errors.',- image: `${BASE_PATH}/img/auth-overview/auth-overview-assistant.jpg`,+ image: isLight+ ? `${BASE_PATH}/img/auth-overview/auth-overview-assistant-light.jpg`+ : `${BASE_PATH}/img/auth-overview/auth-overview-assistant.jpg`,actions: [{label: 'Ask Assistant',@@ -70,7 +84,9 @@ export const OverviewLearnMore = () => {label: 'Logs',title: 'Dive into the logs',description: 'Auth logs provide a deeper view into your auth requests.',- image: `${BASE_PATH}/img/auth-overview/auth-overview-logs.jpg`,+ image: isLight+ ? `${BASE_PATH}/img/auth-overview/auth-overview-logs-light.jpg`+ : `${BASE_PATH}/img/auth-overview/auth-overview-logs.jpg`,actions: [{label: 'Go to logs',@@ -81,6 +97,8 @@ export const OverviewLearnMore = () => {},]+ if (!isMounted) return null+return (<ScaffoldSection isFullWidth><ScaffoldSectionTitle className="mb-4">Learn more</ScaffoldSectionTitle>diff --git a/apps/studio/public/img/auth-overview/auth-overview-assistant-light.jpg b/apps/studio/public/img/auth-overview/auth-overview-assistant-light.jpgnew file mode 100644index 00000000000..06a79b4b593Binary files /dev/null and b/apps/studio/public/img/auth-overview/auth-overview-assistant-light.jpg differdiff --git a/apps/studio/public/img/auth-overview/auth-overview-assistant.jpg b/apps/studio/public/img/auth-overview/auth-overview-assistant.jpgindex 9a17a8c9fb6..4695c58a3e1 100644Binary files a/apps/studio/public/img/auth-overview/auth-overview-assistant.jpg and b/apps/studio/public/img/auth-overview/auth-overview-assistant.jpg differdiff --git a/apps/studio/public/img/auth-overview/auth-overview-docs-light.jpg b/apps/studio/public/img/auth-overview/auth-overview-docs-light.jpgnew file mode 100644index 00000000000..d1fd3561533Binary files /dev/null and b/apps/studio/public/img/auth-overview/auth-overview-docs-light.jpg differdiff --git a/apps/studio/public/img/auth-overview/auth-overview-docs.jpg b/apps/studio/public/img/auth-overview/auth-overview-docs.jpgindex 788efba5a1f..c594eea4773 100644Binary files a/apps/studio/public/img/auth-overview/auth-overview-docs.jpg and b/apps/studio/public/img/auth-overview/auth-overview-docs.jpg differdiff --git a/apps/studio/public/img/auth-overview/auth-overview-logs-light.jpg b/apps/studio/public/img/auth-overview/auth-overview-logs-light.jpgnew file mode 100644index 00000000000..d91d70c0777Binary files /dev/null and b/apps/studio/public/img/auth-overview/auth-overview-logs-light.jpg differdiff --git a/apps/studio/public/img/auth-overview/auth-overview-logs.jpg b/apps/studio/public/img/auth-overview/auth-overview-logs.jpgindex 3573468e452..a90c9dd1901 100644Binary files a/apps/studio/public/img/auth-overview/auth-overview-logs.jpg and b/apps/studio/public/img/auth-overview/auth-overview-logs.jpg differ