Skip to content

Frontend: Set Navbar Links to Scroll to Different Sections of the Home Page #19

@Mkalbani

Description

@Mkalbani

🎯 Objective

Ensure the navbar links smoothly scroll to their respective sections within the Home Page when clicked.

🔍 Context

The navbar should provide an intuitive navigation experience by scrolling users to key sections of the home page, based on the Figma design.

📋 Tasks

  • Identify all sections in Home.tsx that require navigation (e.g., About, FAQs, How to Play, etc.).
  • Assign unique id attributes to each section.
  • Update the navbar links to scroll to these sections using the react-scroll package. (ℹ️ package already installed)
  • Ensure smooth scrolling and active link highlighting.

💻 Technical Implementation

1️⃣ Add IDs to Sections in Home.tsx
2️⃣ Update Navbar Links in Navbar.tsx
3️⃣ Use the Link's to property to set the route
4️⃣ Ensure styling matches the Figma design.

📌 Contributor Reminders

✅ Check the Contribution Guidelines: 🔗 CONTRIBUTING.md
✅ Sync with the latest changes from the LogiQuest repository before working on this issue.

📝 Acceptance Criteria

✅ Clicking a navbar link scrolls to the correct section.
✅ Smooth scrolling animation is enabled.
✅ The navbar design matches the Figma layout.
✅ The implementation works on all screen sizes.

💪 Skills Required

  • React
  • Tailwind CSS
  • React Scroll
  • Responsive Design

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions