refactor: eliminate all hardcoded strings in TSX components, enforce project rules in AGENTS.md, lock body scroll in cookie modal

This commit is contained in:
2026-08-26 03:09:15 +02:00
parent 8c6f3d2633
commit 434237e916
17 changed files with 475 additions and 245 deletions
+7 -4
View File
@@ -15,6 +15,7 @@ interface BlogListBlockProps {
badge?: string
heading: string
subheading?: string
readMoreLabel?: string
articles?: Article[]
}
@@ -79,10 +80,12 @@ export function BlogListBlockComponent(props: BlogListBlockProps) {
{art.date}
</span>
)}
<div className="text-xs font-black uppercase tracking-wider text-[#1f1f1f] flex items-center gap-1 hover:underline cursor-pointer whitespace-nowrap">
<span>Czytaj poradnik</span>
<ArrowRight className="h-3.5 w-3.5 text-[#1f1f1f]" />
</div>
{props.readMoreLabel && (
<div className="text-xs font-black uppercase tracking-wider text-[#1f1f1f] flex items-center gap-1 hover:underline cursor-pointer whitespace-nowrap">
<span>{props.readMoreLabel}</span>
<ArrowRight className="h-3.5 w-3.5 text-[#1f1f1f]" />
</div>
)}
</div>
</article>
</AnimateIn>