Skip to content

[docs] docs 페이지 메타데이터 및 동적 OG 이미지 적용#189

Merged
snowykte0426 merged 2 commits into
developfrom
docs/dynamic-og-image
Jul 5, 2026
Merged

[docs] docs 페이지 메타데이터 및 동적 OG 이미지 적용#189
snowykte0426 merged 2 commits into
developfrom
docs/dynamic-og-image

Conversation

@snowykte0426

@snowykte0426 snowykte0426 commented Jul 1, 2026

Copy link
Copy Markdown
Member

개요 💡

docs 앱의 메타데이터를 페이지별로 정리하고, 고정 OG 이미지를 페이지별 동적 OG 이미지로 전환합니다.

작업내용 ⌨️

  • apps/docs/src/shared/lib/metadata.ts에 docs 전용 메타데이터 helper 추가
  • 각 MDX 문서 페이지가 title, og:title, og:url, twitter:image를 페이지별로 생성하도록 변경
  • apps/docs/src/app/og/route.tsx를 추가해 문서 제목 기반 동적 OG 이미지 생성
  • apps/docs/src/app/layout.tsx의 전역 metadata를 공통 helper 기반으로 정리

스크린샷/동영상 📸

image

리뷰 요청사항 👀

  • docs 페이지별 메타데이터 상속 방식과 동적 OG 이미지 구성 방향이 의도에 맞는지 확인 부탁드립니다.

@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
datagsm-front-admin Ready Ready Preview, Comment Jul 1, 2026 8:30am
datagsm-front-client Ready Ready Preview, Comment Jul 1, 2026 8:30am
datagsm-front-docs Ready Ready Preview, Comment Jul 1, 2026 8:30am
datagsm-front-oauth Ready Ready Preview, Comment Jul 1, 2026 8:30am
datagsm-front-status Ready Ready Preview, Comment Jul 1, 2026 8:30am

Request Review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request centralizes metadata generation for the documentation pages by introducing a 'createDocsPageMetadata' helper and refactoring MDX pages to use it. It also adds a dynamic Open Graph (OG) image generation route ('/og') using Next.js 'ImageResponse'. The review feedback recommends lazy loading the font and logo assets inside the OG route handler to prevent build-time failures and unhandled promise rejections, as well as using relative paths for OG images in the metadata helper to ensure proper resolution across local, preview, and production environments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread apps/docs/src/app/og/route.tsx Outdated
Comment thread apps/docs/src/shared/lib/metadata.ts
@snowykte0426 snowykte0426 merged commit 2f2022b into develop Jul 5, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants