Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add alticon for csharp

Terry Sutton44349d7a6057
diff --git a/studio/components/interfaces/Home/ClientLibrary.tsx b/studio/components/interfaces/Home/ClientLibrary.tsx
index 18364ddb503..ff78b50643a 100644
--- a/studio/components/interfaces/Home/ClientLibrary.tsx
+++ b/studio/components/interfaces/Home/ClientLibrary.tsx
@@ -7,13 +7,16 @@ interface Props {
officialSupport?: boolean
docsUrl?: string
gitUrl: string
+ altIconName?: string
}
-const ClientLibrary: FC<Props> = ({ language, officialSupport, docsUrl, gitUrl }) => {
+const ClientLibrary: FC<Props> = ({ language, officialSupport, docsUrl, gitUrl, altIconName }) => {
return (
<div className="flex items-start space-x-6">
<img
- src={`${BASE_PATH}/img/libraries/${language.toLowerCase()}-icon.svg`}
+ src={`${BASE_PATH}/img/libraries/${
+ altIconName ? `${altIconName}-icon.svg` : `${language.toLowerCase()}-icon.svg`
+ }`}
alt={`${language} logo`}
width="21"
/>
@@ -22,11 +25,6 @@ const ClientLibrary: FC<Props> = ({ language, officialSupport, docsUrl, gitUrl }
<h5 className="flex items-center gap-2 text-base text-scale-1200">
{language} {!officialSupport && <Badge color="green">Community</Badge>}
</h5>
- <p className="text-sm text-scale-1000">
- {officialSupport
- ? 'This library is officially supported'
- : 'This library is community supported'}
- </p>
</div>
<div className="flex gap-2">
{docsUrl && (
diff --git a/studio/components/interfaces/Home/Home.constants.ts b/studio/components/interfaces/Home/Home.constants.ts
index db416065585..52787f999a3 100644
--- a/studio/components/interfaces/Home/Home.constants.ts
+++ b/studio/components/interfaces/Home/Home.constants.ts
@@ -26,6 +26,7 @@ export const CLIENT_LIBRARIES = [
releaseState: undefined,
docsUrl: 'https://supabase.com/docs/reference/csharp/installing',
gitUrl: 'https://github.com/supabase-community/supabase-csharp',
+ altIconName: 'c-sharp',
},
{
language: 'Swift',