style(credentials): refine education and certificate cards
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user