Skip to content

[feat] metadata 페이지별 OG image 추가 - #247

Merged
blueiz920 merged 1 commit into
devfrom
feat/#246/metadata-image
Apr 16, 2026
Merged

[feat] metadata 페이지별 OG image 추가#247
blueiz920 merged 1 commit into
devfrom
feat/#246/metadata-image

Conversation

@blueiz920

@blueiz920 blueiz920 commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

📌 Summary

페이지멸 OpenGraph image를 추가했습니다.

관련 있는 Issue를 태그해주세요. (e.g. > - #1)

📄 Tasks

  • 랜딩페이지 (기본 fallback으로 설정)
landing
  • 모임 찾기
search
  • 모임 상세 (기존)
    • 각 모임별 이미지 적용

👀 To Reviewer

리뷰어에게 요청하는 내용을 작성해주세요.

📸 Screenshot

작업한 내용에 대한 스크린샷을 첨부해주세요.

Summary by CodeRabbit

새로운 기능

  • 소셜 미디어 플랫폼에 페이지 링크를 공유할 때 랜딩 페이지와 검색 페이지의 최적화된 미리보기 이미지가 표시됩니다.

@blueiz920 blueiz920 self-assigned this Apr 16, 2026
@blueiz920
blueiz920 requested a review from a team as a code owner April 16, 2026 15:19
@blueiz920
blueiz920 requested review from miloupark and removed request for a team April 16, 2026 15:19
@blueiz920 blueiz920 added the ✨ Feature 새로운 기능 추가 / 퍼블리싱 label Apr 16, 2026
@blueiz920 blueiz920 linked an issue Apr 16, 2026 that may be closed by this pull request
1 task
@coderabbitai

coderabbitai Bot commented Apr 16, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

세 개의 메타데이터 파일에 Open Graph 이미지를 추가했습니다. 각 페이지(랜딩, 검색, 레이아웃)에 /og/landing.png 또는 /og/search.png를 지정하고 1200×630 크기와 한국어 설명을 포함했습니다.

Changes

Cohort / File(s) Summary
메타데이터 Open Graph 이미지 추가
apps/web/src/_pages/landing/lib/landing-metadata.ts, apps/web/src/_pages/space-search/lib/get-search-metadata.ts, apps/web/src/app/layout.tsx
각 메타데이터 객체의 openGraph.images 배열에 이미지 엔트리 추가. 랜딩 페이지는 /og/landing.png, 검색 페이지는 /og/search.png를 지정하며, 모두 1200×630 크기와 한국어 alt 텍스트 포함.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3분

Suggested reviewers

  • chan-byeong

Poem

🐰 모음이 빛나게,
이미지를 더했네!
랜딩, 검색 모두에
아름다운 OG 담아,
소셜 미디어 미리보기가
반짝반짝하게 ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed 풀 리퀘스트는 랜딩 페이지, 검색 페이지, 기본 레이아웃에 OpenGraph 이미지를 추가하여 이슈 #246의 메타데이터 이미지 추가 목표를 충족합니다.
Out of Scope Changes check ✅ Passed 모든 변경사항이 메타데이터 이미지 추가라는 범위 내에 있으며, meeting/[meetingId]를 제외한 페이지들에 OG 이미지를 추가하는 목표와 일치합니다.

✏️ 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between b314c42 and 07bc445.

⛔ Files ignored due to path filters (2)
  • apps/web/public/og/landing.png is excluded by !**/*.png
  • apps/web/public/og/search.png is excluded by !**/*.png
📒 Files selected for processing (3)
  • apps/web/src/_pages/landing/lib/landing-metadata.ts
  • apps/web/src/_pages/space-search/lib/get-search-metadata.ts
  • apps/web/src/app/layout.tsx

Comment thread apps/web/src/app/layout.tsx
@blueiz920
blueiz920 merged commit 7071bf2 into dev Apr 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 새로운 기능 추가 / 퍼블리싱

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] metadata 이미지 추가

1 participant