Skip to content

Commit a946995

Browse files
authored
update alt text, remove unneeded constants file (#7743)
1 parent e35bb43 commit a946995

File tree

2 files changed

+6
-159
lines changed

2 files changed

+6
-159
lines changed

src/constants/img.ts

Lines changed: 0 additions & 152 deletions
This file was deleted.

src/pages/contribute/index.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { InternalLinkButton } from '@/components/InternalLinkButton';
44
import HowItWorks from '@/components/contribute/HowItWorks';
55
import { YoutubeEmbed } from '@/components/YoutubeEmbed';
66
import { Columns } from '@/components/Columns';
7-
import * as img from '../../constants/img';
87

98
const meta = {
109
title: 'AWS Amplify Contributor Program',
@@ -64,24 +63,24 @@ export default function Contribute() {
6463
wrap={'wrap'}
6564
>
6665
<ExportedImage
67-
alt={img.BADGE_FOUNDATIONAL.alt}
66+
alt="AWS Amplify open source contributor Foundational Badge"
6867
height={200}
6968
width={200}
70-
src={img.BADGE_FOUNDATIONAL.src}
69+
src="/assets/badge-foundational.png"
7170
/>
7271

7372
<ExportedImage
74-
alt={img.BADGE_ITERMEDIATE.alt}
73+
alt="AWS Amplify open source contributor Intermediate Badge"
7574
height={200}
7675
width={200}
77-
src={img.BADGE_ITERMEDIATE.src}
76+
src="/assets/badge-intermediate.png"
7877
/>
7978

8079
<ExportedImage
81-
alt={img.BADGE_ADVANCED.alt}
80+
alt="AWS Amplify open source contributor Advanced Badge"
8281
height={200}
8382
width={200}
84-
src={img.BADGE_ADVANCED.src}
83+
src="/assets/badge-advanced.png"
8584
/>
8685
</Flex>
8786

0 commit comments

Comments
 (0)