From 872cc82c73382fa7a2da3c191e667ead1ca2a781 Mon Sep 17 00:00:00 2001 From: "Visal .In" Date: Sat, 5 Oct 2024 09:48:09 +0700 Subject: [PATCH] add starbase new icon --- src/app/(theme)/connect/driver-dropdown.tsx | 3 +- .../connect/saved-connection-storage.ts | 5 +- src/components/icons/outerbase-icon.tsx | 228 ++++++++++++++++++ 3 files changed, 233 insertions(+), 3 deletions(-) diff --git a/src/app/(theme)/connect/driver-dropdown.tsx b/src/app/(theme)/connect/driver-dropdown.tsx index de6ed00..bf3e5dd 100644 --- a/src/app/(theme)/connect/driver-dropdown.tsx +++ b/src/app/(theme)/connect/driver-dropdown.tsx @@ -13,6 +13,7 @@ import { MySQLIcon, RqliteIcon, SQLiteIcon, + StarbaseIcon, TursoIcon, ValtownIcon, } from "@/components/icons/outerbase-icon"; @@ -90,7 +91,7 @@ export default function DriverDropdown({ }} >
- +
StarbaseDB
diff --git a/src/app/(theme)/connect/saved-connection-storage.ts b/src/app/(theme)/connect/saved-connection-storage.ts index 46df2ce..28eb6ef 100644 --- a/src/app/(theme)/connect/saved-connection-storage.ts +++ b/src/app/(theme)/connect/saved-connection-storage.ts @@ -2,6 +2,7 @@ import { CloudflareIcon, RqliteIcon, SQLiteIcon, + StarbaseIcon, TursoIcon, ValtownIcon, } from "@/components/icons/outerbase-icon"; @@ -93,8 +94,8 @@ export const DRIVER_DETAIL: Record = }, starbase: { name: "starbase", - displayName: "Starbase", - icon: SQLiteIcon, + displayName: "StarbaseDB", + icon: StarbaseIcon, disableRemote: true, prefill: "", fields: [ diff --git a/src/components/icons/outerbase-icon.tsx b/src/components/icons/outerbase-icon.tsx index 07a3d7f..802a224 100644 --- a/src/components/icons/outerbase-icon.tsx +++ b/src/components/icons/outerbase-icon.tsx @@ -1,5 +1,233 @@ import { cn } from "@/lib/utils"; +export function StarbaseIcon({ className }: { className: string }) { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +} + export function MySQLIcon({ className }: { className?: string }) { return (