Skip to content

Fix duplicate H1 tags on homepage#14

Open
CharanRaj-13 wants to merge 1 commit into
TheCodeVerseHub:masterfrom
CharanRaj-13:fix-homepage-h1-issue
Open

Fix duplicate H1 tags on homepage#14
CharanRaj-13 wants to merge 1 commit into
TheCodeVerseHub:masterfrom
CharanRaj-13:fix-homepage-h1-issue

Conversation

@CharanRaj-13
Copy link
Copy Markdown

Summary

Refactored the homepage heading structure to ensure only one H1 tag exists for improved SEO and accessibility.

Changes Made

  • Converted the secondary H1 element into an H2
  • Preserved the existing visual styling and layout
  • Maintained proper semantic heading hierarchy

Verification

  • Confirmed the homepage now contains exactly one H1
  • Verified no visual changes were introduced
  • Tested heading hierarchy using browser inspection tools

@netlify
Copy link
Copy Markdown

netlify Bot commented May 9, 2026

👷 Deploy request for thecodeversehub pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1f6ff1e

Copy link
Copy Markdown
Contributor

@youngcoder45 youngcoder45 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too minimal [Not Approved]

Comment thread src/app/page.tsx
<h2 className="text-4xl sm:text-5xl md:text-6xl xl:text-7xl font-extrabold leading-[1.05] tracking-tight bg-gradient-to-r from-violet-300 via-fuchsia-400 to-indigo-300 bg-clip-text text-transparent">
real developer community
</h1>
</h2>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks too Less to be Considered as a Contribution

@youngcoder45 youngcoder45 requested a review from Copilot May 31, 2026 18:04
@youngcoder45 youngcoder45 added documentation Improvements or additions to documentation wontfix This will not be worked on labels May 31, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors the homepage hero heading markup to eliminate duplicate <h1> usage, aiming to improve semantic HTML for SEO and accessibility.

Changes:

  • Replaced a secondary <h1> in the hero headline with a lower-level heading element.
  • Kept the existing Tailwind classes to preserve the current visual styling of the hero text.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/app/page.tsx
Comment on lines 72 to +77
<h1 className="text-4xl sm:text-5xl md:text-6xl xl:text-7xl font-extrabold text-white leading-[1.05] tracking-tight">
Build faster with a
</h1>
<h1 className="text-4xl sm:text-5xl md:text-6xl xl:text-7xl font-extrabold leading-[1.05] tracking-tight bg-gradient-to-r from-violet-300 via-fuchsia-400 to-indigo-300 bg-clip-text text-transparent">
<h2 className="text-4xl sm:text-5xl md:text-6xl xl:text-7xl font-extrabold leading-[1.05] tracking-tight bg-gradient-to-r from-violet-300 via-fuchsia-400 to-indigo-300 bg-clip-text text-transparent">
real developer community
</h1>
</h2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation wontfix This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants