From 0f5c2b855e7247f64a30b94aa44406e7851db1c9 Mon Sep 17 00:00:00 2001 From: gahusb Date: Wed, 8 Apr 2026 01:35:13 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=A1=9C=EB=98=90=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EB=A6=AC=EB=8B=A4=EC=9D=B4=EB=A0=89=ED=8A=B8=20?= =?UTF-8?q?=EB=B3=B5=EC=9B=90=20+=20=EC=82=AC=EC=A3=BC=20=EA=B0=80?= =?UTF-8?q?=EA=B2=A9=201,000=EC=9B=90=EC=9C=BC=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 로또 서비스 페이지: 토스 정책으로 숨겼던 페이지를 PortOne 전환에 맞춰 복원 - 사주 상세 해석 가격: 4,900원 → 1,000원 (lib/products.ts, UI, schema.sql) Co-Authored-By: Claude Opus 4.6 --- app/saju/page.tsx | 6 +- app/saju/result/SajuAISection.tsx | 2 +- app/services/lotto/page.tsx | 374 +++++++++++++++++++++++++++++- lib/products.ts | 2 +- supabase/schema.sql | 2 +- 5 files changed, 377 insertions(+), 9 deletions(-) diff --git a/app/saju/page.tsx b/app/saju/page.tsx index 274f18d..c4a686b 100644 --- a/app/saju/page.tsx +++ b/app/saju/page.tsx @@ -202,7 +202,7 @@ export default function SajuPage() {

PRICING

무엇을 분석해드리나요

-

기본 원국은 무료, AI 상세 해석은 4,900원

+

기본 원국은 무료, AI 상세 해석은 1,000원

@@ -257,7 +257,7 @@ export default function SajuPage() { }} >
- 4,900원 + 1,000원
@@ -289,7 +289,7 @@ export default function SajuPage() {
- 4,900원 + 1,000원 / 1회
로그인 후 결제 · 12가지 항목 AI 해석
diff --git a/app/saju/result/SajuAISection.tsx b/app/saju/result/SajuAISection.tsx index 0603d6e..4581af3 100644 --- a/app/saju/result/SajuAISection.tsx +++ b/app/saju/result/SajuAISection.tsx @@ -317,7 +317,7 @@ export default function SajuAISection({ productId="saju_detail" className="inline-flex items-center gap-2 bg-amber-400 hover:bg-amber-300 text-[#04102b] font-bold px-7 py-3 rounded-xl transition-all" > - AI 상세 해석 받기 — 4,900원 + AI 상세 해석 받기 — 1,000원

결제 후 즉시 AI 분석 시작 · 로그인 필요

diff --git a/app/services/lotto/page.tsx b/app/services/lotto/page.tsx index ece78d6..0fe66a3 100644 --- a/app/services/lotto/page.tsx +++ b/app/services/lotto/page.tsx @@ -1,6 +1,374 @@ -import { redirect } from 'next/navigation'; +'use client'; + +import { useState } from 'react'; +import Link from 'next/link'; +import ContactModal from '../../components/ContactModal'; +import PaymentButton from '../../components/PaymentButton'; + +const CHECKLIST = [ + '구독 플랜 선택 (골드 / 플래티넘 / 다이아)', + '번호 수신 방법 (이메일 / 텔레그램 중 선택)', + '로또 구매 후 직접 확인 필요 (자동 구매 아님)', + '당첨 보장 없음 — 과거 데이터 통계 기반 번호 선택 도구', + '구독 취소는 이메일로 언제든 가능', +]; + +const plans = [ + { + name: '골드 플랜', + badge: '🥇', + price: '900원', + period: '/ 월', + desc: '매주 1회 번호 추천', + features: [ + '매주 월요일 5개 번호 조합 제공', + '출현 빈도 통계 분석', + '이메일 발송', + ], + highlight: false, + productId: 'lotto_gold', + }, + { + name: '플래티넘 플랜', + badge: '💎', + price: '2,900원', + period: '/ 월', + desc: '매주 3회 + 상세 분석 보고서', + features: [ + '매주 3회 번호 조합 제공', + '핫넘버 / 콜드넘버 분석', + '연속 번호 / 끝수 패턴 분석', + '번호 조합 백테스트 (과거 회차 검증)', + '이메일 + 텔레그램 알림', + ], + highlight: true, + productId: 'lotto_platinum', + }, + { + name: '다이아 플랜', + badge: '👑', + price: '9,900원', + period: '/ 월', + desc: '횟수 무제한 + 전체 기능', + features: [ + '플래티넘 플랜 전체 기능', + '번호 생성 횟수 무제한', + '연간 번호 출현 통계 리포트', + '우선 고객 지원', + ], + highlight: false, + productId: 'lotto_diamond', + }, +]; + +const faqs = [ + { + q: '로또 번호 추천이 실제로 효과가 있나요?', + a: '로또는 완전 무작위 추첨으로, 당첨을 보장하거나 확률을 높이는 서비스가 아닙니다. 다만 1,100+회차 과거 데이터의 번호 출현 빈도를 통계로 보여주고, 그 통계를 참고해 번호를 선택하고 싶은 분들을 위한 취미형 분석 도구입니다.', + }, + { + q: '번호는 어떻게 받을 수 있나요?', + a: '결제 완료 후 이메일로 매주 정해진 요일에 발송됩니다. 프리미엄 플랜은 텔레그램 알림도 함께 제공됩니다.', + }, + { + q: '구독 취소는 어떻게 하나요?', + a: '이메일(bgg8988@gmail.com)로 취소 요청 시 다음 결제일 전에 해지 처리해드립니다. 위약금은 없습니다.', + }, +]; + +const analysisFeatures = [ + { label: '출현 빈도 분석', desc: '1회차~최신 회차까지 모든 번호의 출현 횟수와 비율 계산', stat: '1,100+', statLabel: '회차 데이터', accent: 'border-amber-300 bg-amber-50', statColor: 'text-amber-600' }, + { label: '핫/콜드 넘버', desc: '최근 20회차 기준 자주 나온 번호와 오래 안 나온 번호 구분', stat: '45', statLabel: '개 번호 분석', accent: 'border-orange-300 bg-orange-50', statColor: 'text-orange-600' }, + { label: '연속 번호 통계', desc: '역대 당첨 번호 중 연속 번호가 포함된 회차 비율 통계 제공', stat: '98%', statLabel: '연속 번호 포함 회차', accent: 'border-yellow-300 bg-yellow-50', statColor: 'text-yellow-600' }, + { label: '끝수 통계', desc: '끝자리 0~9 번호들의 출현 비율을 분석하여 분산 조합', stat: '10', statLabel: '끝수 구간', accent: 'border-amber-300 bg-amber-50', statColor: 'text-amber-600' }, + { label: '번호 조합 백테스트', desc: '선택한 번호로 과거 회차 대조 검증 — 몇 회나 일치했는지 확인', stat: '500+', statLabel: '회차 백테스트', accent: 'border-orange-300 bg-orange-50', statColor: 'text-orange-600' }, + { label: '정기 자동 발송', desc: '매주 정해진 요일에 이메일 및 텔레그램으로 번호 자동 발송', stat: '매주', statLabel: '자동 배송', accent: 'border-yellow-300 bg-yellow-50', statColor: 'text-yellow-600' }, +]; -// 토스페이먼츠 심사 정책상 판매 불가 상품으로 분류 — 비공개 처리 export default function LottoPage() { - redirect('/'); + const [modalOpen, setModalOpen] = useState(false); + const [modalService, setModalService] = useState('로또 번호 추천'); + + const openModal = (service: string) => { + setModalService(service); + setModalOpen(true); + }; + + return ( +
+ setModalOpen(false)} + service={modalService} + checklist={CHECKLIST} + accentColor="text-amber-400" + headerFrom="#1a0a00" + headerTo="#3d1a00" + /> + + {/* ─── Hero ─── */} +
+
+ {[ + { n: '07', x: '8%', y: '15%', size: 'w-12 h-12', opacity: 'opacity-10' }, + { n: '23', x: '88%', y: '10%', size: 'w-16 h-16', opacity: 'opacity-10' }, + { n: '34', x: '92%', y: '60%', size: 'w-10 h-10', opacity: 'opacity-8' }, + { n: '12', x: '5%', y: '70%', size: 'w-14 h-14', opacity: 'opacity-10' }, + { n: '41', x: '78%', y: '85%', size: 'w-12 h-12', opacity: 'opacity-8' }, + ].map((ball) => ( +
+ {ball.n} +
+ ))} +
+
+ +
+ + + + + 홈으로 + +
+ + + +
+

LOTTO STATISTICS · 과거 회차 데이터 분석 도구

+

+ 로또 번호
+ 통계 기반 선택 +

+

+ 1회차부터 현재까지 1,100+회차 데이터를 분석하여 출현 빈도, 핫/콜드 번호, + 연속 번호 통계를 보여주는 취미형 분석 도구입니다. 당첨 보장 서비스가 아닙니다. +

+
+ {[7, 14, 23, 35, 41, 44].map((n, i) => ( +
+ {n} +
+ ))} +
+
+ + NAS 서버에서 실제 운영 중 +
+
+
+ + {/* ─── 구독자 전용 번호 추천 CTA ─── */} +
+
+
+ {/* glow */} +
+
+
+
+
+ + + +
+
+
+ 구독자 전용 + +
+

+ 지금 바로 번호를 추천받으세요 +

+

+ 몬테카를로 시뮬레이션으로 최대 5조합 즉시 생성 +

+
+
+ + 번호 추천받기 → + +
+
+
+ + {/* ─── 분석 기능 ─── */} +
+
+
+

ANALYSIS ENGINE

+

6가지 통계 분석 엔진

+

1,100+회차 과거 데이터를 분석하여 보여주는 통계 — 당첨 보장 없음

+
+
+ {analysisFeatures.map((f) => ( +
+
{f.stat}
+
{f.statLabel}
+

{f.label}

+

{f.desc}

+
+ ))} +
+
+
+ + {/* ─── 기능 비교표 ─── */} +
+
+
+

PLAN FEATURES

+

플랜별 기능 비교

+

내게 맞는 플랜을 선택하세요

+
+
+ + + + + + + + + + + {[ + { feature: '번호 생성 횟수', gold: '1세트/일', plat: '3세트/일', dia: '무제한' }, + { feature: '배치 생성 (동시)', gold: '—', plat: '—', dia: '5개 동시' }, + { feature: '전략 선택 (균형/고위험/안정)', gold: '✓', plat: '✓', dia: '✓' }, + { feature: '이번 주 공략 리포트', gold: '✓', plat: '✓', dia: '✓' }, + { feature: '핫/콜드 번호 분석', gold: '✓', plat: '✓', dia: '✓' }, + { feature: '구매 기록 관리', gold: '✓', plat: '✓', dia: '✓' }, + { feature: '내 패턴 AI 분석', gold: '—', plat: '✓', dia: '✓' }, + { feature: '연간 번호 출현 통계 리포트', gold: '—', plat: '—', dia: '✓' }, + { feature: '우선 고객 지원', gold: '—', plat: '—', dia: '✓' }, + ].map((row, i) => ( + + + + + + + ))} + +
기능 +
🥇 골드
+
900원/월
+
+
💎 플래티넘
+
2,900원/월
+
추천
+
+
👑 다이아
+
9,900원/월
+
{row.feature} + {row.gold} + + {row.plat} + + {row.dia} +
+
+
+
+ + {/* ─── 요금제 ─── */} +
+
+
+

PRICING

+

요금제

+
+
+ {plans.map((plan) => ( +
+ {plan.highlight && ( +
추천
+ )} +
+ {plan.badge} + {plan.name.toUpperCase()} +
+
+ {plan.price} + {plan.period} +
+

{plan.desc}

+
    + {plan.features.map((f) => ( +
  • +
    +
    +
    + {f} +
  • + ))} +
+ + 신청하기 + +
+ ))} +
+
+
+ + {/* ─── FAQ ─── */} +
+
+
+

FAQ

+

자주 묻는 질문

+
+
+ {faqs.map((faq, i) => ( +
+
+ Q{i + 1} +
+

{faq.q}

+

{faq.a}

+
+
+
+ ))} +
+
+
+ + {/* ─── CTA ─── */} +
+
+
+

GET STARTED

+

지금 바로 시작하세요

+

구독 첫 달 무료 체험 · 언제든 취소 가능

+ +
+
+
+
+ ); } diff --git a/lib/products.ts b/lib/products.ts index bd3c48e..fcfee46 100644 --- a/lib/products.ts +++ b/lib/products.ts @@ -59,7 +59,7 @@ export const PRODUCTS: Record = { saju_detail: { id: 'saju_detail', name: 'AI 사주 상세 리포트', - price: 4900, + price: 1000, type: 'one_time', description: 'AI 12가지 항목 상세 해석', }, diff --git a/supabase/schema.sql b/supabase/schema.sql index 87704d8..0fc2ec5 100644 --- a/supabase/schema.sql +++ b/supabase/schema.sql @@ -66,7 +66,7 @@ create table public.products ( -- 초기 상품 데이터 insert into public.products (id, name, description, price, category) values - ('saju_detail', 'AI 사주 상세 리포트', '신강/신약, 용신, 대운, AI 12가지 항목 해석', 4900, 'saju'), + ('saju_detail', 'AI 사주 상세 리포트', '신강/신약, 용신, 대운, AI 12가지 항목 해석', 1000, 'saju'), ('lotto_gold', '로또 골드 플랜', '매주 1회 번호 추천 · 이메일 발송', 900, 'lotto'), ('lotto_platinum', '로또 플래티넘 플랜', '매주 3회 번호 + 상세 분석 + 텔레그램 알림', 2900, 'lotto'), ('lotto_diamond', '로또 다이아 플랜', '횟수 무제한 + 전체 기능 + 연간 패턴 리포트', 9900, 'lotto');