From 1d7a7188bf4bcec6ff264c04473887ab480da0cd Mon Sep 17 00:00:00 2001 From: SnapOtter Date: Mon, 11 May 2026 17:20:14 +0800 Subject: [PATCH] fix: replace editor PenTool icon with image-edit icon Custom SVG showing a landscape image frame with a pencil overlay, clearly communicating "edit image" instead of the vector pen tool which read more as Illustrator than Photoshop. --- .../src/components/common/image-edit-icon.tsx | 22 +++++++++++++++++++ apps/web/src/components/layout/app-layout.tsx | 13 +++-------- apps/web/src/components/layout/sidebar.tsx | 17 +++++--------- 3 files changed, 30 insertions(+), 22 deletions(-) create mode 100644 apps/web/src/components/common/image-edit-icon.tsx diff --git a/apps/web/src/components/common/image-edit-icon.tsx b/apps/web/src/components/common/image-edit-icon.tsx new file mode 100644 index 00000000..2237e44b --- /dev/null +++ b/apps/web/src/components/common/image-edit-icon.tsx @@ -0,0 +1,22 @@ +import type { SVGProps } from "react"; + +export function ImageEditIcon(props: SVGProps) { + return ( + + + + + + + + ); +} diff --git a/apps/web/src/components/layout/app-layout.tsx b/apps/web/src/components/layout/app-layout.tsx index e5d29851..c8d8020c 100644 --- a/apps/web/src/components/layout/app-layout.tsx +++ b/apps/web/src/components/layout/app-layout.tsx @@ -1,18 +1,11 @@ -import { - FolderOpen, - LayoutGrid, - Menu, - PenTool, - Settings as SettingsIcon, - Workflow, - X, -} from "lucide-react"; +import { FolderOpen, LayoutGrid, Menu, Settings as SettingsIcon, Workflow, X } from "lucide-react"; import { useState } from "react"; import { Link } from "react-router-dom"; import { useMobile } from "@/hooks/use-mobile"; import { cn } from "@/lib/utils"; import { useConnectionStore } from "@/stores/connection-store"; import { Dropzone } from "../common/dropzone"; +import { ImageEditIcon } from "../common/image-edit-icon"; import { OtterLogo } from "../common/otter-logo"; import { HelpDialog } from "../help/help-dialog"; import { SettingsDialog } from "../settings/settings-dialog"; @@ -136,7 +129,7 @@ export function AppLayout({ children, showToolPanel = true, onFiles }: AppLayout