feat: improvements for og-image-package#953
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
📝 WalkthroughWalkthroughThis change updates the open graph package image component to display package likes alongside existing metadata. The modification introduces a data fetching operation for likes information with default fallback values and integrates it into the server-side refresh flow. The UI has been enhanced with new icon-based elements including a heart icon for the likes count, updated download metrics display, conditional license badge rendering, and refined star/score presentation. These changes involve adjustments to spacing, typography, and colour theming throughout the component. Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |

Design improvements and likes addition to og-image for package pages
Screenshots
Before / AfterImproved the icons, colors, margins, and the box has been centered within the container. Added likes
For testing, open the path
/__og-image__/image/package/{PACKAGE_NAME}/og.pngCloses #907