diff --git a/components/Checkbox.tsx b/components/Checkbox.tsx index b9a7321..2e95895 100644 --- a/components/Checkbox.tsx +++ b/components/Checkbox.tsx @@ -12,7 +12,7 @@ type Props = { export default function Checkbox({ label, state, className, onClick }: Props) { return ( diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx index 6662468..9805f9c 100644 --- a/components/CollectionCard.tsx +++ b/components/CollectionCard.tsx @@ -49,11 +49,11 @@ 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}

-
+
{collection.members .sort((a, b) => (a.userId as number) - (b.userId as number)) .map((e, i) => { @@ -67,14 +67,14 @@ export default function CollectionCard({ collection, className }: Props) { }) .slice(0, 4)} {collection.members.length - 4 > 0 ? ( -
+
+{collection.members.length - 4}
) : null}
-
- +
+ {collection._count && collection._count.links}
diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx index 4f286c9..873966f 100644 --- a/components/LinkCard.tsx +++ b/components/LinkCard.tsx @@ -142,8 +142,8 @@ export default function LinkCard({ link, count, className }: Props) {
-

{count + 1}.

-

+

{count + 1}.

+

{link.name}

diff --git a/components/Modal/Collection/CollectionInfo.tsx b/components/Modal/Collection/CollectionInfo.tsx index 3e88c2d..94c711a 100644 --- a/components/Modal/Collection/CollectionInfo.tsx +++ b/components/Modal/Collection/CollectionInfo.tsx @@ -60,7 +60,7 @@ export default function CollectionInfo({
-

+

Name

@@ -72,11 +72,11 @@ export default function CollectionInfo({ } type="text" placeholder="e.g. Example Collection" - className="w-full rounded-md p-3 border-sky-100 border-solid border outline-none focus:border-sky-500 duration-100" + className="w-full rounded-md p-3 border-sky-100 border-solid border outline-none focus:border-sky-700 duration-100" />
-

Icon Color

+

Icon Color

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

Description

+

Description