-
-
Notifications
You must be signed in to change notification settings - Fork 149
feat: enhance accessibilty and seo for hero section #529
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
const Hero = () => ( | ||
<div className="flex flex-col py-24 items-center mx-2.5"> | ||
<section aria-labelledby="hero-heading" className="flex flex-col py-24 items-center mx-2.5"> | ||
Check warning on line 2 in src/components/Hero.tsx GitHub Actions / Code standards
Check warning on line 2 in src/components/Hero.tsx GitHub Actions / Code standards
Check warning on line 2 in src/components/Hero.tsx GitHub Actions / Code standards
Check warning on line 2 in src/components/Hero.tsx GitHub Actions / Code standards
|
||
<div> | ||
<h1 className="font-Lexend text-4xl md:text-5xl text-center text-lightSlate leading-tight tracking-tight"> | ||
<h1 | ||
id="hero-heading" | ||
className="font-Lexend text-4xl md:text-5xl text-center text-lightSlate leading-tight tracking-tight" | ||
Check failure on line 6 in src/components/Hero.tsx GitHub Actions / Code standards
Check failure on line 6 in src/components/Hero.tsx GitHub Actions / Code standards
Check failure on line 6 in src/components/Hero.tsx GitHub Actions / Code standards
Check failure on line 6 in src/components/Hero.tsx GitHub Actions / Code standards
|
||
> | ||
{`Find `} | ||
|
||
<span className="bg-gradient-to-r from-gradFirst via-gradMiddle to-gradLast bg-clip-text text-transparent"> | ||
<span | ||
Check warning on line 9 in src/components/Hero.tsx GitHub Actions / Code standards
Check warning on line 9 in src/components/Hero.tsx GitHub Actions / Code standards
Check warning on line 9 in src/components/Hero.tsx GitHub Actions / Code standards
Check warning on line 9 in src/components/Hero.tsx GitHub Actions / Code standards
|
||
className="bg-gradient-to-r from-gradFirst via-gradMiddle to-gradLast bg-clip-text text-transparent" | ||
aria-label="Open-Source Repositories" | ||
Check failure on line 11 in src/components/Hero.tsx GitHub Actions / Code standards
Check failure on line 11 in src/components/Hero.tsx GitHub Actions / Code standards
Check failure on line 11 in src/components/Hero.tsx GitHub Actions / Code standards
Check failure on line 11 in src/components/Hero.tsx GitHub Actions / Code standards
|
||
> | ||
Open-Source Repositories | ||
</span> | ||
|
||
<br /> | ||
Check warning on line 15 in src/components/Hero.tsx GitHub Actions / Code standards
Check warning on line 15 in src/components/Hero.tsx GitHub Actions / Code standards
Check warning on line 15 in src/components/Hero.tsx GitHub Actions / Code standards
Check warning on line 15 in src/components/Hero.tsx GitHub Actions / Code standards
|
||
trending today. | ||
</h1> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
|
||
export default Hero; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refactor (blocking): not required base on comment above.