Skip to content

Conversation

KatalKavya96
Copy link

Description

  • Refactored the recognition.js file (≈457 lines) into modular, reusable components.

  • This update introduces two new files — badge-item.js and badges-data.js — to make the badges section data-driven and easier to maintain.

  • Created a reusable component for each badge entry.

  • Moved all badge information into a central badges-data.js array.

  • Replaced the manually written list of

  • tags with a clean .map() render loop.

  • Functionality and styling remain unchanged; structure and readability improved.

This PR fixes #7027

Notes for Reviewers

  • Confirm that the badges render exactly as before under /community/handbook/recognition.

  • Verify that BadgeItem handles both internal (Link) and external (a) links correctly.

  • No breaking UI or navigation changes.

@Namanv0509
Copy link
Member

@KatalKavya96 please look over the merge conflicts else it looks good to go for now

@Namanv0509
Copy link
Member

@Rajesh-Nagarajan-11 ^^ give a look if you will

@KatalKavya96
Copy link
Author

@Namanv0509 Ok i will resolve merge conflicts and recommit.Thanks for the review

@KatalKavya96
Copy link
Author

@Namanv0509 I have resolved the merge conflicts.Please see it now.Thanks

@l5io
Copy link
Contributor

l5io commented Oct 14, 2025

🚀 Preview for commit 063d683 at: https://68ee534aacea5205d8c384b5--layer5.netlify.app

@l5io
Copy link
Contributor

l5io commented Oct 16, 2025

🚀 Preview for commit 57e5526 at: https://68f0677dc733ada47fcf37c0--layer5.netlify.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File Refactor into Re-usable Components

3 participants