From b62da321f7980bab8b22dede93d6998f6ff394bb Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 17 May 2026 14:41:34 -0500 Subject: [PATCH] Restore Messages sidebar entry, add WhiteNoise logo to /messages page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Re-add the Messages item to the left sidebar with its previous MessageSquareMore lucide icon. Drop requiresAuth so logged-out users also see the entry — the page is a static recommendation. - Restore 'messages' to the default sidebarOrder in App.tsx. - Add WhiteNoiseIcon (the logomark from whitenoise.chat, recolored to currentColor so it adapts to theme) and use it on the /messages install-CTA card in place of the generic Lock glyph. --- src/App.tsx | 1 + src/components/icons/WhiteNoiseIcon.tsx | 35 +++++++++++++++++++++++++ src/lib/sidebarItems.tsx | 6 +++++ src/pages/Messages.tsx | 9 +++---- 4 files changed, 46 insertions(+), 5 deletions(-) create mode 100644 src/components/icons/WhiteNoiseIcon.tsx diff --git a/src/App.tsx b/src/App.tsx index fc385b83..2018bb24 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -122,6 +122,7 @@ const hardcodedConfig: AppConfig = { "world", "wallet", "agent", + "messages", "profile", "notifications", "search", diff --git a/src/components/icons/WhiteNoiseIcon.tsx b/src/components/icons/WhiteNoiseIcon.tsx new file mode 100644 index 00000000..ab74c34e --- /dev/null +++ b/src/components/icons/WhiteNoiseIcon.tsx @@ -0,0 +1,35 @@ +import React from 'react'; + +/** + * White Noise brand mark, drawn in `currentColor` so it adapts to theme. + * + * Source: https://www.whitenoise.chat/images/logomark.svg + * + * Used as the Messages sidebar icon and on the /messages "Install White Noise" + * placeholder card. The original logomark is 58×44; this component preserves + * that aspect ratio inside the SVG viewBox while accepting standard lucide-style + * width/height/className props. + */ +export const WhiteNoiseIcon = React.forwardRef>( + ({ className, ...props }, ref) => ( + + + + ), +); + +WhiteNoiseIcon.displayName = 'WhiteNoiseIcon'; diff --git a/src/lib/sidebarItems.tsx b/src/lib/sidebarItems.tsx index ac8a7349..0598adfe 100644 --- a/src/lib/sidebarItems.tsx +++ b/src/lib/sidebarItems.tsx @@ -141,6 +141,12 @@ export const SIDEBAR_ITEMS: SidebarItemDef[] = [ icon: Bell, requiresAuth: true, }, + { + id: "messages", + label: "Messages", + path: "/messages", + icon: MessageSquareMore, + }, { id: "search", label: "Search", path: "/search", icon: Search }, { id: "verified", diff --git a/src/pages/Messages.tsx b/src/pages/Messages.tsx index ceb7f72b..fd989341 100644 --- a/src/pages/Messages.tsx +++ b/src/pages/Messages.tsx @@ -1,5 +1,6 @@ import { useSeoMeta } from '@unhead/react'; -import { ArrowUpRight, Lock } from 'lucide-react'; +import { ArrowUpRight } from 'lucide-react'; +import { WhiteNoiseIcon } from '@/components/icons/WhiteNoiseIcon'; import { Button } from '@/components/ui/button'; import { Card, CardContent } from '@/components/ui/card'; import { openUrl } from '@/lib/downloadFile'; @@ -15,10 +16,8 @@ const Messages = () => { return (
- -
- -
+ +

Private messaging lives elsewhere