feat: add proper social card image for Open Graph sharing#39
Conversation
Replace default favicon.png (12KB) with a branded 1200x630 social card image for better appearance when sharing on social media. Blog posts with hero images now use them for og:image, while other pages use the default social card.
Deploying baezor with
|
| Latest commit: |
ec2ef0d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://49099f6b.baezor.pages.dev |
| Branch Preview URL: | https://feature-social-card-image.baezor.pages.dev |
Code Review - PR #39SummaryThis PR adds a proper social card image for Open Graph sharing. The implementation improves social media sharing appearance by replacing the default favicon with a branded 1200x630px social card and enabling blog posts to use their hero images for social sharing. ✅ Strengths
🐛 Critical Issues1. Missing Dependency:
|
Summary
@/assets/*path alias to tsconfig.jsonChanges
src/assets/social-card.pngscripts/generate-social-card.mjssrc/components/BaseHead.astrosrc/layouts/Layout.astrosrc/layouts/BlogPost.astrotsconfig.json@/assets/*path aliasTest plan
npm run build- passes without errors