Skip to content

🐞[Bug]: Homepage Contains Potentially Unreachable Modal Logic and Duplicate Hero Component Rendering #1338

Description

@Krishnx21

Related Area

Frontend

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

While reviewing web/src/app/page.tsx, I noticed that the homepage renders the HeroAndDownload component multiple times with different prop values. The file also contains an inline comment:

fix-unreachable-launching-soon-modal

This suggests that part of the modal flow may be unreachable or not functioning as intended.

Having multiple render paths for the same component alongside a comment indicating unresolved modal behavior can lead to inconsistent UI states, unexpected modal triggering, or code paths that are no longer used but still remain in the codebase.

Expected behavior

Homepage UI logic should have a clear rendering flow.
Modal-related functionality should be reachable when intended.
Duplicate component renders should not create conflicting UI states.

Actual behavior:-

Multiple HeroAndDownload renders exist with different configurations.
An inline comment suggests unresolved or unreachable modal logic.
The intended modal flow is unclear from the current implementation.

Add ScreenShots

No response

What browsers are you seeing the problem on?

Chrome

Record

  • I have read the Contributing Guidelines
  • I'm a GSSOC'24 contributor
  • I'm a GSSOC'26 contributor
  • I'm a IEEE IGDTUW contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions