11import { useState } from "react" ;
2+ import microsoftAzureFundamentals from "../assets/images/certifications/microsoft-azure-fundamentals.png" ;
3+ import awsAIPractitionerEarlyAdopter from "../assets/images/certifications/aws-ai-practitioner-foundational-early-adopter.png" ;
24import awsCloudPractitioner from "../assets/images/certifications/aws-cloud-practitioner-foundational.png" ;
35import awsAIPractitioner from "../assets/images/certifications/aws-ai-practitioner-foundational.png" ;
4- import microsoftAzureFundamentals from "../assets/images/certifications/microsoft-azure-fundamentals.png" ;
56import awsSolutionsArchitectAssociate from "../assets/images/certifications/aws-solutions-architect-associate.png" ;
67import awsSecuritySpecialty from "../assets/images/certifications/aws-security-specialty.png" ;
78
89const Certifications : React . FC = ( ) => {
910 const [ hoveredIndex , setHoveredIndex ] = useState < number | null > ( null ) ;
1011
1112 const certifications = [
12- { src : microsoftAzureFundamentals , alt : "Microsoft Azure Fundamentals" } ,
13- { src : awsCloudPractitioner , alt : "AWS Certified Cloud Practitioner" } ,
14- { src : awsAIPractitioner , alt : "AWS Certified AI Practitioner" } ,
13+ {
14+ src : awsAIPractitionerEarlyAdopter ,
15+ alt : "AWS Certified AI Practitioner Early Adopter" ,
16+ url : "https://www.credly.com/badges/afe8b909-aed7-450d-b906-5e2abfa8d37f" ,
17+ } ,
18+ {
19+ src : microsoftAzureFundamentals ,
20+ alt : "Microsoft Azure Fundamentals" ,
21+ url : "https://learn.microsoft.com/en-gb/users/zyphaex/credentials/582f6909fd09237f" ,
22+ } ,
23+ {
24+ src : awsCloudPractitioner ,
25+ alt : "AWS Certified Cloud Practitioner" ,
26+ url : "https://www.credly.com/badges/46b0dd0e-2577-4a7c-870f-baa6279bac20" ,
27+ } ,
28+ {
29+ src : awsAIPractitioner ,
30+ alt : "AWS Certified AI Practitioner" ,
31+ url : "https://www.credly.com/badges/cd51660c-b4b3-4348-8474-6111af2d9f59" ,
32+ } ,
1533 {
1634 src : awsSolutionsArchitectAssociate ,
1735 alt : "AWS Certified Solutions Architect - Associate" ,
36+ url : "https://www.credly.com/badges/d82b9825-86a8-4430-bb62-74969ffe2768" ,
37+ } ,
38+ {
39+ src : awsSecuritySpecialty ,
40+ alt : "AWS Certified Security - Specialty" ,
41+ url : "https://www.credly.com/badges/37cc2f33-2b0f-44e5-9815-3dc86c1fc9a2" ,
1842 } ,
19- { src : awsSecuritySpecialty , alt : "AWS Certified Security - Specialty" } ,
2043 ] ;
2144
2245 return (
@@ -25,7 +48,7 @@ const Certifications: React.FC = () => {
2548 Certifications
2649 </ h3 >
2750 < div className = "relative w-full max-w-4xl mx-auto h-[320px] overflow-hidden" >
28- < div className = "flex items-center justify-center relative" >
51+ < div className = "flex flex-wrap items-center justify-center relative" >
2952 { certifications . map ( ( cert , index ) => (
3053 < div
3154 key = { index }
@@ -35,11 +58,13 @@ const Certifications: React.FC = () => {
3558 onMouseEnter = { ( ) => setHoveredIndex ( index ) }
3659 onMouseLeave = { ( ) => setHoveredIndex ( null ) }
3760 >
38- < img
39- src = { cert . src }
40- alt = { cert . alt }
41- className = "w-full h-full object-contain rounded-lg"
42- />
61+ < a href = { cert . url } target = "_blank" rel = "noopener noreferrer" >
62+ < img
63+ src = { cert . src }
64+ alt = { cert . alt }
65+ className = "w-full h-full object-contain rounded-lg"
66+ />
67+ </ a >
4368 </ div >
4469 ) ) }
4570 </ div >
0 commit comments