Merge remote-tracking branch 'origin/main' into sns

This commit is contained in:
minaChoi committed 2026-10-29 09:20:01 +09:00
commit db65ac2349
12 files changed
+635 -61

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# 날씨각 저장소 규칙
## GA4 이벤트 (모든 기능)
- 새 기능(페이지·게임·창·버튼 흐름)을 만들거나 바꾸면 같은 작업 안에서 GA4 이벤트를 넣는다. 따로 시키지 않아도 넣는다.
1. `frontend/src/lib/analytics.ts` `Events` 타입에 이벤트와 값 추가
2. 화면에서 `track(이벤트, 값)` 호출 — 시작·핵심 행동·끝이 잡히게
3. `docs/이벤트_추적.md` 이벤트 목록 표에 행 추가
- 완료 보고의 검증 결과에 넣은 이벤트 이름을 적는다. GA 없이 "완료"라고 하지 않는다.
- 값에 개인정보(아이디·닉네임·생년월일 등)를 넣지 않는다.
+1
View File
@@ -261,6 +261,7 @@
| [ ] | 토스 로그인 문구 검토 — '토스로 로그인', '토스로 로그인했어요', '토스 로그인을 마치지 못했어요. 한 번 더 눌러 주세요.', 기본 닉네임 '토스1234'(userKey 끝 4자리), 로그인 창 '날씨각 로그인'·'로그인하면 동네 이야기를 쓰고 내 각을 저장할 수 있어요', 인트로 '오늘 날씨에 맞는 일을 점수로 알려 줘요'·'세차·빨래·러닝 각 점수'·'오늘 노을이 예쁜 시간'·'이번 주말 가까운 행사'·'시작하기'(10/24) | 토스 로그인 구현(10/14) | `frontend/src/b/Sheets.tsx`, `backend/services/auth_service.py` |
| [ ] | 토스판 첫 실행에 인트로와 위치 권한 창이 같이 뜸 — 위치 권한은 앱이 뜨자마자 물어서 인트로 위에 겹칠 수 있음. '시작하기' 뒤로 미룰지 토스 앱에서 확인 | 인트로 추가 (10/24) | `frontend/src/b/region.tsx`, `frontend/src/b/tossIntro.tsx` |
| [ ] | 메뉴의 '로그인하면 좋아요·댓글을 쓸 수 있어요' — 좋아요·댓글은 로그인 없이 됨(10/21 결정)이라 문구가 틀림 | 인트로 추가 중 발견 (10/24) | `frontend/src/b/Sheets.tsx:1117` |
| [ ] | 토스 웹뷰에서 유튜브 플레이어가 보내는 재생 상태(postMessage)가 페이지에 오지 않음 — 원인 미확인(origin 불일치? 토스 브리지?). 그래서 토스판 쇼츠는 숨기기·명령 없이 유튜브 기본 플레이어 사용. 원인 찾으면 웹과 같은 UI로 합칠 수 있음 | 토스판 쇼츠 재생 안 됨 (10/26) | `frontend/src/b/Shorts.tsx` |
| [ ] | 댓글 신고·차단 — 앱인토스 필수 아님(신고·차단 필수는 채팅·만남·중고거래만, 서비스 오픈 정책·서비스별 주의사항). 만들지 않기로 함(10/14). 검수에서 요청이 오면 만든다 | 토스 로그인 구현(10/14) | |
| [x] | 각 늘리기 53→68 — 리서치로 고른 8개(한강·놀이공원·데이트·곱슬머리·보일러·선크림·모기·테니스) + 감성 7개(효도·감사·선물·파티·게임·셀카·센치), 아이콘 15개(Codex) | 사용자 요청 (10/20, 리서치 https://claude.ai/artifact/3ZQbtGKRLVZViRRC5voBzY) | `backend/seed/index_definition.json`, `frontend/public/icons/`, `frontend/src/b/lib.ts` |
| [ ] | **[결정 필요]** 한강각·놀이공원각이 강·놀이공원 없는 동네에도 나옴 — 각을 지역별로 가려 보여 주는 기능이 없음(한강밤바람각도 같음). 서울·한강 인접 구만 보일지 | 새 각 추가 중 발견 (10/20) | `backend/seed/index_definition.json`, `backend/services/index_service.py` |
@@ -0,0 +1,536 @@
# 네이버 색인 안 된 것으로 보는 주소 (2026-10-28). 기준: docs/검색노출_기록.md 의 네이버 색인 확인(홈·성남·수원·부평·연수·강남·구로·마포·성동·송파·종로·중구·용산·/sky·/week·/season)에서 빠진 것. 구글은 10/21·10/23 서치 콘솔 URL 검사에서 확인한 구 39개·내일 13곳이 모두 등록돼 있어 제외.
# 1) 구 주소 39개 — 39개
https://weather.o2o.kr/today/gyeonggi/suwon/jangan
https://weather.o2o.kr/today/gyeonggi/suwon/gwonseon
https://weather.o2o.kr/today/gyeonggi/suwon/paldal
https://weather.o2o.kr/today/gyeonggi/suwon/yeongtong
https://weather.o2o.kr/today/gyeonggi/seongnam/sujeong
https://weather.o2o.kr/today/gyeonggi/seongnam/jungwon
https://weather.o2o.kr/today/gyeonggi/seongnam/bundang
https://weather.o2o.kr/today/gyeonggi/anyang/manan
https://weather.o2o.kr/today/gyeonggi/anyang/dongan
https://weather.o2o.kr/today/gyeonggi/bucheon/wonmi
https://weather.o2o.kr/today/gyeonggi/bucheon/sosa
https://weather.o2o.kr/today/gyeonggi/bucheon/ojeong
https://weather.o2o.kr/today/gyeonggi/ansan/sangnok
https://weather.o2o.kr/today/gyeonggi/ansan/danwon
https://weather.o2o.kr/today/gyeonggi/goyang/deogyang
https://weather.o2o.kr/today/gyeonggi/goyang/ilsandong
https://weather.o2o.kr/today/gyeonggi/goyang/ilsanseo
https://weather.o2o.kr/today/gyeonggi/yongin/cheoin
https://weather.o2o.kr/today/gyeonggi/yongin/giheung
https://weather.o2o.kr/today/gyeonggi/yongin/suji
https://weather.o2o.kr/today/gyeonggi/hwaseong/manse
https://weather.o2o.kr/today/gyeonggi/hwaseong/hyohaeng
https://weather.o2o.kr/today/gyeonggi/hwaseong/byeongjeom
https://weather.o2o.kr/today/gyeonggi/hwaseong/dongtan
https://weather.o2o.kr/today/chungbuk/cheongju/sangdang
https://weather.o2o.kr/today/chungbuk/cheongju/seowon
https://weather.o2o.kr/today/chungbuk/cheongju/heungdeok
https://weather.o2o.kr/today/chungbuk/cheongju/cheongwon
https://weather.o2o.kr/today/chungnam/cheonan/dongnam
https://weather.o2o.kr/today/chungnam/cheonan/seobuk
https://weather.o2o.kr/today/gyeongbuk/pohang/nam
https://weather.o2o.kr/today/gyeongbuk/pohang/buk
https://weather.o2o.kr/today/gyeongnam/changwon/uichang
https://weather.o2o.kr/today/gyeongnam/changwon/seongsan
https://weather.o2o.kr/today/gyeongnam/changwon/masanhappo
https://weather.o2o.kr/today/gyeongnam/changwon/masanhoewon
https://weather.o2o.kr/today/gyeongnam/changwon/jinhae
https://weather.o2o.kr/today/jeonbuk/jeonju/wansan
https://weather.o2o.kr/today/jeonbuk/jeonju/deokjin
# 2) 시·군·구 지역 페이지 (네이버 미색인) — 218개
https://weather.o2o.kr/today/seoul/gwangjin
https://weather.o2o.kr/today/seoul/dongdaemun
https://weather.o2o.kr/today/seoul/jungnang
https://weather.o2o.kr/today/seoul/seongbuk
https://weather.o2o.kr/today/seoul/gangbuk
https://weather.o2o.kr/today/seoul/dobong
https://weather.o2o.kr/today/seoul/nowon
https://weather.o2o.kr/today/seoul/eunpyeong
https://weather.o2o.kr/today/seoul/seodaemun
https://weather.o2o.kr/today/seoul/yangcheon
https://weather.o2o.kr/today/seoul/gangseo
https://weather.o2o.kr/today/seoul/geumcheon
https://weather.o2o.kr/today/seoul/yeongdeungpo
https://weather.o2o.kr/today/seoul/dongjak
https://weather.o2o.kr/today/seoul/gwanak
https://weather.o2o.kr/today/seoul/seocho
https://weather.o2o.kr/today/seoul/gangdong
https://weather.o2o.kr/today/jeonnam/mokpo
https://weather.o2o.kr/today/jeonnam/yeosu
https://weather.o2o.kr/today/jeonnam/suncheon
https://weather.o2o.kr/today/jeonnam/naju
https://weather.o2o.kr/today/jeonnam/gwangyang
https://weather.o2o.kr/today/gwangju/dong
https://weather.o2o.kr/today/gwangju/seo
https://weather.o2o.kr/today/gwangju/nam
https://weather.o2o.kr/today/gwangju/buk
https://weather.o2o.kr/today/gwangju/gwangsan
https://weather.o2o.kr/today/jeonnam/damyang
https://weather.o2o.kr/today/jeonnam/gokseong
https://weather.o2o.kr/today/jeonnam/gurye
https://weather.o2o.kr/today/jeonnam/goheung
https://weather.o2o.kr/today/jeonnam/boseong
https://weather.o2o.kr/today/jeonnam/hwasun
https://weather.o2o.kr/today/jeonnam/jangheung
https://weather.o2o.kr/today/jeonnam/gangjin
https://weather.o2o.kr/today/jeonnam/haenam
https://weather.o2o.kr/today/jeonnam/yeongam
https://weather.o2o.kr/today/jeonnam/muan
https://weather.o2o.kr/today/jeonnam/hampyeong
https://weather.o2o.kr/today/jeonnam/yeonggwang
https://weather.o2o.kr/today/jeonnam/jangseong
https://weather.o2o.kr/today/jeonnam/wando
https://weather.o2o.kr/today/jeonnam/jindo
https://weather.o2o.kr/today/jeonnam/sinan
https://weather.o2o.kr/today/busan/jung
https://weather.o2o.kr/today/busan/seo
https://weather.o2o.kr/today/busan/dong
https://weather.o2o.kr/today/busan/yeongdo
https://weather.o2o.kr/today/busan/busanjin
https://weather.o2o.kr/today/busan/dongnae
https://weather.o2o.kr/today/busan/nam
https://weather.o2o.kr/today/busan/buk
https://weather.o2o.kr/today/busan/haeundae
https://weather.o2o.kr/today/busan/saha
https://weather.o2o.kr/today/busan/geumjeong
https://weather.o2o.kr/today/busan/gangseo
https://weather.o2o.kr/today/busan/yeonje
https://weather.o2o.kr/today/busan/suyeong
https://weather.o2o.kr/today/busan/sasang
https://weather.o2o.kr/today/busan/gijang
https://weather.o2o.kr/today/daegu/jung
https://weather.o2o.kr/today/daegu/dong
https://weather.o2o.kr/today/daegu/seo
https://weather.o2o.kr/today/daegu/nam
https://weather.o2o.kr/today/daegu/buk
https://weather.o2o.kr/today/daegu/suseong
https://weather.o2o.kr/today/daegu/dalseo
https://weather.o2o.kr/today/daegu/dalseong
https://weather.o2o.kr/today/daegu/gunwi
https://weather.o2o.kr/today/incheon/jemulpo
https://weather.o2o.kr/today/incheon/yeongjong
https://weather.o2o.kr/today/incheon/michuhol
https://weather.o2o.kr/today/incheon/namdong
https://weather.o2o.kr/today/incheon/gyeyang
https://weather.o2o.kr/today/incheon/seohae
https://weather.o2o.kr/today/incheon/geomdan
https://weather.o2o.kr/today/incheon/ganghwa
https://weather.o2o.kr/today/incheon/ongjin
https://weather.o2o.kr/today/daejeon/dong
https://weather.o2o.kr/today/daejeon/jung
https://weather.o2o.kr/today/daejeon/seo
https://weather.o2o.kr/today/daejeon/yuseong
https://weather.o2o.kr/today/daejeon/daedeok
https://weather.o2o.kr/today/ulsan/jung
https://weather.o2o.kr/today/ulsan/nam
https://weather.o2o.kr/today/ulsan/dong
https://weather.o2o.kr/today/ulsan/buk
https://weather.o2o.kr/today/ulsan/ulju
https://weather.o2o.kr/today/sejong/sejong
https://weather.o2o.kr/today/gyeonggi/uijeongbu
https://weather.o2o.kr/today/gyeonggi/anyang
https://weather.o2o.kr/today/gyeonggi/bucheon
https://weather.o2o.kr/today/gyeonggi/gwangmyeong
https://weather.o2o.kr/today/gyeonggi/pyeongtaek
https://weather.o2o.kr/today/gyeonggi/dongducheon
https://weather.o2o.kr/today/gyeonggi/ansan
https://weather.o2o.kr/today/gyeonggi/goyang
https://weather.o2o.kr/today/gyeonggi/gwacheon
https://weather.o2o.kr/today/gyeonggi/guri
https://weather.o2o.kr/today/gyeonggi/namyangju
https://weather.o2o.kr/today/gyeonggi/osan
https://weather.o2o.kr/today/gyeonggi/siheung
https://weather.o2o.kr/today/gyeonggi/gunpo
https://weather.o2o.kr/today/gyeonggi/uiwang
https://weather.o2o.kr/today/gyeonggi/hanam
https://weather.o2o.kr/today/gyeonggi/yongin
https://weather.o2o.kr/today/gyeonggi/paju
https://weather.o2o.kr/today/gyeonggi/icheon
https://weather.o2o.kr/today/gyeonggi/anseong
https://weather.o2o.kr/today/gyeonggi/gimpo
https://weather.o2o.kr/today/gyeonggi/hwaseong
https://weather.o2o.kr/today/gyeonggi/gwangju
https://weather.o2o.kr/today/gyeonggi/yangju
https://weather.o2o.kr/today/gyeonggi/pocheon
https://weather.o2o.kr/today/gyeonggi/yeoju
https://weather.o2o.kr/today/gyeonggi/yeoncheon
https://weather.o2o.kr/today/gyeonggi/gapyeong
https://weather.o2o.kr/today/gyeonggi/yangpyeong
https://weather.o2o.kr/today/chungbuk/cheongju
https://weather.o2o.kr/today/chungbuk/chungju
https://weather.o2o.kr/today/chungbuk/jecheon
https://weather.o2o.kr/today/chungbuk/boeun
https://weather.o2o.kr/today/chungbuk/okcheon
https://weather.o2o.kr/today/chungbuk/yeongdong
https://weather.o2o.kr/today/chungbuk/jeungpyeong
https://weather.o2o.kr/today/chungbuk/jincheon
https://weather.o2o.kr/today/chungbuk/goesan
https://weather.o2o.kr/today/chungbuk/eumseong
https://weather.o2o.kr/today/chungbuk/danyang
https://weather.o2o.kr/today/chungnam/cheonan
https://weather.o2o.kr/today/chungnam/gongju
https://weather.o2o.kr/today/chungnam/boryeong
https://weather.o2o.kr/today/chungnam/asan
https://weather.o2o.kr/today/chungnam/seosan
https://weather.o2o.kr/today/chungnam/nonsan
https://weather.o2o.kr/today/chungnam/gyeryong
https://weather.o2o.kr/today/chungnam/dangjin
https://weather.o2o.kr/today/chungnam/geumsan
https://weather.o2o.kr/today/chungnam/buyeo
https://weather.o2o.kr/today/chungnam/seocheon
https://weather.o2o.kr/today/chungnam/cheongyang
https://weather.o2o.kr/today/chungnam/hongseong
https://weather.o2o.kr/today/chungnam/yesan
https://weather.o2o.kr/today/chungnam/taean
https://weather.o2o.kr/today/gyeongbuk/pohang
https://weather.o2o.kr/today/gyeongbuk/gyeongju
https://weather.o2o.kr/today/gyeongbuk/gimcheon
https://weather.o2o.kr/today/gyeongbuk/andong
https://weather.o2o.kr/today/gyeongbuk/gumi
https://weather.o2o.kr/today/gyeongbuk/yeongju
https://weather.o2o.kr/today/gyeongbuk/yeongcheon
https://weather.o2o.kr/today/gyeongbuk/sangju
https://weather.o2o.kr/today/gyeongbuk/mungyeong
https://weather.o2o.kr/today/gyeongbuk/gyeongsan
https://weather.o2o.kr/today/gyeongbuk/uiseong
https://weather.o2o.kr/today/gyeongbuk/cheongsong
https://weather.o2o.kr/today/gyeongbuk/yeongyang
https://weather.o2o.kr/today/gyeongbuk/yeongdeok
https://weather.o2o.kr/today/gyeongbuk/cheongdo
https://weather.o2o.kr/today/gyeongbuk/goryeong
https://weather.o2o.kr/today/gyeongbuk/seongju
https://weather.o2o.kr/today/gyeongbuk/chilgok
https://weather.o2o.kr/today/gyeongbuk/yecheon
https://weather.o2o.kr/today/gyeongbuk/bonghwa
https://weather.o2o.kr/today/gyeongbuk/uljin
https://weather.o2o.kr/today/gyeongbuk/ulleung
https://weather.o2o.kr/today/gyeongnam/changwon
https://weather.o2o.kr/today/gyeongnam/jinju
https://weather.o2o.kr/today/gyeongnam/tongyeong
https://weather.o2o.kr/today/gyeongnam/sacheon
https://weather.o2o.kr/today/gyeongnam/gimhae
https://weather.o2o.kr/today/gyeongnam/miryang
https://weather.o2o.kr/today/gyeongnam/geoje
https://weather.o2o.kr/today/gyeongnam/yangsan
https://weather.o2o.kr/today/gyeongnam/uiryeong
https://weather.o2o.kr/today/gyeongnam/haman
https://weather.o2o.kr/today/gyeongnam/changnyeong
https://weather.o2o.kr/today/gyeongnam/goseong
https://weather.o2o.kr/today/gyeongnam/namhae
https://weather.o2o.kr/today/gyeongnam/hadong
https://weather.o2o.kr/today/gyeongnam/sancheong
https://weather.o2o.kr/today/gyeongnam/hamyang
https://weather.o2o.kr/today/gyeongnam/geochang
https://weather.o2o.kr/today/gyeongnam/hapcheon
https://weather.o2o.kr/today/jeju/jeju
https://weather.o2o.kr/today/jeju/seogwipo
https://weather.o2o.kr/today/gangwon/chuncheon
https://weather.o2o.kr/today/gangwon/wonju
https://weather.o2o.kr/today/gangwon/gangneung
https://weather.o2o.kr/today/gangwon/donghae
https://weather.o2o.kr/today/gangwon/taebaek
https://weather.o2o.kr/today/gangwon/sokcho
https://weather.o2o.kr/today/gangwon/samcheok
https://weather.o2o.kr/today/gangwon/hongcheon
https://weather.o2o.kr/today/gangwon/hoengseong
https://weather.o2o.kr/today/gangwon/yeongwol
https://weather.o2o.kr/today/gangwon/pyeongchang
https://weather.o2o.kr/today/gangwon/jeongseon
https://weather.o2o.kr/today/gangwon/cheorwon
https://weather.o2o.kr/today/gangwon/hwacheon
https://weather.o2o.kr/today/gangwon/yanggu
https://weather.o2o.kr/today/gangwon/inje
https://weather.o2o.kr/today/gangwon/goseong
https://weather.o2o.kr/today/gangwon/yangyang
https://weather.o2o.kr/today/jeonbuk/jeonju
https://weather.o2o.kr/today/jeonbuk/gunsan
https://weather.o2o.kr/today/jeonbuk/iksan
https://weather.o2o.kr/today/jeonbuk/jeongeup
https://weather.o2o.kr/today/jeonbuk/namwon
https://weather.o2o.kr/today/jeonbuk/gimje
https://weather.o2o.kr/today/jeonbuk/wanju
https://weather.o2o.kr/today/jeonbuk/jinan
https://weather.o2o.kr/today/jeonbuk/muju
https://weather.o2o.kr/today/jeonbuk/jangsu
https://weather.o2o.kr/today/jeonbuk/imsil
https://weather.o2o.kr/today/jeonbuk/sunchang
https://weather.o2o.kr/today/jeonbuk/gochang
https://weather.o2o.kr/today/jeonbuk/buan
# 3) 기타 페이지 — 1개
https://weather.o2o.kr/gak
# 4) 내일 날씨 페이지 (10/23 배포) — 269개
https://weather.o2o.kr/tomorrow/seoul/jongno
https://weather.o2o.kr/tomorrow/seoul/jung
https://weather.o2o.kr/tomorrow/seoul/yongsan
https://weather.o2o.kr/tomorrow/seoul/seongdong
https://weather.o2o.kr/tomorrow/seoul/gwangjin
https://weather.o2o.kr/tomorrow/seoul/dongdaemun
https://weather.o2o.kr/tomorrow/seoul/jungnang
https://weather.o2o.kr/tomorrow/seoul/seongbuk
https://weather.o2o.kr/tomorrow/seoul/gangbuk
https://weather.o2o.kr/tomorrow/seoul/dobong
https://weather.o2o.kr/tomorrow/seoul/nowon
https://weather.o2o.kr/tomorrow/seoul/eunpyeong
https://weather.o2o.kr/tomorrow/seoul/seodaemun
https://weather.o2o.kr/tomorrow/seoul/mapo
https://weather.o2o.kr/tomorrow/seoul/yangcheon
https://weather.o2o.kr/tomorrow/seoul/gangseo
https://weather.o2o.kr/tomorrow/seoul/guro
https://weather.o2o.kr/tomorrow/seoul/geumcheon
https://weather.o2o.kr/tomorrow/seoul/yeongdeungpo
https://weather.o2o.kr/tomorrow/seoul/dongjak
https://weather.o2o.kr/tomorrow/seoul/gwanak
https://weather.o2o.kr/tomorrow/seoul/seocho
https://weather.o2o.kr/tomorrow/seoul/gangnam
https://weather.o2o.kr/tomorrow/seoul/songpa
https://weather.o2o.kr/tomorrow/seoul/gangdong
https://weather.o2o.kr/tomorrow/jeonnam/mokpo
https://weather.o2o.kr/tomorrow/jeonnam/yeosu
https://weather.o2o.kr/tomorrow/jeonnam/suncheon
https://weather.o2o.kr/tomorrow/jeonnam/naju
https://weather.o2o.kr/tomorrow/jeonnam/gwangyang
https://weather.o2o.kr/tomorrow/gwangju/dong
https://weather.o2o.kr/tomorrow/gwangju/seo
https://weather.o2o.kr/tomorrow/gwangju/nam
https://weather.o2o.kr/tomorrow/gwangju/buk
https://weather.o2o.kr/tomorrow/gwangju/gwangsan
https://weather.o2o.kr/tomorrow/jeonnam/damyang
https://weather.o2o.kr/tomorrow/jeonnam/gokseong
https://weather.o2o.kr/tomorrow/jeonnam/gurye
https://weather.o2o.kr/tomorrow/jeonnam/goheung
https://weather.o2o.kr/tomorrow/jeonnam/boseong
https://weather.o2o.kr/tomorrow/jeonnam/hwasun
https://weather.o2o.kr/tomorrow/jeonnam/jangheung
https://weather.o2o.kr/tomorrow/jeonnam/gangjin
https://weather.o2o.kr/tomorrow/jeonnam/haenam
https://weather.o2o.kr/tomorrow/jeonnam/yeongam
https://weather.o2o.kr/tomorrow/jeonnam/muan
https://weather.o2o.kr/tomorrow/jeonnam/hampyeong
https://weather.o2o.kr/tomorrow/jeonnam/yeonggwang
https://weather.o2o.kr/tomorrow/jeonnam/jangseong
https://weather.o2o.kr/tomorrow/jeonnam/wando
https://weather.o2o.kr/tomorrow/jeonnam/jindo
https://weather.o2o.kr/tomorrow/jeonnam/sinan
https://weather.o2o.kr/tomorrow/busan/jung
https://weather.o2o.kr/tomorrow/busan/seo
https://weather.o2o.kr/tomorrow/busan/dong
https://weather.o2o.kr/tomorrow/busan/yeongdo
https://weather.o2o.kr/tomorrow/busan/busanjin
https://weather.o2o.kr/tomorrow/busan/dongnae
https://weather.o2o.kr/tomorrow/busan/nam
https://weather.o2o.kr/tomorrow/busan/buk
https://weather.o2o.kr/tomorrow/busan/haeundae
https://weather.o2o.kr/tomorrow/busan/saha
https://weather.o2o.kr/tomorrow/busan/geumjeong
https://weather.o2o.kr/tomorrow/busan/gangseo
https://weather.o2o.kr/tomorrow/busan/yeonje
https://weather.o2o.kr/tomorrow/busan/suyeong
https://weather.o2o.kr/tomorrow/busan/sasang
https://weather.o2o.kr/tomorrow/busan/gijang
https://weather.o2o.kr/tomorrow/daegu/jung
https://weather.o2o.kr/tomorrow/daegu/dong
https://weather.o2o.kr/tomorrow/daegu/seo
https://weather.o2o.kr/tomorrow/daegu/nam
https://weather.o2o.kr/tomorrow/daegu/buk
https://weather.o2o.kr/tomorrow/daegu/suseong
https://weather.o2o.kr/tomorrow/daegu/dalseo
https://weather.o2o.kr/tomorrow/daegu/dalseong
https://weather.o2o.kr/tomorrow/daegu/gunwi
https://weather.o2o.kr/tomorrow/incheon/jemulpo
https://weather.o2o.kr/tomorrow/incheon/yeongjong
https://weather.o2o.kr/tomorrow/incheon/michuhol
https://weather.o2o.kr/tomorrow/incheon/yeonsu
https://weather.o2o.kr/tomorrow/incheon/namdong
https://weather.o2o.kr/tomorrow/incheon/bupyeong
https://weather.o2o.kr/tomorrow/incheon/gyeyang
https://weather.o2o.kr/tomorrow/incheon/seohae
https://weather.o2o.kr/tomorrow/incheon/geomdan
https://weather.o2o.kr/tomorrow/incheon/ganghwa
https://weather.o2o.kr/tomorrow/incheon/ongjin
https://weather.o2o.kr/tomorrow/daejeon/dong
https://weather.o2o.kr/tomorrow/daejeon/jung
https://weather.o2o.kr/tomorrow/daejeon/seo
https://weather.o2o.kr/tomorrow/daejeon/yuseong
https://weather.o2o.kr/tomorrow/daejeon/daedeok
https://weather.o2o.kr/tomorrow/ulsan/jung
https://weather.o2o.kr/tomorrow/ulsan/nam
https://weather.o2o.kr/tomorrow/ulsan/dong
https://weather.o2o.kr/tomorrow/ulsan/buk
https://weather.o2o.kr/tomorrow/ulsan/ulju
https://weather.o2o.kr/tomorrow/sejong/sejong
https://weather.o2o.kr/tomorrow/gyeonggi/suwon
https://weather.o2o.kr/tomorrow/gyeonggi/suwon/jangan
https://weather.o2o.kr/tomorrow/gyeonggi/suwon/gwonseon
https://weather.o2o.kr/tomorrow/gyeonggi/suwon/paldal
https://weather.o2o.kr/tomorrow/gyeonggi/suwon/yeongtong
https://weather.o2o.kr/tomorrow/gyeonggi/seongnam
https://weather.o2o.kr/tomorrow/gyeonggi/seongnam/sujeong
https://weather.o2o.kr/tomorrow/gyeonggi/seongnam/jungwon
https://weather.o2o.kr/tomorrow/gyeonggi/seongnam/bundang
https://weather.o2o.kr/tomorrow/gyeonggi/uijeongbu
https://weather.o2o.kr/tomorrow/gyeonggi/anyang
https://weather.o2o.kr/tomorrow/gyeonggi/anyang/manan
https://weather.o2o.kr/tomorrow/gyeonggi/anyang/dongan
https://weather.o2o.kr/tomorrow/gyeonggi/bucheon
https://weather.o2o.kr/tomorrow/gyeonggi/bucheon/wonmi
https://weather.o2o.kr/tomorrow/gyeonggi/bucheon/sosa
https://weather.o2o.kr/tomorrow/gyeonggi/bucheon/ojeong
https://weather.o2o.kr/tomorrow/gyeonggi/gwangmyeong
https://weather.o2o.kr/tomorrow/gyeonggi/pyeongtaek
https://weather.o2o.kr/tomorrow/gyeonggi/dongducheon
https://weather.o2o.kr/tomorrow/gyeonggi/ansan
https://weather.o2o.kr/tomorrow/gyeonggi/ansan/sangnok
https://weather.o2o.kr/tomorrow/gyeonggi/ansan/danwon
https://weather.o2o.kr/tomorrow/gyeonggi/goyang
https://weather.o2o.kr/tomorrow/gyeonggi/goyang/deogyang
https://weather.o2o.kr/tomorrow/gyeonggi/goyang/ilsandong
https://weather.o2o.kr/tomorrow/gyeonggi/goyang/ilsanseo
https://weather.o2o.kr/tomorrow/gyeonggi/gwacheon
https://weather.o2o.kr/tomorrow/gyeonggi/guri
https://weather.o2o.kr/tomorrow/gyeonggi/namyangju
https://weather.o2o.kr/tomorrow/gyeonggi/osan
https://weather.o2o.kr/tomorrow/gyeonggi/siheung
https://weather.o2o.kr/tomorrow/gyeonggi/gunpo
https://weather.o2o.kr/tomorrow/gyeonggi/uiwang
https://weather.o2o.kr/tomorrow/gyeonggi/hanam
https://weather.o2o.kr/tomorrow/gyeonggi/yongin
https://weather.o2o.kr/tomorrow/gyeonggi/yongin/cheoin
https://weather.o2o.kr/tomorrow/gyeonggi/yongin/giheung
https://weather.o2o.kr/tomorrow/gyeonggi/yongin/suji
https://weather.o2o.kr/tomorrow/gyeonggi/paju
https://weather.o2o.kr/tomorrow/gyeonggi/icheon
https://weather.o2o.kr/tomorrow/gyeonggi/anseong
https://weather.o2o.kr/tomorrow/gyeonggi/gimpo
https://weather.o2o.kr/tomorrow/gyeonggi/hwaseong
https://weather.o2o.kr/tomorrow/gyeonggi/hwaseong/manse
https://weather.o2o.kr/tomorrow/gyeonggi/hwaseong/hyohaeng
https://weather.o2o.kr/tomorrow/gyeonggi/hwaseong/byeongjeom
https://weather.o2o.kr/tomorrow/gyeonggi/hwaseong/dongtan
https://weather.o2o.kr/tomorrow/gyeonggi/gwangju
https://weather.o2o.kr/tomorrow/gyeonggi/yangju
https://weather.o2o.kr/tomorrow/gyeonggi/pocheon
https://weather.o2o.kr/tomorrow/gyeonggi/yeoju
https://weather.o2o.kr/tomorrow/gyeonggi/yeoncheon
https://weather.o2o.kr/tomorrow/gyeonggi/gapyeong
https://weather.o2o.kr/tomorrow/gyeonggi/yangpyeong
https://weather.o2o.kr/tomorrow/chungbuk/cheongju
https://weather.o2o.kr/tomorrow/chungbuk/cheongju/sangdang
https://weather.o2o.kr/tomorrow/chungbuk/cheongju/seowon
https://weather.o2o.kr/tomorrow/chungbuk/cheongju/heungdeok
https://weather.o2o.kr/tomorrow/chungbuk/cheongju/cheongwon
https://weather.o2o.kr/tomorrow/chungbuk/chungju
https://weather.o2o.kr/tomorrow/chungbuk/jecheon
https://weather.o2o.kr/tomorrow/chungbuk/boeun
https://weather.o2o.kr/tomorrow/chungbuk/okcheon
https://weather.o2o.kr/tomorrow/chungbuk/yeongdong
https://weather.o2o.kr/tomorrow/chungbuk/jeungpyeong
https://weather.o2o.kr/tomorrow/chungbuk/jincheon
https://weather.o2o.kr/tomorrow/chungbuk/goesan
https://weather.o2o.kr/tomorrow/chungbuk/eumseong
https://weather.o2o.kr/tomorrow/chungbuk/danyang
https://weather.o2o.kr/tomorrow/chungnam/cheonan
https://weather.o2o.kr/tomorrow/chungnam/cheonan/dongnam
https://weather.o2o.kr/tomorrow/chungnam/cheonan/seobuk
https://weather.o2o.kr/tomorrow/chungnam/gongju
https://weather.o2o.kr/tomorrow/chungnam/boryeong
https://weather.o2o.kr/tomorrow/chungnam/asan
https://weather.o2o.kr/tomorrow/chungnam/seosan
https://weather.o2o.kr/tomorrow/chungnam/nonsan
https://weather.o2o.kr/tomorrow/chungnam/gyeryong
https://weather.o2o.kr/tomorrow/chungnam/dangjin
https://weather.o2o.kr/tomorrow/chungnam/geumsan
https://weather.o2o.kr/tomorrow/chungnam/buyeo
https://weather.o2o.kr/tomorrow/chungnam/seocheon
https://weather.o2o.kr/tomorrow/chungnam/cheongyang
https://weather.o2o.kr/tomorrow/chungnam/hongseong
https://weather.o2o.kr/tomorrow/chungnam/yesan
https://weather.o2o.kr/tomorrow/chungnam/taean
https://weather.o2o.kr/tomorrow/gyeongbuk/pohang
https://weather.o2o.kr/tomorrow/gyeongbuk/pohang/nam
https://weather.o2o.kr/tomorrow/gyeongbuk/pohang/buk
https://weather.o2o.kr/tomorrow/gyeongbuk/gyeongju
https://weather.o2o.kr/tomorrow/gyeongbuk/gimcheon
https://weather.o2o.kr/tomorrow/gyeongbuk/andong
https://weather.o2o.kr/tomorrow/gyeongbuk/gumi
https://weather.o2o.kr/tomorrow/gyeongbuk/yeongju
https://weather.o2o.kr/tomorrow/gyeongbuk/yeongcheon
https://weather.o2o.kr/tomorrow/gyeongbuk/sangju
https://weather.o2o.kr/tomorrow/gyeongbuk/mungyeong
https://weather.o2o.kr/tomorrow/gyeongbuk/gyeongsan
https://weather.o2o.kr/tomorrow/gyeongbuk/uiseong
https://weather.o2o.kr/tomorrow/gyeongbuk/cheongsong
https://weather.o2o.kr/tomorrow/gyeongbuk/yeongyang
https://weather.o2o.kr/tomorrow/gyeongbuk/yeongdeok
https://weather.o2o.kr/tomorrow/gyeongbuk/cheongdo
https://weather.o2o.kr/tomorrow/gyeongbuk/goryeong
https://weather.o2o.kr/tomorrow/gyeongbuk/seongju
https://weather.o2o.kr/tomorrow/gyeongbuk/chilgok
https://weather.o2o.kr/tomorrow/gyeongbuk/yecheon
https://weather.o2o.kr/tomorrow/gyeongbuk/bonghwa
https://weather.o2o.kr/tomorrow/gyeongbuk/uljin
https://weather.o2o.kr/tomorrow/gyeongbuk/ulleung
https://weather.o2o.kr/tomorrow/gyeongnam/changwon
https://weather.o2o.kr/tomorrow/gyeongnam/changwon/uichang
https://weather.o2o.kr/tomorrow/gyeongnam/changwon/seongsan
https://weather.o2o.kr/tomorrow/gyeongnam/changwon/masanhappo
https://weather.o2o.kr/tomorrow/gyeongnam/changwon/masanhoewon
https://weather.o2o.kr/tomorrow/gyeongnam/changwon/jinhae
https://weather.o2o.kr/tomorrow/gyeongnam/jinju
https://weather.o2o.kr/tomorrow/gyeongnam/tongyeong
https://weather.o2o.kr/tomorrow/gyeongnam/sacheon
https://weather.o2o.kr/tomorrow/gyeongnam/gimhae
https://weather.o2o.kr/tomorrow/gyeongnam/miryang
https://weather.o2o.kr/tomorrow/gyeongnam/geoje
https://weather.o2o.kr/tomorrow/gyeongnam/yangsan
https://weather.o2o.kr/tomorrow/gyeongnam/uiryeong
https://weather.o2o.kr/tomorrow/gyeongnam/haman
https://weather.o2o.kr/tomorrow/gyeongnam/changnyeong
https://weather.o2o.kr/tomorrow/gyeongnam/goseong
https://weather.o2o.kr/tomorrow/gyeongnam/namhae
https://weather.o2o.kr/tomorrow/gyeongnam/hadong
https://weather.o2o.kr/tomorrow/gyeongnam/sancheong
https://weather.o2o.kr/tomorrow/gyeongnam/hamyang
https://weather.o2o.kr/tomorrow/gyeongnam/geochang
https://weather.o2o.kr/tomorrow/gyeongnam/hapcheon
https://weather.o2o.kr/tomorrow/jeju/jeju
https://weather.o2o.kr/tomorrow/jeju/seogwipo
https://weather.o2o.kr/tomorrow/gangwon/chuncheon
https://weather.o2o.kr/tomorrow/gangwon/wonju
https://weather.o2o.kr/tomorrow/gangwon/gangneung
https://weather.o2o.kr/tomorrow/gangwon/donghae
https://weather.o2o.kr/tomorrow/gangwon/taebaek
https://weather.o2o.kr/tomorrow/gangwon/sokcho
https://weather.o2o.kr/tomorrow/gangwon/samcheok
https://weather.o2o.kr/tomorrow/gangwon/hongcheon
https://weather.o2o.kr/tomorrow/gangwon/hoengseong
https://weather.o2o.kr/tomorrow/gangwon/yeongwol
https://weather.o2o.kr/tomorrow/gangwon/pyeongchang
https://weather.o2o.kr/tomorrow/gangwon/jeongseon
https://weather.o2o.kr/tomorrow/gangwon/cheorwon
https://weather.o2o.kr/tomorrow/gangwon/hwacheon
https://weather.o2o.kr/tomorrow/gangwon/yanggu
https://weather.o2o.kr/tomorrow/gangwon/inje
https://weather.o2o.kr/tomorrow/gangwon/goseong
https://weather.o2o.kr/tomorrow/gangwon/yangyang
https://weather.o2o.kr/tomorrow/jeonbuk/jeonju
https://weather.o2o.kr/tomorrow/jeonbuk/jeonju/wansan
https://weather.o2o.kr/tomorrow/jeonbuk/jeonju/deokjin
https://weather.o2o.kr/tomorrow/jeonbuk/gunsan
https://weather.o2o.kr/tomorrow/jeonbuk/iksan
https://weather.o2o.kr/tomorrow/jeonbuk/jeongeup
https://weather.o2o.kr/tomorrow/jeonbuk/namwon
https://weather.o2o.kr/tomorrow/jeonbuk/gimje
https://weather.o2o.kr/tomorrow/jeonbuk/wanju
https://weather.o2o.kr/tomorrow/jeonbuk/jinan
https://weather.o2o.kr/tomorrow/jeonbuk/muju
https://weather.o2o.kr/tomorrow/jeonbuk/jangsu
https://weather.o2o.kr/tomorrow/jeonbuk/imsil
https://weather.o2o.kr/tomorrow/jeonbuk/sunchang
https://weather.o2o.kr/tomorrow/jeonbuk/gochang
https://weather.o2o.kr/tomorrow/jeonbuk/buan
+4
View File
@@ -55,8 +55,12 @@ GA4 태그(`gtag.js`, 측정 ID `G-D378J4X373`)를 `index.html`에 심고, 화
| `today_icon` | 오늘 탭 아이콘 줄에서 아이콘을 누름 | `icon`(`tarot`·`saju`·`game`·`foliage`·`shorts`·`myGak`·`talk`) | `todayIcons.tsx` `TodayIcons` |
| `saju_input` | 날씨 사주 생년월일을 넣음 (생년월일 값은 보내지 않음) | `with_time` | `SajuPage.tsx` `BirthForm` |
| `saju_view` | 날씨 사주 결과가 뜸 | `scene`(내 기운 이름), `score` | `SajuPage.tsx` `Reading` |
| `game_start` | 구름 합치기 한 판의 첫 그림을 떨어뜨림 (페이지만 열고 안 한 사람과 구분) | `again`(다시 하기로 시작), `logged_in`, `wind_ms`(오늘 우리 구 풍속) | `CloudMergePage.tsx` `onUp` |
| `game_round` | 구름 합치기 라운드를 깸 | `round`(깬 라운드), `score`(그때 총점), `logged_in`(각을 받는지) | `CloudMergePage.tsx` `onScore` |
| `game_over` | 구름 합치기가 넘쳐서 끝남 | `round`(끝난 라운드), `score`, `best`(최고 기록 갱신), `drops`(떨어뜨린 횟수) | `CloudMergePage.tsx` `onOver` |
- 공유창에서 사용자가 취소하면 `share`를 보내지 않는다.
- 구름 합치기 게임 방법 창은 `sheet_open`(`sheet: 'gameHelp'`)으로 잡혀 따로 보내지 않는다.
- 토스판은 로그인이 없어 `login` `toss`는 나가지 않는다. `id`·`sign_up`도 지금 화면에 아이디 가입이 없어 나가지 않는다.
- 점수 근거·댓글창 열기처럼 창으로 여는 기능은 따로 이벤트를 두지 않고 `sheet_open`의 `sheet`로 나눠 본다.
- `region_change`의 `location`은 처음 온 사람의 자동 위치 맞춤도 포함한다.
+6
View File
@@ -109,6 +109,9 @@ td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
<li><span class="tag t-fact">사실</span> 반대로 Metricool은 7억 건 분석에서 "모든 팔로워 구간에서 도달은 릴스가 1위"라고 했습니다. [3] 두 조사는 '조회수'와 '도달'을 다르게 세기 때문에 결론이 엇갈립니다. <b>작은 계정에서 어느 쪽이 더 멀리 가는지는 데이터로 확정되지 않습니다.</b></li>
<li><span class="tag t-fact">사실</span> 인스타그램 대표(Mosseri)는 추천의 핵심 신호를 시청 시간·좋아요·<b>보내기(DM 공유)</b>로 꼽았고, 팔로우하지 않은 사람에게 퍼질 때는 보내기가 더 중요하다고 했습니다. [4]</li>
<li><span class="tag t-fact">사실</span> 카드뉴스에 음악을 넣으면 피드뿐 아니라 릴스 탭에도 노출될 수 있습니다(Mosseri, 2026-06). [5]</li>
<li><span class="tag t-fact">사실</span> 인스타그램 공식 크리에이터 계정과 인스타그램 대표 Adam Mosseri가, 음악을 넣은 캐러셀·사진은 릴스 탭에 뜰 수 있게 된다고 했습니다(2024-10 보도). [30][31]</li>
<li><span class="tag t-fact">사실</span> 다만 Mosseri는 "음악이 있다고 밀어주지는 않는다"고도 했습니다. 노출이 느는 건 릴스 탭이라는 자리에 나갈 수 있게 돼서입니다. [32]</li>
<li><span class="tag t-fact">사실</span> 음악 없는 캐러셀은 릴스 탭에 못 나갑니다. [32] 그래서 지금 음악 없이 자동 게시하는 우리 카드가 릴스에 안 뜨는 게 맞습니다.</li>
<li><span class="tag t-fact">사실</span> 한국 인스타 월 이용자 약 2,800만 명. [6] 이용자의 53.5%가 DM을 "콘텐츠 공유"에 씁니다. [7] 숏폼 이용자 중 릴스를 주로 쓰는 사람은 49.3%(1위 유튜브 쇼츠 83.4%). [8] 10대가 자주 쓰는 동영상 플랫폼 1위는 릴스(37.2%)입니다. [9]</li>
</ul>
@@ -334,6 +337,9 @@ td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
<li>Buffer, How often to post on Instagram (2025-08-13) https://buffer.com/library/how-often-to-post-on-instagram/</li>
<li>매일신문, 기온별 옷차림 (2026-10) https://www.imaeil.com/page/view/2026100107292614283</li>
<li>Meta, Instagram Platform Content Publishing https://developers.facebook.com/docs/instagram-platform/content-publishing/</li>
<li>Social Media Today, IG Chief Recommends Posting Carousels To Improve Reach (2024-10-17) https://www.socialmediatoday.com/news/ig-chief-recommends-posting-carousels-improve-reach/730232/</li>
<li>@instagramcreators 틱톡, Mosseri 캐러셀 도달 영상 (게시일 확인 못 함) https://www.tiktok.com/@instagramcreators/video/7436051560481934638</li>
<li>Kontentino, Does adding music to an Instagram post increase reach? (2026-10-05, Mosseri 2026-08 Q&A 인용) https://www.kontentino.com/q-and-a/add-music-to-instagram-post-reach/</li>
</ol>
<p class="note">찾지 못한 것: 한국만 따로 본 형식별 성과 비교, 한국 카드뉴스 저장률 조사, 인스타 '오늘의 운세' 계정 성과, 날씨 옷차림 계정 팔로워 수.</p>
</div>
+2
View File
@@ -6,5 +6,7 @@ export default defineConfig({
brand: { primaryColor: '#ff7a45' },
permissions: [{ name: 'geolocation', access: 'access' }],
navigationBar: { withBackButton: true, withHomeButton: true },
// 기본값은 자동재생·화면 안 재생을 막아 쇼츠(유튜브)가 재생되지 않는다
webView: { allowsInlineMediaPlayback: true, mediaPlaybackRequiresUserAction: false },
webBundleDir: 'dist-toss',
})
+2 -3
View File
@@ -2,7 +2,6 @@ import { useCallback, useEffect, useMemo, useState, type ReactNode } from 'react
import { NavLink, Outlet, useLocation, useNavigationType } from 'react-router'
import { useIsFetching, useQuery, useQueryClient } from '@tanstack/react-query'
import { authConfigOptions, getSeasonWeekOptions } from '@nalssigak/shared/api/client/@tanstack/react-query.gen'
import { IS_TOSS } from '../lib/platform'
import { cx } from '../lib/utils'
import { kindOfHour, kst, seasonOf, type TimeKind } from '@nalssigak/shared/lib'
import './b.css'
@@ -51,7 +50,7 @@ function TopBar() {
const { me, mePending } = useAuth()
const queryClient = useQueryClient()
const tab = TABS.find((t) => t.to !== '/' && pathname.startsWith(t.to))
const loggedOut = !IS_TOSS && !mePending && !me
const loggedOut = !mePending && !me
// 로그인 창을 처음 열 때 버벅이지 않게 구글 로그인 준비물을 미리 받아 둔다
useEffect(() => {
@@ -73,7 +72,7 @@ function TopBar() {
<PinIcon className="size-3.5 shrink-0" />
{locateStatus === 'locating' ? <Skel className="w-[72px]" /> : <span className="truncate whitespace-nowrap"><span className="max-[399px]:hidden">{region.name}</span><span className="min-[400px]:hidden">{region.name.split(' ').at(-1)}</span></span>}
</button>
{IS_TOSS ? null : mePending ? (
{mePending ? (
<Skel shape className="size-9 shrink-0 rounded-full" />
) : me ? (
<button type="button" onClick={() => open({ type: 'me' })} aria-label={`내 정보, ${me.nickname}`} className="relative shrink-0 cursor-pointer rounded-full shadow-[0_6px_12px_rgb(40_48_74/0.12)]">
+10
View File
@@ -7,6 +7,7 @@ import { gameRound, gameStart } from '@nalssigak/shared/api/client/sdk.gen'
import type { ResLevel } from '@nalssigak/shared/api/client/types.gen'
import { kst } from '@nalssigak/shared/lib'
import { slotAt } from '@nalssigak/shared/lib/weatherText'
import { track } from '../lib/analytics'
import { cx } from '../lib/utils'
import { useAuth } from './authContext'
import { createGame, DROP_Y, H, LEVELS, LINE_Y, loadBest, randomLevel, roundTarget, saveBest, W, windDir, type Game } from './cloudMerge'
@@ -106,6 +107,8 @@ export function CloudMergePage() {
const [next, setNext] = useState(randomLevel)
const nextRef = useRef(next)
const coolRef = useRef(0)
// 이번 판에 떨어뜨린 횟수: 0 이면 아직 시작 전(첫 그림에서 game_start)
const dropsRef = useRef(0)
const [score, setScore] = useState(0)
const [best, setBest] = useState(loadBest)
const [over, setOver] = useState(false)
@@ -124,6 +127,8 @@ export function CloudMergePage() {
canvas.height = H * ratio
ctx.scale(ratio, ratio)
let roundNo = 1
let total = 0
dropsRef.current = 0
let base = 0
let flashTimer: ReturnType<typeof setTimeout> | undefined
let ticket: Promise<string | undefined> = Promise.resolve(undefined)
@@ -154,6 +159,7 @@ export function CloudMergePage() {
}
const game = createGame(windMs, dir, {
onScore: (s) => {
total = s
setScore(s)
if (s - base >= roundTarget(roundNo)) {
roundNo += 1
@@ -164,6 +170,7 @@ export function CloudMergePage() {
clearTimeout(flashTimer)
flashTimer = setTimeout(() => setFlash(false), 1400)
void claim(roundNo - 1)
track('game_round', { round: roundNo - 1, score: s, logged_in: loggedIn })
}
setRoundGot(s - base)
if (s > loadBest()) {
@@ -173,6 +180,7 @@ export function CloudMergePage() {
},
onOver: () => {
setOver(true)
track('game_over', { round: roundNo, score: total, best: total > 0 && total >= loadBest(), drops: dropsRef.current })
settle()
},
})
@@ -205,6 +213,8 @@ export function CloudMergePage() {
const onUp = (e: PointerEvent<HTMLCanvasElement>) => {
const game = gameRef.current
if (!game || over || performance.now() < coolRef.current) return
if (dropsRef.current === 0) track('game_start', { again: play > 0, logged_in: loggedIn, wind_ms: windMs })
dropsRef.current += 1
game.drop(nextRef.current, toX(e))
coolRef.current = performance.now() + 450
nextRef.current = randomLevel()
+50 -43
View File
@@ -20,6 +20,7 @@ import {
listRegionsOptions,
meQueryKey,
reportCommentMutation,
tossMutation,
unblockMutation,
unlikeCommentMutation,
updateMeMutation,
@@ -27,7 +28,7 @@ import {
} from '@nalssigak/shared/api/client/@tanstack/react-query.gen'
import { AuthProvider, ReportReason, type CommentData, type Factor, type ResAuth, type ResCommentList, type ResIndexDetail } from '@nalssigak/shared/api/client/types.gen'
import { track } from '../lib/analytics'
import { IS_TOSS, tossShare } from '../lib/platform'
import { IS_TOSS, tossLogin, tossShare } from '../lib/platform'
import { cx } from '../lib/utils'
import { useAuth } from './authContext'
import { ago, articleMeta, AVATAR_COLORS, cardBg, CHARACTERS, dateRange, loadOf, MOODS, shortDay } from '@nalssigak/shared/lib'
@@ -37,8 +38,7 @@ import { InstallSheet } from './installBanner'
import { ARTICLE_CAT, SHEET_CLOSE_MS, SHEET_OPEN_MS } from './lib'
import { MixSheet, MyGakSheet } from './myGak'
import { TarotSheet } from './fortune'
import { LevelCard, LevelSheet, LevelUpSheet, useCloseAndGo, useShareReward } from './level'
import { BIRTH_PLACES, useAccountBirth, useBirth, useSaveBirth } from './sajuBirth'
import { LevelCard, LevelSheet, LevelUpSheet, useShareReward } from './level'
import { ownPage, useRegion } from './regionContext'
import { WeatherWhySheet } from './weatherWhy'
import { useSky } from './skyContext'
@@ -49,34 +49,6 @@ import { HeartIcon } from './svg'
import { MyTalks, TalkSheet } from './talk'
import { Avatar, Ic, Skel, StateBox, TAP44, Thumb } from './ui'
/** 내 정보: 계정에 저장한 생년월일 (날씨 사주) */
function MyBirth() {
useAccountBirth()
const birth = useBirth()
const save = useSaveBirth()
const go = useCloseAndGo()
const place = BIRTH_PLACES.find(([k]) => k === birth?.place)?.[1]
return (
<section aria-label="내 생년월일" className="flex items-center gap-2.5 rounded-2xl bg-[#f6f8fc] px-3.5 py-3">
<Ic name="yin_yang" className="size-7 shrink-0" />
<div className="min-w-0 flex-1">
<p className="m-0 text-[13px] font-extrabold">내 생년월일</p>
<p className="m-0 truncate text-xs font-semibold text-(--ink2)">
{birth ? `${birth.y}.${birth.m}.${birth.d}${birth.hour != null ? ` ${birth.hour}시 ${birth.minute ?? 0}분` : ''}${place ? ` · ${place}` : ''}` : '넣어 두면 날씨 사주를 바로 볼 수 있어요'}
</p>
</div>
<button type="button" onClick={() => go('/saju')} className="shrink-0 cursor-pointer text-xs font-extrabold text-(--orange)">
{birth ? '사주 보기' : '넣기'}
</button>
{birth && (
<button type="button" onClick={() => save(null)} className="shrink-0 cursor-pointer text-xs font-extrabold text-(--ink3)">
지우기
</button>
)}
</section>
)
}
export function SheetProvider({ children }: { children: ReactNode }) {
const [state, setState] = useState<SheetState>(null)
// 창이 열려 있는 동안 방문 기록을 하나 쌓아 두어 뒤로 가기가 창만 닫게 한다
@@ -156,14 +128,11 @@ function SheetHost({ state, onClose }: { state: SheetState; onClose: () => void
const root = document.documentElement
const before = root.style.overflow
root.style.overflow = 'hidden'
// 창 안에서 끝까지 밀어도 뒤 페이지로 넘어가지 않게
root.style.overscrollBehavior = 'none'
// 뒤 화면 움직임 멈추기는 페이지 전체 스타일을 다시 계산하게 해서, 창이 다 올라온 뒤에 한다
const pause = setTimeout(() => root.classList.add('b-sheet-open'), SHEET_OPEN_MS)
return () => {
clearTimeout(pause)
root.style.overflow = before
root.style.overscrollBehavior = ''
root.classList.remove('b-sheet-open')
}
}, [isOpen])
@@ -1071,7 +1040,7 @@ function LoginSheet({ onDone, onLoggedIn, why }: { onDone: () => void; onLoggedI
const fail = () => setError('서버에 닿지 못했어요. 잠시 뒤에 다시 해 주세요.')
if (me) return <MeSheet onDone={onDone} />
if (IS_TOSS) return <TossNoLoginSheet onDone={onDone} />
if (IS_TOSS) return <TossLoginSheet onDone={onDone} onLoggedIn={onLoggedIn} />
return (
<Body>
@@ -1095,13 +1064,52 @@ function LoginSheet({ onDone, onLoggedIn, why }: { onDone: () => void; onLoggedI
)
}
/** 토스판은 로그인이 없다. 로그인이 필요한 곳(두 번째 내 각)에서 안내만 한다 */
function TossNoLoginSheet({ onDone }: { onDone: () => void }) {
/** 앱인토스는 토스 로그인만 쓸 수 있다 */
function TossLoginSheet({ onDone, onLoggedIn }: { onDone: () => void; onLoggedIn: () => void }) {
const [error, setError] = useState('')
const [opening, setOpening] = useState(false)
const toss = useMutation(tossMutation())
const pending = opening || toss.isPending
const start = async () => {
setError('')
setOpening(true)
let code: Awaited<ReturnType<typeof tossLogin>>
try {
code = await tossLogin()
} catch (e) {
console.error('[login] toss', e)
setError('토스 로그인을 마치지 못했어요. 한 번 더 눌러 주세요.')
return
} finally {
setOpening(false)
}
toss.mutate(
{ body: { authorization_code: code.authorizationCode, referrer: code.referrer } },
{
onSuccess: (res) => {
if (!res.result?.success || !res.access_token) return setError('토스 로그인을 마치지 못했어요. 한 번 더 눌러 주세요.')
setTokens(res.access_token, res.refresh_token ?? null)
track('login', { method: 'toss' })
onLoggedIn()
},
onError: () => setError('서버에 닿지 못했어요. 잠시 뒤에 다시 해 주세요.'),
},
)
}
return (
<Body className="flex flex-col gap-2.5">
<p className="m-0 text-center text-sm font-semibold text-(--ink2)">토스에서는 내 각을 하나만 만들 수 있어요. 지금 각을 지우고 새로 만들어 주세요.</p>
<button type="button" onClick={onDone} className="cursor-pointer rounded-[14px] bg-(--orange) p-[13px] font-jua text-[17px] text-white shadow-[inset_0_-5px_0_var(--orange-deep)]">
알겠어요
<h3 className="m-0 text-center font-jua text-xl font-normal">날씨각 로그인</h3>
<p className="m-0 text-center text-sm font-semibold text-(--ink2)">로그인하면 동네 이야기를 쓰고 내 각을 저장할 수 있어요</p>
<p className="min-h-5 text-center text-[13px] font-bold text-(--heart)" aria-live="polite">
{error}
</p>
<button type="button" onClick={start} disabled={pending} className="cursor-pointer rounded-[14px] bg-(--orange) p-[13px] font-jua text-[17px] text-white shadow-[inset_0_-5px_0_var(--orange-deep)] disabled:opacity-60">
<Swap labels={['토스로 로그인', '로그인 중…']} at={pending ? 1 : 0} />
</button>
<button type="button" onClick={onDone} className="cursor-pointer rounded-[14px] p-[13px] text-[15px] font-extrabold text-(--ink2)">
나중에 할게요
</button>
</Body>
)
@@ -1233,7 +1241,6 @@ function MeSheet({ onDone }: { onDone: () => void }) {
<p className="m-0 text-center text-sm font-semibold text-(--ink2)">{me.provider === AuthProvider.TOSS ? '토스로 로그인했어요' : me.provider === AuthProvider.GOOGLE ? '구글 계정으로 로그인했어요' : `${me.login_id}(으)로 로그인했어요`}</p>
</div>
<LevelCard />
<MyBirth />
{installable && (
<button type="button" onClick={() => install('menu')} className="cursor-pointer rounded-2xl bg-[#fff4ec] py-2.5 font-jua text-[15.5px] text-(--orange)">
📲 홈 화면에 추가
@@ -1400,12 +1407,12 @@ function RegionSheet({ onDone }: { onDone: () => void }) {
</li>
))}
</ul>
{!IS_TOSS && <p className="mt-4 flex items-center justify-center gap-2 text-[13px] font-bold text-(--ink2)">
<p className="mt-4 flex items-center justify-center gap-2 text-[13px] font-bold text-(--ink2)">
{me ? `${me.nickname}(으)로 로그인했어요` : '로그인하면 좋아요·댓글을 쓸 수 있어요'}
<button type="button" onClick={me ? logout : () => open({ type: 'login' })} className="cursor-pointer font-extrabold text-(--rain)">
{me ? '로그아웃' : '로그인'}
</button>
</p>}
</p>
</Body>
)
}
+1 -1
View File
@@ -174,7 +174,7 @@ export function TarotSheet() {
}
return (
<div className="flex-1 overflow-auto overscroll-contain px-4 pb-2">
<div className="px-4 pb-2">
{!card ? (
<button
type="button"
+10 -14
View File
@@ -12,7 +12,6 @@ import {
import { uploadTalkImage } from '@nalssigak/shared/api/client/sdk.gen'
import { TalkReport, TalkTopic, type TalkData } from '@nalssigak/shared/api/client/types.gen'
import { API_BASE_URL } from '../api/setup'
import { IS_TOSS } from '../lib/platform'
import { cx } from '../lib/utils'
import { useAuth } from './authContext'
import { kst } from '@nalssigak/shared/lib'
@@ -315,17 +314,15 @@ function TalkRow({ t, onGone, compact }: { t: TalkData; onGone?: () => void; com
</div>
{/* 글 메뉴(⋯)는 하트 옆 오른쪽 위에: 아래 줄 끝에 두면 말줄임표처럼 읽힌다 */}
<span className="flex items-start gap-4 self-start">
{!IS_TOSS && (
<button
type="button"
onClick={() => setMenu(menu === 'closed' ? 'open' : 'closed')}
aria-expanded={menu !== 'closed'}
aria-label="글 메뉴"
className={cx('relative cursor-pointer pt-0.5 text-[15px] leading-none font-extrabold tracking-[1px] text-(--ink3)', TAP44)}
>
⋯
</button>
)}
<button
type="button"
onClick={() => setMenu(menu === 'closed' ? 'open' : 'closed')}
aria-expanded={menu !== 'closed'}
aria-label="글 메뉴"
className={cx('relative cursor-pointer pt-0.5 text-[15px] leading-none font-extrabold tracking-[1px] text-(--ink3)', TAP44)}
>
⋯
</button>
<button type="button" onClick={toggle} aria-pressed={liked} aria-label="좋아요" className={cx('relative cursor-pointer pt-1', TAP44)}>
<HeartIcon className={cx('size-4 stroke-2', liked ? 'fill-(--heart) stroke-(--heart)' : 'fill-none stroke-(--ink3)')} />
</button>
@@ -337,7 +334,6 @@ function TalkRow({ t, onGone, compact }: { t: TalkData; onGone?: () => void; com
/** 이야기 탭: 쓰기 칸과 전국 최신 글 (아래로 더 받기) */
/** 피드 위 쓰는 칸. 늘 펼쳐 두고, 오늘 쓴 내 글은 바로 아래 '오늘 내 글' 묶음에 보인다 */
export function FeedComposer() {
if (IS_TOSS) return null
return (
<div className="mt-3.5">
<Composer />
@@ -412,7 +408,7 @@ export function FirstTalkCard() {
export function NearTalks({ talks, loaded }: { talks: TalkData[]; loaded: boolean }) {
if (!loaded) return null
if (talks.length) return <TalkGroup title="동네 사람들" talks={talks} />
return IS_TOSS ? null : <FirstTalkCard />
return <FirstTalkCard />
}
/** 내 정보 창의 내가 쓴 글 */
+3
View File
@@ -33,6 +33,9 @@ type Events = {
today_icon: { icon: string }
saju_input: { with_time: boolean }
saju_view: { scene: string; score: number }
game_start: { again: boolean; logged_in: boolean; wind_ms: number }
game_round: { round: number; score: number; logged_in: boolean }
game_over: { round: number; score: number; best: boolean; drops: number }
toss_intro_start: Record<string, never>
install_banner_close: Record<string, never>
}