Skip to content

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

Fix kotlin icon

Jan Tennert08bfda72d0b0
diff --git a/apps/docs/components/Navigation/NavigationMenu/HomeMenuIconPicker.tsx b/apps/docs/components/Navigation/NavigationMenu/HomeMenuIconPicker.tsx
index 07ad9d7f9c0..a2b9fa52511 100644
--- a/apps/docs/components/Navigation/NavigationMenu/HomeMenuIconPicker.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/HomeMenuIconPicker.tsx
@@ -20,6 +20,7 @@ import {
IconMenuStorage,
IconMenuSwift,
IconMenuStatus,
+ IconMenuKotlin,
} from './HomeMenuIcons'
function getMenuIcon(menuKey: string, width: number = 16, height: number = 16) {
@@ -58,6 +59,8 @@ function getMenuIcon(menuKey: string, width: number = 16, height: number = 16) {
return <IconMenuCsharp width={width} height={height} />
case 'reference-swift':
return <IconMenuSwift width={width} height={height} />
+ case 'reference-kotlin':
+ return <IconMenuKotlin width={width} height={height} />
case 'reference-api':
return <IconMenuApi width={width} height={height} />
case 'reference-cli':
diff --git a/apps/docs/components/Navigation/NavigationMenu/HomeMenuIcons.tsx b/apps/docs/components/Navigation/NavigationMenu/HomeMenuIcons.tsx
index 73a39c75f59..19968cced84 100644
--- a/apps/docs/components/Navigation/NavigationMenu/HomeMenuIcons.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/HomeMenuIcons.tsx
@@ -382,6 +382,25 @@ export function IconMenuSwift({ width = 16, height = 16 }: HomeMenuIcon) {
)
}
+export function IconMenuKotlin({ width = 16, height = 16 }: HomeMenuIcon) {
+ return (
+ <svg
+ viewBox="0 0 16 16"
+ width={width}
+ height={height}
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M16 16H0V0h16L8 8z"
+ fill="currentColor"
+ />
+ </svg>
+ )
+}
+
export function IconMenuStatus({ width = 16, height = 16 }: HomeMenuIcon) {
return (
<svg
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index 520c7ec03d5..0411ecbe36a 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -117,6 +117,13 @@ export const HOMEPAGE_MENU_ITEMS: HomepageMenuItems = [
level: 'reference_swift',
community: true,
},
+ {
+ label: 'Kotlin',
+ icon: 'reference-kotlin',
+ href: '/reference/kotlin/introduction',
+ level: 'reference_kotlin',
+ community: true,
+ },
{
label: 'Tools reference',
},