Skip to content

Commit b284e43

Browse files
author
Gyan Ranjan Panda
committed
fix: convert section H1 tags to H2 for proper heading hierarchy
Fixes #227 - Changed 'AboutCode Projects Overview' from H1 to H2 - Changed 'Supporters' from H1 to H2 - Ensures single H1 per page for WCAG 2.1 compliance - Improves SEO by eliminating multiple H1 tags Signed-off-by: Gyan Ranjan Panda <gyanranjanpanda@gmail.com>
1 parent 9c2bc1d commit b284e43

File tree

1 file changed

+2
-2
lines changed
  • website/src/components/HomepageContent

1 file changed

+2
-2
lines changed

website/src/components/HomepageContent/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function HomepageContent() {
2929
className={styles.sectionHeader}
3030
style={{ marginBottom: '15px', marginTop: '15px' }}
3131
>
32-
<h1>AboutCode Projects Overview</h1>
32+
<h2>AboutCode Projects Overview</h2>
3333
</div>
3434

3535
<div className={styles.sectionIntro}>
@@ -44,7 +44,7 @@ export default function HomepageContent() {
4444
className={styles.sectionHeader}
4545
style={{ marginBottom: '15px', marginTop: '30px' }}
4646
>
47-
<h1>Supporters</h1>
47+
<h2>Supporters</h2>
4848
</div>
4949
<div className={styles.sectionIntro}>
5050
<Supporters />

0 commit comments

Comments
 (0)