diff --git a/apps/desktop/app/(app)/settings/page.tsx b/apps/desktop/app/(app)/settings/page.tsx index e26bee52..edd547fb 100644 --- a/apps/desktop/app/(app)/settings/page.tsx +++ b/apps/desktop/app/(app)/settings/page.tsx @@ -10,7 +10,7 @@ import { } from "@ui/components/card" import { Button } from "@ui/components/button" import { cn } from "@lib/utils" -import { Check, FolderOpen } from "lucide-react" +import { Check, FolderOpen, Info } from "lucide-react" import Link from "next/link" import { useRouter } from "next/navigation" import { useCallback, useEffect, useState } from "react" @@ -570,15 +570,11 @@ const SHORTCUT_OPTIONS = [ { label: "⌘ ⌥ M", accelerator: "CommandOrControl+Option+M" }, ] as const -const modalCardStyle = { - boxShadow: - "0 2.842px 14.211px 0 rgba(0, 0, 0, 0.25), 0.711px 0.711px 0.711px 0 rgba(255, 255, 255, 0.10) inset", -} +const novaCardClassName = + "group relative flex min-h-[190px] flex-col overflow-hidden rounded-[12px] bg-[#14161A] p-5 shadow-[inset_2.42px_2.42px_4.263px_rgba(11,15,21,0.7)] transition-colors hover:bg-[#16181D] focus-within:ring-2 focus-within:ring-[#4BA0FA]/45" -const inputBevelStyle = { - boxShadow: - "0px 1px 2px 0px rgba(0,43,87,0.1), inset 0px 0px 0px 1px rgba(43,49,67,0.08), inset 0px 1px 1px 0px rgba(0,0,0,0.08), inset 0px 2px 4px 0px rgba(0,0,0,0.02)", -} +const novaIconBoxClassName = + "flex size-12 shrink-0 items-center justify-center rounded-[10px] bg-[#080B0F] shadow-[inset_1.5px_1.5px_4.5px_rgba(0,0,0,0.6)]" function SettingsToolCard({ tool, @@ -594,49 +590,32 @@ function SettingsToolCard({ return (
-
-
-
- -
+ +
+
+
-
-

+

+ +
+
+

{tool.name}

-

- {tool.description} -

+ {tool.id !== "codex" ? : null}
- {tool.connected ? ( - - - Connected - - ) : ( - - )} +

+ {tool.description} +