[feat] OG \uc774\ubbf8\uc9c0 + PWA \ub9e4\ub2c8\ud398\uc2a4\ud2b8 (#15)#37
Merged
Conversation
peterabcd
added a commit
that referenced
this pull request
Jun 7, 2026
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.
closes #15
요약
/sessions/[id]/opengraph-image— 세션 상세 OG 이미지 (1200x630). 단체사진을 sharp 로 리사이즈해 어두운 그라디언트 배경 위에 날짜/장소/호스트 텍스트를 올린다. 사진이 없으면 텍스트만./opengraph-image— 사이트 기본 OG. 홈/로그인 등에서 사용.app/manifest.ts+app/icons/[size]/route.tsx+app/icon.tsx+app/apple-icon.tsx— PWA 설치 가능 (뷰런, dark theme, standalone display).lib/og-font.ts— Google Fonts 에서 Noto Sans KR Regular/Bold 를 첫 요청시 받아서 모듈 캠시. 한국어 렌더링 ☐ 대체 fallback (영문) 있음.middleware.ts—*opengraph-image/*twitter-imagepath 는 auth 우회 (카톡 교측 필수). PWA manifest/icon 등도 matcher 에서 제외.app/sessions/[id]/page.tsx—generateMetadata에서 세션별 title/description 설정.app/layout.tsx— site-level openGraph/twitter 기본값.트레이드오프
검증
pnpm check통과./icon,/apple-icon,/icons/[size],/manifest.webmanifest,/opengraph-image,/sessions/[id]/opengraph-image라우팅 모두 생성 확인.