fix(ui): add download attribute to certificate links

This commit is contained in:
2026-07-23 18:15:27 +02:00
parent 063d0fb4db
commit a5c997330c

View File

@@ -148,7 +148,8 @@ export function CertificatesBlock({ badge, title, description, certificates = de
const wrapperProps = cert.pdfUrl ? {
href: encodeURI(cert.pdfUrl),
target: "_blank",
rel: "noopener noreferrer"
rel: "noopener noreferrer",
download: cert.pdfUrl.split('/').pop()
} : {};
return (