Skip to content

Commit

Permalink
fix: go icon in code snippet dopdown (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Apr 11, 2024
1 parent 2575a88 commit 59878e8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/ui/app/src/api-page/examples/code-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,26 @@ function getIconForClient(clientId: string) {
case "javascript":
case "typescript":
return "fa-brands fa-js";
case "go":
case "golang":
return "fa-brands fa-go";
case "ruby":
return "fa-solid fa-gem";
case "java":
case "kotlin":
return "fa-brands fa-java";
case "kotlin":
return "fa-brands fa-android"; // TODO: change to kotlin icon
case ".net":
case "dotnet":
case "c#":
case "csharp":
return "fa-brands fa-microsoft"; // TODO: change to csharp icon
case "php":
return "fa-brands fa-php";
case "swift":
return "fa-brands fa-swift";
case "rust":
return "fa-brands fa-rust";
default:
return "fa-solid fa-code";
}
Expand Down

0 comments on commit 59878e8

Please sign in to comment.