[WEB-USER][ADD]: 사장님 입점 안내 진입점(/partner) 추가 - #178
Merged
Merged
Conversation
오프라인에서 입점 희망 사장님을 만날 때 보여줄 QR이 필요한데, 목적지가 사전 수요조사 Google Form과 판매자 운영 페이지 두 곳으로 갈립니다. QR에 이 주소들을 직접 넣으면 폼 주소나 운영 도메인이 바뀌었을 때 이미 인쇄해 배포한 QR을 회수할 방법이 없습니다. - QR에는 항상 `https://picakes.com/partner`만 넣고, 실제 목적지는 `partner.constants.ts`에서 정하도록 경유 페이지를 둠. 앱 다운로드 진입점(`/app`)에서 쓰던 원칙을 그대로 따름 - 자동 리다이렉트를 걸지 않고 버튼 두 개를 직접 고르게 함. QR을 찍는 사람의 상황이 "아직 입점 전(설문)"과 "이미 입점(운영 페이지)"으로 갈려서 서버가 UA나 헤더로 대신 판단할 수 없기 때문 - 높이를 `100vh`가 아니라 `100dvh`로 잡음. 모바일 브라우저의 100vh는 주소창에 가려지는 영역까지 포함해서, 그대로 두면 하단 버튼이 접혀 스크롤해야 보임 (`/app/android`에서 겪었던 것과 같은 문제) - 오프라인 QR 전용 경유 페이지라 `robots: index false`로 검색 노출 제외 - 단독 화면이므로 `RootWrapperLayout`에서 공통 헤더를 빼고 minimal 처리 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016ScM4roFnvWcR1hmDuw7Zi
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.
📋 요약
오프라인에서 만나는 입점 희망 사장님께 보여줄 QR 진입점
/partner를 추가합니다. QR에는https://picakes.com/partner하나만 담고, 실제 목적지(사전 수요조사 폼 / 판매자 운영 페이지)는 코드에서 정합니다.✨ 주요 변경사항
/partner경유 페이지 신설 — 사전 수요조사 Google Form과 판매자 운영 페이지(seller.picakes.com)로 가는 버튼 두 개 제공partner.constants.ts로 분리하고PATHS.PARTNER추가RootWrapperLayout에서/partner를 공통 헤더 제외(minimal) 대상으로 처리🧪 테스트 계획
seller.picakes.com으로 새 탭에서 열리는지📎 참고 사항
왜 경유 페이지를 두는가 — QR에 폼 주소나 운영 도메인을 직접 넣으면, 그 주소가 바뀌었을 때 이미 인쇄해 배포한 QR을 회수할 방법이 없습니다. 앱 다운로드 진입점
/app에서 쓰던 원칙을 그대로 따랐습니다.왜 자동 리다이렉트를 걸지 않았는가 — QR을 찍는 사람의 상황이 "아직 입점 전(설문)"과 "이미 입점(운영 페이지)"으로 갈립니다. 서버가 UA나 헤더로 판단할 수 있는 구분이 아니라서 버튼 두 개를 직접 고르게 했습니다.
100vh가 아니라100dvh— 모바일 브라우저의100vh는 주소창에 가려지는 영역까지 포함해서, 그대로 두면 하단 버튼이 접혀 스크롤해야 보입니다./app/android에서 겪었던 것과 같은 문제라 처음부터dvh로 잡았습니다.robots: noindex, nofollow— 오프라인 QR 전용 경유 페이지라 검색 노출은 불필요합니다.스테이징 확인 결과 (
web-user/staging-v0.0.232, 배포 성공)https://staging.picakes.com/partner→ 200<meta name="robots" content="noindex, nofollow">적용,min-h-[100dvh]포함 확인tsc --noEmit통과 (오류 0건)