fix: add opengraph image for sistent project page - #8044
fix: add opengraph image for sistent project page#8044piyushtripathi9424 wants to merge 1 commit into
Conversation
Resolves layer5io#8038 Signed-off-by: Piyush Tripathi <piyushtripathi9424@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe Sistent project page now exports a ChangesSistent SEO metadata
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix · Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to The Sistent page now provides the requested social preview image metadata with no remaining merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ESLint
src/pages/projects/sistent/index.jsParsing error: The keyword 'import' is reserved Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🚀 Preview deployment: https://layer5.io/pr-preview/pr-8044/ |
Description
This PR resolves the issue where the Sistent project page on Layer5 did not have an Open Graph image specified, causing social platforms (like LinkedIn and Twitter) to display the generic Layer5 logo instead of the Sistent logo when the page is shared.
Changes Made
sistent-icon-color.pngasset.HeadAPI to inject theSEOcomponent into theSistentIndexPage.imageprop so it properly generates theog:imageandtwitter:imagemetadata tags.Resolves: #8038
Type of change
Testing Performed
og:imagegeneration via the local development server (npm run dev).Summary by CodeRabbit