docs(blog): add hero image to AI safety post#7904
Conversation
Sets heroImagePath and metaImagePath to a new cover image so the post gets a proper title card in the blog index and link previews. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThe MDX frontmatter for a blog article is updated to add two image asset references: ChangesBlog Post Metadata Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/blog/content/blog/how-to-use-ai-safely-and-responsibly/index.mdx`:
- Around line 10-11: The frontmatter references metaImagePath and heroImagePath
in index.mdx but the imgs/hero.png file is missing and the repo uses
hashed/dimensioned filenames; add the missing image assets into the post's imgs/
folder using the project's naming convention (e.g.,
meta-{hash}-{width}x{height}.png and hero-{hash}-{width}x{height}.svg or png),
or regenerate the images so they match that convention, then update the
metaImagePath and heroImagePath values in index.mdx to the exact filenames used
and commit the new files so the image renders and og:image works.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 1f5e8268-52db-4dc3-959c-d4d424120707
⛔ Files ignored due to path filters (1)
apps/blog/public/how-to-use-ai-safely-and-responsibly/imgs/hero.pngis excluded by!**/*.png
📒 Files selected for processing (1)
apps/blog/content/blog/how-to-use-ai-safely-and-responsibly/index.mdx
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Summary
hero.png) for How to Use AI Safely and Responsibly.heroImagePathandmetaImagePathin the post frontmatter so the image appears on the blog index card and in social/link previews.Test plan
pnpm devand visit/blog— the post card shows the new hero image.og:imageresolves to/how-to-use-ai-safely-and-responsibly/imgs/hero.pngin page source.🤖 Generated with Claude Code
Summary by CodeRabbit