The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: optional git url in homepage client libs (#38949)
Alaister Young1c092d2d05cd
diff --git a/apps/studio/components/interfaces/Home/ClientLibrary.tsx b/apps/studio/components/interfaces/Home/ClientLibrary.tsxindex 529bd0ff11f..cb2d14d4515 100644--- a/apps/studio/components/interfaces/Home/ClientLibrary.tsx+++ b/apps/studio/components/interfaces/Home/ClientLibrary.tsx@@ -7,7 +7,7 @@ interface ClientLibraryProps {language: stringofficialSupport?: booleandocsUrl?: string- gitUrl: string+ gitUrl?: stringaltIconName?: string}@@ -50,11 +50,13 @@ const ClientLibrary = ({</Button></a>)}- <a href={gitUrl} target="_blank" rel="noreferrer">- <Button icon={<Github />} type="default">- <span className="hidden md:inline">See</span> GitHub- </Button>- </a>+ {gitUrl && (+ <a href={gitUrl} target="_blank" rel="noreferrer">+ <Button icon={<Github />} type="default">+ <span className="hidden md:inline">See</span> GitHub+ </Button>+ </a>+ )}</div></div></div>diff --git a/apps/studio/hooks/custom-content/CustomContent.types.ts b/apps/studio/hooks/custom-content/CustomContent.types.tsindex 7fbe87e0741..a84484def9c 100644--- a/apps/studio/hooks/custom-content/CustomContent.types.ts+++ b/apps/studio/hooks/custom-content/CustomContent.types.ts@@ -15,7 +15,7 @@ export type CustomContentTypes = {officialSupport: booleanreleaseState?: stringdocsUrl: string- gitUrl: string+ gitUrl?: stringaltIconName?: string}[]projectHomepageExampleProjects: {diff --git a/apps/studio/hooks/custom-content/custom-content.schema.json b/apps/studio/hooks/custom-content/custom-content.schema.jsonindex 5569c4d71fa..af9bd62d272 100644--- a/apps/studio/hooks/custom-content/custom-content.schema.json+++ b/apps/studio/hooks/custom-content/custom-content.schema.json@@ -44,7 +44,7 @@"gitUrl": { "type": "string" },"altIconName": { "type": "string" }},- "required": ["language", "officialSupport", "docsUrl", "gitUrl"]+ "required": ["language", "officialSupport", "docsUrl"]}},"project_homepage:example_projects": {