Dodanie title w linkach 1/2

This commit is contained in:
dm
2025-11-22 21:43:00 +01:00
parent 617de866e2
commit e4f47a06a0
4 changed files with 27 additions and 15 deletions

View File

@@ -55,10 +55,10 @@ const {
<!-- CTA -->
{ctas.length > 0 && (
<div class="fuz-hero-cta gap-4">
{ctas.map((cta: { primary: any; href: string | URL | null | undefined; label: unknown; }) => {
{ctas.map((cta: { primary: any; href: string | URL | null | undefined; label: unknown; title: string }) => {
const cls = cta.primary ? "btn btn-primary" : "btn btn-outline";
return (
<a href={cta.href} class={cls}>
<a href={cta.href} class={cls} title={cta.title ?? 'Link do podstrony'}>
{cta.label}
</a>
);