Skip to content

Conversation

@Sanyam2511
Copy link
Contributor

Description:
This PR resolves a significant bug on the homepage where various UI elements were overlapping and rendering incorrectly. The root cause was identified as duplicate HTML components and invalid nesting within the index.html file. This fix cleans up the file to ensure the homepage displays correctly and all navigation links function as intended.

[x] Bug Fix ✅
[ ] New Feature ✨
[x] Enhancement 🔧
[ ] Documentation 📝
[x] UI/UX Update 🎨

What changes were made?

  • Removed Duplicate Code: The redundant header component and the duplicate hero section (with the overlapping text and buttons) were removed from index.html.

  • Consolidated head Content: Consolidated duplicate font links and the Sentry script tag into a single instance to improve performance and remove redundancy.

  • Fixed Navigation Links: Corrected the href attributes in the navigation links to ensure they point to the correct files, such as editor.html and challenges.html.

  • Cleaned up HTML Structure: Removed invalid HTML, such as the ul and li tags, from within the button element of the hamburger menu.

Screenshot or Screen Recording
127 0 0 1_5501_

Issue Reference:
Closes #82

Additional Info (if any):
This fix provides a cleaner, more efficient, and structurally valid index.html file, which resolves the major UI bug and prepares the project for future development without rendering issues. Also moved the editor and about pages into the pages folder for better overall structure

@github-actions
Copy link
Contributor

github-actions bot commented Jul 23, 2025

@adityai0
Copy link
Member

@Sanyam2511 resolve merge conflicts

@adityai0
Copy link
Member

rest is fine and good to merge

@Sanyam2511 Sanyam2511 closed this Jul 23, 2025
@Sanyam2511 Sanyam2511 reopened this Jul 23, 2025
@Sanyam2511 Sanyam2511 closed this Jul 23, 2025
@Sanyam2511 Sanyam2511 reopened this Jul 23, 2025
@Sanyam2511
Copy link
Contributor Author

rest is fine and good to merge

I have reolved the merge conflicts,it is ready to be merged now

@adityai0 adityai0 merged commit 7dced80 into opensource-society:main Jul 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] UI Elements Overlap and Misalign on Homepage

2 participants