Conversation
…O and user engagement
…improved user experience
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📖 PR #2 — feat: SEO 개선, 다중 이미지 버그 수정, 이미지 캡션 기능 추가
📄
|
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.
주요 변경 사항
🔍 SEO 개선
layout.tsx): 타이틀을 템플릿 구조(%s | 가챠 지도)로 변경해 각 페이지별 제목이 자동 조합되도록 개선.신규 가챠,신규 쿠지,신규 가차,쿠지 지도,홍대 가챠등 핵심 검색 키워드 추가layout.tsx): 상대경로og-image.png→https://gachamap.vercel.app/og-image.png로 수정해 SNS 공유 시 이미지가 정상 표시되도록 함layout.tsx):'사이트 이름'→'가챠 지도'gacha-board/page.tsx): 검색 키워드 중심으로 title/description 재작성gacha-board/[id]/page.tsx):generateMetadata를 추가해 각 게시글의 제목·이미지가 구글/네이버 검색 결과에 그대로 노출sitemap.ts):/gacha-board페이지 추가(priority 0.9)해 크롤러가 게시판 페이지를 인식하도록 함🐛 버그 수정: 이미지 1장만 저장되던 문제
image_url(단일 필드)만 저장하고images[]배열에 저장하지 않았으며, Detail도image_url하나만 읽고 있었음GachaPostEditor.tsx): 저장 시images[]+captions[]배열을 함께 DB에 저장GachaPostDetail.tsx):images[]우선으로 읽고, 없는 경우image_url로 fallback 처리✨ 신규 기능: 이미지별 캡션 입력
captions[]배열로 이미지 순서에 맞춰 함께 저장📰 게시글 상세 페이지 레이아웃 개선
🧩 기타
GachaPost타입 인터페이스 신규 추가 (types/db.ts).github/workflows/mobile-reader.yml)DB 마이그레이션 필요
Supabase SQL Editor에서 아래 쿼리 실행 필요:
테스트 체크리스트
🤖 Generated with Claude Code