feat: OpenDay trainer photos + click-to-bio; remove filter text highlights

This commit is contained in:
2026-03-26 13:33:00 +03:00
parent a769ea844d
commit ec08f8e8d5
5 changed files with 92 additions and 36 deletions

View File

@@ -47,7 +47,7 @@ function ClassRow({
<div className="flex items-center gap-1.5">
<button
onClick={() => setFilterTrainer(filterTrainer === cls.trainer ? null : cls.trainer)}
className={`truncate text-sm font-medium text-left active:opacity-60 ${filterTrainer === cls.trainer ? "text-gold underline underline-offset-2" : "text-neutral-800 dark:text-white/80"}`}
className="truncate text-sm font-medium text-left active:opacity-60 text-neutral-800 dark:text-white/80"
>
{cls.trainer}
</button>
@@ -73,7 +73,7 @@ function ClassRow({
className={`flex items-center gap-1.5 active:opacity-60 ${filterTypes.has(cls.type) ? "opacity-100" : ""}`}
>
<span className={`h-1.5 w-1.5 shrink-0 rounded-full ${typeDots[cls.type] ?? "bg-white/30"}`} />
<span className={`text-[11px] ${filterTypes.has(cls.type) ? "text-gold underline underline-offset-2" : "text-neutral-400 dark:text-white/30"}`}>{cls.type}</span>
<span className="text-[11px] text-neutral-400 dark:text-white/30">{cls.type}</span>
</button>
{showLocation && cls.locationName && (
<span className="flex items-center gap-0.5 text-[10px] text-neutral-400 dark:text-white/20">