feat: collection activity preview

This commit is contained in:
Kentai Radiquum 2025-04-04 05:26:08 +05:00
parent 6cc9cdaa9e
commit 339d4150b1
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
4 changed files with 150 additions and 11 deletions

View file

@ -49,11 +49,13 @@ export const CollectionLink = (props: any) => {
{props.title}
</p>
</div>
<p className="text-xs font-light text-white md:text-sm lg:text-base xl:text-lg">
{`${props.description.slice(0, 125)}${
props.description.length > 125 ? "..." : ""
}`}
</p>
{props.description && (
<p className="text-xs font-light text-white md:text-sm lg:text-base xl:text-lg">
{`${props.description.slice(0, 125)}${
props.description.length > 125 ? "..." : ""
}`}
</p>
)}
</div>
</div>
</div>