Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit 73ad0e5

Browse files
add missing alts to make SEO better. (#865)
1 parent 9d9097c commit 73ad0e5

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

src/components/Bg.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ const StyledBg = styled.img`
1717

1818
interface BgProps {
1919
url: any
20+
alt: string
2021
}
2122

22-
const Bg: React.SFC<BgProps> = ({url}) => (
23+
const Bg = ({url, alt}: BgProps) => (
2324
<div className="row">
24-
<StyledBg src={url} aria-hidden="true" />
25+
<StyledBg src={url} alt={alt}/>
2526
</div>
2627
)
2728

src/pages/education.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const EducationPage: React.SFC<{}> = () => (
5252
title="We eliminate tedious workflows."
5353
/>
5454

55-
<Bg url={CollegeStudents} />
55+
<Bg url={CollegeStudents} alt="Students going to the college"/>
5656

5757
<PricingTable
5858
title="Gitpod Education Pricing"

src/pages/recruiting.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const RecrutingPage: React.SFC<{}> = () => (
4747
title="We create the most convenient dev environments."
4848
/>
4949

50-
<Bg url={RecruitingBG} />
50+
<Bg url={RecruitingBG} alt="A road on Mountains with trees on either side." />
5151

5252
<PricingTable
5353
title="Gitpod Recruiting Pricing"

src/pages/vendor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const VendorPage: React.SFC<{}> = () => (
4747
title="We’ll make your developer products shine."
4848
/>
4949

50-
<Bg url={VendorBG} />
50+
<Bg url={VendorBG} alt="A large hall with paintings embeded on it's walls." />
5151

5252
<PricingTable
5353
title="Gitpod Vendor Pricing"

0 commit comments

Comments
 (0)