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