From 3421472a1222bc0a1cbad84edb1ce5387d7a6ca3 Mon Sep 17 00:00:00 2001 From: IK Date: Tue, 22 Sep 2026 20:21:51 +0700 Subject: [PATCH] fix: expose catalog count to assistive technology --- apps/web/src/components/PageHero.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/PageHero.astro b/apps/web/src/components/PageHero.astro index 7e8a0fe..810271a 100644 --- a/apps/web/src/components/PageHero.astro +++ b/apps/web/src/components/PageHero.astro @@ -6,5 +6,5 @@ const { eyebrow, title, description, variant, count, countLabel, identity = titl ---
{eyebrow}

{title}

{description &&

{description}

}
- {variant && } + {variant &&
{typeof count === "number" && <>{String(count).padStart(2,"0")}{countLabel ?? (variant === "water" ? "водоёмов" : "видов рыб")}}
}