[feat] metadata 페이지별 OG image 추가 - #247
Merged
Merged
Conversation
Closed
1 task
📝 WalkthroughWalkthrough세 개의 메타데이터 파일에 Open Graph 이미지를 추가했습니다. 각 페이지(랜딩, 검색, 레이아웃)에 Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3분 Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/web/src/app/layout.tsx`:
- Around line 26-33: Extract the repeated OG image object into a shared constant
(e.g., DEFAULT_OG_IMAGE) and import it where needed instead of duplicating the
literal; create the constant (containing url, width, height, alt) in a common
module and replace the inline array in apps/web/src/app/layout.tsx and the
identical object in apps/web/src/_pages/landing/lib/landing-metadata.ts with
[DEFAULT_OG_IMAGE] (or export/consume the constant from landing-metadata if you
prefer) so both files reference the single source of truth.
🪄 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: Repository UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 046a39a2-1aed-4955-b27c-dfcd479904d7
⛔ Files ignored due to path filters (2)
apps/web/public/og/landing.pngis excluded by!**/*.pngapps/web/public/og/search.pngis excluded by!**/*.png
📒 Files selected for processing (3)
apps/web/src/_pages/landing/lib/landing-metadata.tsapps/web/src/_pages/space-search/lib/get-search-metadata.tsapps/web/src/app/layout.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 Summary
페이지멸 OpenGraph image를 추가했습니다.
📄 Tasks
👀 To Reviewer
리뷰어에게 요청하는 내용을 작성해주세요.
📸 Screenshot
작업한 내용에 대한 스크린샷을 첨부해주세요.
Summary by CodeRabbit
새로운 기능