-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
DRY social icons #644
base: main
Are you sure you want to change the base?
DRY social icons #644
Conversation
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ 🚮 Removed packages: npm/@react-icons/[email protected] |
@onnimonni is attempting to deploy a commit to the Saasify Team on Vercel. A member of the Team first needs to authorize it. |
…cellent hover-color suggestion from Cursor editor
…on from from the css
Pull Request Review: DRY Social IconsThank you for this PR that refactors the social icons implementation to reduce repetition. Based on the commit history, you've made several meaningful improvements: Positive Aspects
Suggestions for Improvement
Questions
Overall, this refactoring appears to be a good improvement to the codebase - making it more maintainable while preserving functionality as shown in your demo. |
(testing out a new TS AI review bot) |
@gauravmm did couple of nice refactorings in #629 like removing the repetition for the social icons. I took his changes and removed the
DangerouslySetInnerHtml
and now we have a nice way to configure the icons and colors from one single place.If we want to merge this in smaller pieces merge #642 first.
I also added a short demo video to prove that they still work like they should:
