5ace251b58
feat(phase2.5): 사주 result page 라이트 재스킨 + CLAUDE.md 반영
...
app/work/saju/result/page.tsx의 히어로 다크 그라디언트/violet 배지, 사이드바
다크 카드, 4기둥 표, 대운 카드를 --jsm 토큰(navy/surface/surface-alt/line/
ink/accent)으로 순수 시각 치환. 서버 로직(사주 계산·hasPaid·로또 구독 조회)과
JSX 구조는 무변경. CLAUDE.md 사주 시스템 섹션에 재스킨 완료 이력 반영.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01AAtcmKKtqDUe4NyVgy1aLQ
2026-07-03 10:51:22 +09:00
15825616a3
refactor(phase2.5): SajuFortuneSection 중복 Glyph 제거 — SajuIcons 재사용
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-03 10:39:13 +09:00
fa9cda4f50
feat(phase2.5): SajuFortuneSection 라이트 재스킨 — 로또 아이콘 SVG, 라디얼 제거
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-03 10:32:02 +09:00
5e79ea9233
feat(phase2.5): SajuAISection 라이트 재스킨 — 이모지→SVG, gradient/보라→--jsm
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-03 10:19:39 +09:00
57a95dee16
feat(phase2.5): 사주 섹션 인라인 SVG 아이콘 세트(SajuIcons)
...
- SajuIcon 컴포넌트 및 12개 stroke 기반 SVG 아이콘 정의
- SECTION_ICON_ORDER 배열로 섹션 순서 관리(기질·오행·지지·신살·재물·직업·애정·건강·대운·세운·황금기·종합)
- LottoIcon 추가 export
- currentColor 사용으로 색상 커스터마이징 가능
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-03 10:10:50 +09:00
96a0b06706
fix(phase2): 사주 무료화 잔재 정리 — 결제완료 배지→AI해석완료, 잉여 표현·stale 주석
...
- SajuAISection.tsx 415행: "결제 완료" 배지 → "AI 해석 완료"로 변경 (로그인 회원 무료 정책에 맞춤)
- page.tsx 86행: hasPaid = !!user → hasPaid = true 단순화 (if (user) 블록 내 중복)
- page.tsx 540행: 주석 "(사주 결제 시 표시)" → "(로그인 시 표시)" 갱신 (현행 정책 반영)
Tests: 30 PASS ✓ Build: success ✓
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01AAtcmKKtqDUe4NyVgy1aLQ
2026-07-02 21:43:09 +09:00
26fef53174
feat(phase2): 사주 AI 해석 무료화 — 결제 게이트 → 로그인 게이트
...
- page.tsx: hasPaid를 orders 'saju_detail' paid 조회 대신 로그인 여부(!!user)로 산출
- SajuAISection: 미로그인 시 "개편 준비 중" 안내를 /login?next= 유도 CTA로 교체
- analyze fetch가 429(일일 무료 횟수 초과)를 받으면 전용 에러 메시지 표시(재시도 버튼 숨김)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-02 21:36:13 +09:00
5fd7ab8872
feat(phase2): 사주 공개 전환 + analyze 로그인·일일제한(서버 강제)
...
- app/work/saju/layout.tsx: isServiceVisible 가드 제거, 사주 서비스 공개 전환
- lib/service-visibility.ts: HideableService에서 saju 제거
- app/api/admin/services/route.ts: DEFAULT_SERVICES에서 saju 행 제거
- app/api/saju/analyze/route.ts: saju_detail 결제 게이트(403) 제거,
로그인(401) + 서버측 일일 1회 제한(429, ai_usage_log 기반)으로 교체.
recordUsage는 실제 Gemini 해석 성공 반환 직전에만 호출(MOCK 폴백 제외)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-02 21:28:24 +09:00
1e926fcb19
chore(phase0): PortOne 잔재 제거 — 계좌이체 단일 소스 확정, saju 결제 CTA 제거
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-02 14:12:38 +09:00
8e1cf9b4e1
chore(phase0): packages·subscription 제거 — 페이지/API/cron/vercel.json + 파급(stats·members·saju) 수정
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-02 14:07:56 +09:00
b13ddd3841
feat(visibility): 사주·음악·설문·패키지 라우트 숨김 가드 적용
2026-06-11 01:35:46 +09:00
31c376da07
feat(work): /work/saju + input + result — 현 /saju 컨텐츠 이동
...
- saju 페이지 + 입력 폼 + 결과 + AI 해석 + 사주 컴포넌트 모두 이동
- depth 변경 → 모든 import @/ 절대 경로
- 내부 Link href + router.push 새 URL로
- 카탈로그 spec(49만 코어 + 11 모듈)은 보류 — 무료 사주 분석만 마이그
- API route /api/saju/* 변경 없음
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-16 03:39:14 +09:00