Skip to content

Commit

Permalink
Fix alt of CertInfo to title
Browse files Browse the repository at this point in the history
  • Loading branch information
DeKal committed Dec 26, 2020
1 parent e9dcd39 commit f73738d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ exports[`Certification should render without throwing an error 1`] = `
className="CertInfo__Container-sc-1xe9lwl-0 cYCcNv"
>
<CertInfo__Image
alt="First slide"
alt="CertBachelor"
className="d-block w-100 h-100"
src="/images/certs/graduation.webp"
>
<img
alt="First slide"
alt="CertBachelor"
className="CertInfo__Image-sc-1xe9lwl-1 bJqpNd d-block w-100 h-100"
src="/images/certs/graduation.webp"
/>
Expand Down Expand Up @@ -284,12 +284,12 @@ exports[`Certification should render without throwing an error 1`] = `
className="CertInfo__Container-sc-1xe9lwl-0 cYCcNv"
>
<CertInfo__Image
alt="First slide"
alt="CertCom"
className="d-block w-100 h-100"
src="/images/certs/communication.webp"
>
<img
alt="First slide"
alt="CertCom"
className="CertInfo__Image-sc-1xe9lwl-1 bJqpNd d-block w-100 h-100"
src="/images/certs/communication.webp"
/>
Expand Down Expand Up @@ -408,12 +408,12 @@ exports[`Certification should render without throwing an error 1`] = `
className="CertInfo__Container-sc-1xe9lwl-0 cYCcNv"
>
<CertInfo__Image
alt="First slide"
alt="CertACMPrize"
className="d-block w-100 h-100"
src="/images/certs/award.webp"
>
<img
alt="First slide"
alt="CertACMPrize"
className="CertInfo__Image-sc-1xe9lwl-1 bJqpNd d-block w-100 h-100"
src="/images/certs/award.webp"
/>
Expand Down Expand Up @@ -532,12 +532,12 @@ exports[`Certification should render without throwing an error 1`] = `
className="CertInfo__Container-sc-1xe9lwl-0 cYCcNv"
>
<CertInfo__Image
alt="First slide"
alt="CertSPrize"
className="d-block w-100 h-100"
src="/images/certs/award.webp"
>
<img
alt="First slide"
alt="CertSPrize"
className="CertInfo__Image-sc-1xe9lwl-1 bJqpNd d-block w-100 h-100"
src="/images/certs/award.webp"
/>
Expand Down Expand Up @@ -656,12 +656,12 @@ exports[`Certification should render without throwing an error 1`] = `
className="CertInfo__Container-sc-1xe9lwl-0 cYCcNv"
>
<CertInfo__Image
alt="First slide"
alt="CertFPrize"
className="d-block w-100 h-100"
src="/images/certs/award.webp"
>
<img
alt="First slide"
alt="CertFPrize"
className="CertInfo__Image-sc-1xe9lwl-1 bJqpNd d-block w-100 h-100"
src="/images/certs/award.webp"
/>
Expand Down
2 changes: 1 addition & 1 deletion modules/home/components/certification/CertInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const CertInfo = ({ cover, coverMobile, title, content, ...otherProps }) => {
<Image
className="d-block w-100 h-100"
src={width < 768 ? coverMobile : cover}
alt="First slide"
alt={title}
/>
<Carousel.Caption>
<Info>
Expand Down

0 comments on commit f73738d

Please sign in to comment.