Skip to content

Commit

Permalink
Merge branch 'preview'
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Jan 29, 2024
2 parents ee990d8 + c084a46 commit b91a57f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
22 changes: 12 additions & 10 deletions src/components/dataDisplay/postEmbed/ListEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ export default function ListEmbed(props: Props) {
return (
<>
{depth < 1 && (
<div
// href={{
// pathname: `/dashboard/user/${list.creator.handle}/lists/${encodeURIComponent(formattedUri)}`,
// query: { uri: list.uri },
// }}
// onClick={(e) => {
// e.stopPropagation();
// }}
className="mt-2 block cursor-pointer rounded-xl border bg-white p-3 hover:brightness-95"
<Link
href={{
pathname: `/dashboard/user/${
list.creator.handle
}/lists/${encodeURIComponent(formattedUri)}`,
query: { uri: list.uri },
}}
onClick={(e) => {
e.stopPropagation();
}}
className="block mt-2 cursor-pointer rounded-xl border bg-white p-3 hover:brightness-95"
>
<div className="flex items-start gap-2">
<div className="bg-primary rounded-lg p-2.5">{selectedIcon}</div>
Expand All @@ -44,7 +46,7 @@ export default function ListEmbed(props: Props) {
<p className="break-all">{list.description}</p>
</div>
</div>
</div>
</Link>
)}
</>
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/navigational/appBar/AppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ export default function AppBar() {
title="Feeds"
isActive={pathname === "/dashboard/feeds"}
/>
{/* <NavItem
<NavItem
href="/dashboard/lists"
icon={<HiOutlineClipboardList className="text-2xl md:text-3xl" />}
activeIcon={<HiClipboardList className="text-2xl md:text-3xl" />}
title="Lists"
isActive={pathname === "/dashboard/lists"}
/> */}
/>
<NavItem
href="/dashboard/notifications"
icon={<FaRegBell className="text-2xl md:text-3xl" />}
Expand Down
4 changes: 2 additions & 2 deletions src/components/navigational/navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ export default function Navbar() {
isActive={pathname === "/dashboard/feeds"}
className="sm:m-0"
/>
{/* <NavItem
<NavItem
href="/dashboard/lists"
icon={<HiOutlineClipboardList className="text-2xl md:text-3xl" />}
activeIcon={<HiClipboardList className="text-2xl md:text-3xl" />}
title="Lists"
isActive={pathname === "/dashboard/lists"}
/> */}
/>
<NavItem
href="/dashboard/notifications"
icon={<FaRegBell className="text-2xl md:text-3xl" />}
Expand Down

0 comments on commit b91a57f

Please sign in to comment.