diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx
index 2052f13..92f57d1 100644
--- a/components/CollectionCard.tsx
+++ b/components/CollectionCard.tsx
@@ -4,10 +4,11 @@
// You should have received a copy of the GNU General Public License along with this program. If not, see
{collection.name}
-+ {collection.name} +
+{collection.description}
{collection.description}
-- {links.filter((e) => e.collectionId === collection.id).length}{" "} - Links -
-{formattedDate}
++ {links.filter((e) => e.collectionId === collection.id).length}{" "} + Links +
+{formattedDate}
+{e.name}
{e.email}
diff --git a/components/Modal/EditCollection.tsx b/components/Modal/EditCollection.tsx index 4340d80..a30c8cb 100644 --- a/components/Modal/EditCollection.tsx +++ b/components/Modal/EditCollection.tsx @@ -10,6 +10,7 @@ import { faPenToSquare, faPlus, faTrashCan, + faUser, } from "@fortawesome/free-solid-svg-icons"; import useCollectionStore from "@/store/collections"; import { ExtendedCollection } from "@/types/global"; @@ -18,6 +19,7 @@ import Modal from "@/components/Modal"; import DeleteCollection from "@/components/Modal/DeleteCollection"; import RequiredBadge from "../RequiredBadge"; import addMemberToCollection from "@/lib/client/addMemberToCollection"; +import ImageWithFallback from "../ImageWithFallback"; type Props = { toggleCollectionModal: Function; @@ -159,12 +161,15 @@ export default function EditCollection({ }} />{e.user.name} diff --git a/components/Sidebar/SidebarItem.tsx b/components/Sidebar/SidebarItem.tsx index be17ecd..45bf85a 100644 --- a/components/Sidebar/SidebarItem.tsx +++ b/components/Sidebar/SidebarItem.tsx @@ -11,9 +11,10 @@ interface SidebarItemProps { text: string; icon: ReactElement; path: string; + className?: string; } -export default function ({ text, icon, path }: SidebarItemProps) { +export default function ({ text, icon, path, className }: SidebarItemProps) { const router = useRouter(); const [active, setActive] = useState(false); @@ -27,7 +28,7 @@ export default function ({ text, icon, path }: SidebarItemProps) {
New Collection
-+ New Collection +
+