diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx index d9aebfd..2699705 100644 --- a/components/CollectionCard.tsx +++ b/components/CollectionCard.tsx @@ -66,7 +66,7 @@ export default function CollectionCard({ collection, className }: Props) { href={`/collections/${collection.id}`} className="flex flex-col gap-2 justify-between min-h-[12rem] h-full select-none p-5" > -

+

{collection.name}

@@ -90,7 +90,7 @@ export default function CollectionCard({ collection, className }: Props) { ) : null}
-
+
{collection.isPublic ? (
-

{e.name}

+

{e.name}

); diff --git a/components/FilterSearchDropdown.tsx b/components/FilterSearchDropdown.tsx index 90648e0..be39585 100644 --- a/components/FilterSearchDropdown.tsx +++ b/components/FilterSearchDropdown.tsx @@ -27,9 +27,7 @@ export default function FilterSearchDropdown({ }} className="absolute top-8 right-0 border border-sky-100 dark:border-neutral-700 shadow-md bg-gray-50 dark:bg-neutral-800 rounded-md p-2 z-20 w-40" > -

- Filter by -

+

Filter by

{count + 1}

-

+

{unescapeString(link.name || link.description)}

@@ -204,9 +204,7 @@ export default function LinkCard({ link, count, className }: Props) { className="w-4 h-4 mt-1 drop-shadow" style={{ color: collection?.color }} /> -

- {collection?.name} -

+

{collection?.name}

{/* {link.tags[0] ? ( @@ -219,7 +217,7 @@ export default function LinkCard({ link, count, className }: Props) { onClick={(e) => { e.stopPropagation(); }} - className="px-2 bg-sky-200 text-black dark:text-white dark:bg-sky-900 text-xs rounded-3xl cursor-pointer hover:opacity-60 duration-100 truncate max-w-[19rem]" + className="px-2 bg-sky-200 dark:bg-sky-900 text-xs rounded-3xl cursor-pointer hover:opacity-60 duration-100 truncate max-w-[19rem]" > {e.name} diff --git a/components/LinkPreview.tsx b/components/LinkPreview.tsx index c81e46e..652ed29 100644 --- a/components/LinkPreview.tsx +++ b/components/LinkPreview.tsx @@ -75,7 +75,7 @@ export default function LinkPreview({ link, className, settings }: Props) {

{1}

-

+

{unescapeString(link.name as string)}

@@ -84,9 +84,7 @@ export default function LinkPreview({ link, className, settings }: Props) { icon={faFolder} className="w-4 h-4 mt-1 drop-shadow text-sky-400" /> -

- Landing Pages ⚡️ -

+

Landing Pages ⚡️

-

- Edit -

+

Edit

) : undefined} @@ -102,9 +100,7 @@ export default function LinkSidebar({ className, onClick }: Props) { className="w-6 h-6 text-gray-500 dark:text-gray-300" /> -

- Preserved Formats -

+

Preserved Formats

{link?.collection.ownerId === userId || @@ -127,9 +123,7 @@ export default function LinkSidebar({ className, onClick }: Props) { className="w-6 h-6 text-gray-500 dark:text-gray-300" /> -

- Delete -

+

Delete

) : undefined} diff --git a/components/Modal/Collection/CollectionInfo.tsx b/components/Modal/Collection/CollectionInfo.tsx index 962e9ee..117db41 100644 --- a/components/Modal/Collection/CollectionInfo.tsx +++ b/components/Modal/Collection/CollectionInfo.tsx @@ -60,7 +60,7 @@ export default function CollectionInfo({
-

Name

+

Name

-

Color

+

Color

setCollection({ ...collection, color: "#0ea5e9" }) } @@ -96,7 +96,7 @@ export default function CollectionInfo({
-

Description

+

Description