-
Couldn't load subscription status.
- Fork 1.4k
[Handbook] Refactor recognition.js into reusable badge components #7034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Handbook] Refactor recognition.js into reusable badge components #7034
Conversation
|
@KatalKavya96 please look over the merge conflicts else it looks good to go for now |
|
@Rajesh-Nagarajan-11 ^^ give a look if you will |
|
@Namanv0509 Ok i will resolve merge conflicts and recommit.Thanks for the review |
|
@Namanv0509 I have resolved the merge conflicts.Please see it now.Thanks |
|
🚀 Preview for commit 063d683 at: https://68ee534aacea5205d8c384b5--layer5.netlify.app |
|
🚀 Preview for commit 57e5526 at: https://68f0677dc733ada47fcf37c0--layer5.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KatalKavya96 any screenshot or video will be helpfull
|
|
@Rajesh-Nagarajan-11 The preview of last commit contains all the badges : https://68f0677dc733ada47fcf37c0--layer5.netlify.app/ . Please check it once , if required i will send you screenshots from my local as well. Thanks |
|
🚀 Preview for commit 3c327f1 at: https://68fa7509560fc33ae7b04f2b--layer5.netlify.app |
|
🚀 Preview for commit 08c73fc at: https://68fb896555b16f6a418da302--layer5.netlify.app |
|
@KatalKavya96 please resolve Merge Conflicts |
|
@Rajesh-Nagarajan-11 Resolving |
Signed-off-by: Kavya Katal <kavyakatal09@gmail.com>
8a3fc9c to
a0d0f70
Compare
Signed-off-by: Kavya Katal <KAVYAKATAL09@GMAIL.COM>
Signed-off-by: Kavya Katal <KAVYAKATAL09@GMAIL.COM>
|
🚀 Preview for commit 71e67ac at: https://68fccecc91458179e12c8540--layer5.netlify.app |
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
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.