diff --git a/src/components/embed-event/event-types/embedded-list.tsx b/src/components/embed-event/event-types/embedded-list.tsx index b69426c99..6a98251d4 100644 --- a/src/components/embed-event/event-types/embedded-list.tsx +++ b/src/components/embed-event/event-types/embedded-list.tsx @@ -21,14 +21,14 @@ export default function EmbeddedList({ list: list, ...props }: Omit - - - - Created by: + by + + + diff --git a/src/components/icons.tsx b/src/components/icons.tsx index df559fc19..874b3271f 100644 --- a/src/components/icons.tsx +++ b/src/components/icons.tsx @@ -177,7 +177,13 @@ export const StarHalfIcon = createIcon({ export const ErrorIcon = AlertTriangle; export const BookmarkIcon = Bookmark; -export const BookmarkedIcon = BookmarkCheck; + +// TODO: switch to untitled UI solid icon +export const BookmarkedIcon = createIcon({ + displayName: "BookmarkedIcon", + d: "M4 2H20C20.5523 2 21 2.44772 21 3V22.2763C21 22.5525 20.7761 22.7764 20.5 22.7764C20.4298 22.7764 20.3604 22.7615 20.2963 22.7329L12 19.0313L3.70373 22.7329C3.45155 22.8455 3.15591 22.7322 3.04339 22.4801C3.01478 22.4159 3 22.3465 3 22.2763V3C3 2.44772 3.44772 2 4 2ZM12 13.5L14.9389 15.0451L14.3776 11.7725L16.7553 9.45492L13.4695 8.97746L12 6L10.5305 8.97746L7.24472 9.45492L9.62236 11.7725L9.06107 15.0451L12 13.5Z", + defaultProps, +}); export const V4VStreamIcon = PlayCircle; export const V4VStopIcon = StopCircle; diff --git a/src/components/layout/nav-items.tsx b/src/components/layout/nav-items.tsx index a4d7993e1..4dbd3b36b 100644 --- a/src/components/layout/nav-items.tsx +++ b/src/components/layout/nav-items.tsx @@ -1,13 +1,13 @@ import { Box, Button, ButtonProps, Text } from "@chakra-ui/react"; -import { useLocation, useNavigate } from "react-router-dom"; +import { useLocation } from "react-router-dom"; import { nip19 } from "nostr-tools"; +import { Link as RouterLink } from "react-router-dom"; import { BadgeIcon, DirectMessagesIcon, CommunityIcon, EmojiPacksIcon, - NoteFeedIcon, GoalIcon, ListsIcon, LiveStreamIcon, @@ -24,7 +24,6 @@ import { useCurrentAccount } from "../../hooks/use-current-account"; import accountService from "../../services/account"; export default function NavItems() { - const navigate = useNavigate(); const location = useLocation(); const account = useCurrentAccount(); @@ -59,7 +58,8 @@ export default function NavItems() { return ( <> {account?.pubkey && ( )} - Special lists - - - - - + + Special lists + + + + + {peopleLists.length > 0 && ( <> - People lists - - + + People lists + + {peopleLists.map((event) => ( - + ))} )} {noteLists.length > 0 && ( <> - Bookmark lists - - + + Bookmark lists + + {noteLists.map((event) => ( - + ))} )} {favoriteLists.length > 0 && ( <> - Favorite lists - - + + Favorite lists + + {favoriteLists.map((event) => ( ))}