small changes

This commit is contained in:
Daniel
2023-04-25 16:09:46 +03:30
parent 4bfb08a52e
commit e715756cbe
6 changed files with 51 additions and 14 deletions
+11 -6
View File
@@ -18,12 +18,17 @@ export default function ({ collection }: { collection: Collection }) {
return (
<Link href={`/collections/${collection.id}`}>
<div className="p-5 bg-gray-100 h-40 w-60 rounded-md border-sky-100 border-solid border flex flex-col justify-between cursor-pointer hover:bg-gray-50 duration-100">
<div className="flex justify-between text-sky-900 items-center">
<p className="text-lg w-max">{collection.name}</p>
<FontAwesomeIcon
icon={faChevronRight}
className="w-3 h-3 text-gray-500"
/>
<div>
<div className="flex justify-between text-sky-900 items-center">
<p className="text-lg w-max">{collection.name}</p>
<FontAwesomeIcon
icon={faChevronRight}
className="w-3 h-3 text-gray-500"
/>
</div>
<p className="text-sm font-bold text-gray-500">
{collection.description}
</p>
</div>
<p className="text-sm text-sky-300 font-bold">{formattedDate}</p>
</div>