From 81fe69dc6bbd3e3892786b420873777a2dec15ea Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 24 Mar 2026 20:27:11 -0500 Subject: [PATCH] Use rocket icon and show site title in nsite action headers Changes 'deployed an nsite' to 'deployed Ditto' (or whatever the title tag contains) and swaps the Globe icon for a Rocket. --- src/components/NoteCard.tsx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/NoteCard.tsx b/src/components/NoteCard.tsx index 817d25e9..3c554f90 100644 --- a/src/components/NoteCard.tsx +++ b/src/components/NoteCard.tsx @@ -5,8 +5,8 @@ import { FileText, GitBranch, GitPullRequest, - Globe, MessageCircle, + Rocket, MoreHorizontal, Package, Palette, @@ -1668,16 +1668,18 @@ const KIND_HEADER_MAP: Record = { nounRoute: "/development", }, 15128: { - icon: Globe, - action: "deployed an", - noun: "nsite", - nounRoute: "/development", + icon: Rocket, + action: (tags) => { + const title = tags.find(([n]) => n === "title")?.[1]; + return title ? `deployed ${title}` : "deployed an nsite"; + }, }, 35128: { - icon: Globe, - action: "deployed an", - noun: "nsite", - nounRoute: "/development", + icon: Rocket, + action: (tags) => { + const title = tags.find(([n]) => n === "title")?.[1]; + return title ? `deployed ${title}` : "deployed an nsite"; + }, }, };