Skip to content

Commit

Permalink
feat(hero): enhance accessibility and seo for hero
Browse files Browse the repository at this point in the history
This PR adds more accessibility to the hero section and also seo bost becuase search engine crawlers
understand more the semantic html

feat open-sauced#530
  • Loading branch information
sohaibchebah committed Aug 15, 2024
1 parent a8f5b88 commit 657767e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
const Hero = () => (
<section aria-labelledby="hero-heading" 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">
<div>
<h1
id="hero-heading"
className="font-Lexend text-4xl md:text-5xl text-center text-lightSlate leading-tight tracking-tight"
id="hero-heading"
>
{`Find `}
<span
Expand Down

0 comments on commit 657767e

Please sign in to comment.