feat: avatar opener

This commit is contained in:
gosangam
2026-06-03 00:49:58 +05:30
parent fd333159f6
commit ddc6d3c7bf
4 changed files with 204 additions and 61 deletions
+6 -4
View File
@@ -52,10 +52,12 @@ export function CollectionGridCard({
{/* Visibility badge — black pill works on both image overlay and
flat surface (white or dark). */}
<div className="absolute top-3 right-3 inline-flex items-center gap-1 rounded-full bg-black/40 backdrop-blur-sm px-2.5 py-1 text-[0.6rem] uppercase tracking-[0.18em] font-medium text-white">
{c.is_public ? <Globe className="size-3" /> : <Lock className="size-3" />}
{c.is_public ? "Public" : "Private"}
</div>
{c.is_public ? null : (
<div className="absolute top-3 right-3 inline-flex items-center gap-1 rounded-full bg-black/40 backdrop-blur-sm px-2.5 py-1 text-[0.6rem] uppercase tracking-[0.18em] font-medium text-white">
<Lock className="size-3" />
{"Private"}
</div>
)}
{/* Title + count — text colour follows the surface beneath. */}
<div