diff --git a/components/LinkViews/LinkComponents/LinkCollection.tsx b/components/LinkViews/LinkComponents/LinkCollection.tsx index 4eafee7..b6e32e9 100644 --- a/components/LinkViews/LinkComponents/LinkCollection.tsx +++ b/components/LinkViews/LinkComponents/LinkCollection.tsx @@ -5,7 +5,10 @@ import { import { useRouter } from "next/router"; import React from "react"; -export default function LinkCollection({ link, collection }: { +export default function LinkCollection({ + link, + collection, +}: { link: LinkIncludingShortenedCollectionAndTags; collection: CollectionIncludingMembersAndLinkCount; }) { @@ -19,7 +22,10 @@ export default function LinkCollection({ link, collection }: { }} className="flex items-center gap-1 max-w-full w-fit hover:opacity-70 duration-100" > - +
{collection?.name}
); diff --git a/components/Modal/Collection/CollectionInfo.tsx b/components/Modal/Collection/CollectionInfo.tsx index be33707..8ee4e87 100644 --- a/components/Modal/Collection/CollectionInfo.tsx +++ b/components/Modal/Collection/CollectionInfo.tsx @@ -67,7 +67,7 @@ export default function CollectionInfo({Color
Color
+ {optionsExpanded ? "Hide" : "More"} Options +
+ +{title}
-{description}
+{description}
{ const storedValue = localStorage.getItem("collectionDisclosure"); return storedValue ? storedValue === "true" : true; - }, + } ); const { collections } = useCollectionStore(); @@ -32,7 +32,7 @@ export default function Sidebar({ className }: { className?: string }) { useEffect(() => { localStorage.setItem( "collectionDisclosure", - collectionDisclosure ? "true" : "false", + collectionDisclosure ? "true" : "false" ); }, [collectionDisclosure]); @@ -78,7 +78,7 @@ export default function Sidebar({ className }: { className?: string }) { : "hover:bg-neutral/20" } duration-100 py-5 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`} > - +
All Collections
Collections
+Collections
@@ -134,14 +134,14 @@ export default function Sidebar({ className }: { className?: string }) { } duration-100 py-1 px-2 cursor-pointer flex items-center gap-2 w-full rounded-md h-8 capitalize`} >{e.name}
{e.isPublic ? ( ) : undefined} @@ -173,8 +173,8 @@ export default function Sidebar({ className }: { className?: string }) { >Tags
diff --git a/components/SortDropdown.tsx b/components/SortDropdown.tsx index 046331c..848b1b8 100644 --- a/components/SortDropdown.tsx +++ b/components/SortDropdown.tsx @@ -14,9 +14,7 @@ export default function SortDropdown({ sortBy, setSort }: Props) { role="button" className="btn btn-sm btn-square btn-ghost" > - +New Collection
- +
diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx
index 1c65f33..a0aec27 100644
--- a/pages/dashboard.tsx
+++ b/pages/dashboard.tsx
@@ -33,8 +33,8 @@ export default function Dashboard() {
collections.reduce(
(accumulator, collection) =>
accumulator + (collection._count as any).links,
- 0,
- ),
+ 0
+ )
);
}, [collections]);
@@ -94,10 +94,13 @@ export default function Dashboard() {
return (
Import From
+
Import From
Download your data instantly.
Export Data
Select Theme
Dark
{/*Light
{/*Formats to Archive webpages:
+Formats to Archive/Preserve webpages: