diff --git a/apps/studio/components/interfaces/Home/ClientLibrary.tsx b/apps/studio/components/interfaces/Home/ClientLibrary.tsx index 529bd0ff11..cb2d14d451 100644 --- a/apps/studio/components/interfaces/Home/ClientLibrary.tsx +++ b/apps/studio/components/interfaces/Home/ClientLibrary.tsx @@ -7,7 +7,7 @@ interface ClientLibraryProps { language: string officialSupport?: boolean docsUrl?: string - gitUrl: string + gitUrl?: string altIconName?: string } @@ -50,11 +50,13 @@ const ClientLibrary = ({ )} - - - + {gitUrl && ( + + + + )} diff --git a/apps/studio/hooks/custom-content/CustomContent.types.ts b/apps/studio/hooks/custom-content/CustomContent.types.ts index 7fbe87e074..a84484def9 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: boolean releaseState?: string docsUrl: string - gitUrl: string + gitUrl?: string altIconName?: string }[] projectHomepageExampleProjects: { diff --git a/apps/studio/hooks/custom-content/custom-content.schema.json b/apps/studio/hooks/custom-content/custom-content.schema.json index 5569c4d71f..af9bd62d27 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": {