style(credentials): refine education and certificate cards

This commit is contained in:
2026-09-06 21:59:06 +03:30
parent 224a36f3a2
commit f86cfe9725
5 changed files with 16 additions and 15 deletions

View File

@@ -50,13 +50,14 @@ export const MilestonesSection: React.FC = () => {
{/* View Certificate Link */}
<div className={styles.actionRow}>
<a
href={item.link || '#'}
href={item.link && item.link !== '#' ? item.link : item.image}
className={styles.viewCertLink}
target="_blank"
rel="noopener noreferrer"
aria-label={`View ${item.title} certificate`}
>
<span>View certificate</span>
<ExternalLink size={20} strokeWidth={2.25} />
<ExternalLink size={20} strokeWidth={2.25} aria-hidden="true" />
</a>
</div>
</div>