From 5515a6b48b9a239754504178b8b1fcc67d1ca718 Mon Sep 17 00:00:00 2001 From: gahusb Date: Wed, 8 Apr 2026 01:40:35 +0900 Subject: [PATCH] =?UTF-8?q?hide:=20=EB=A1=9C=EB=98=90=20=EC=84=9C=EB=B9=84?= =?UTF-8?q?=EC=8A=A4=20=EC=A0=84=EB=A9=B4=20=EB=B9=84=EA=B3=B5=EA=B0=9C=20?= =?UTF-8?q?(PG=20=EC=8B=AC=EC=82=AC=20=EC=A0=95=EC=B1=85=20=EB=8C=80?= =?UTF-8?q?=EC=9D=91)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 홈페이지: FREE_TOOLS, LIVE_SERVICES에서 로또 제거 - 사이드바: 로또 번호 추천 메뉴 제거 - SEO: 키워드, JSON-LD에서 로또 제거 - lib/products.ts: lotto_gold/platinum/diamond 상품 삭제 - 결제 테스트: 로또 상품 제거 - 로또 페이지: redirect('/') 복원 - DB 마이그레이션 005: lotto 카테고리 DELETE 추가 + saju_detail 1000원 반영 Co-Authored-By: Claude Opus 4.6 --- app/components/Sidebar.tsx | 10 - app/layout.tsx | 2 - app/page.tsx | 12 - app/payment/test/page.tsx | 5 +- app/services/lotto/page.tsx | 374 +---------------------- lib/products.ts | 21 -- supabase/migrations/005_all_products.sql | 5 + 7 files changed, 9 insertions(+), 420 deletions(-) diff --git a/app/components/Sidebar.tsx b/app/components/Sidebar.tsx index dbc4323..dcd6f9a 100644 --- a/app/components/Sidebar.tsx +++ b/app/components/Sidebar.tsx @@ -68,16 +68,6 @@ const navGroups: NavGroup[] = [ ), }, - { - href: '/services/lotto', - label: '로또 번호 추천', - badge: '무료', - icon: ( - - - - ), - }, { href: '/tools', label: '도구 쇼케이스', diff --git a/app/layout.tsx b/app/layout.tsx index 9ad913e..7ab7d9b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -15,7 +15,6 @@ export const metadata: Metadata = { "ChatGPT 프롬프트", "업무 자동화", "AI 사주", - "로또 번호 추천", "AI 자동화 키트", "프롬프트 엔지니어링", "엑셀 자동화", @@ -86,7 +85,6 @@ const jsonLd = { { '@type': 'Offer', itemOffered: { '@type': 'Service', name: '업무 자동화 개발', url: 'https://jaengseung-made.com/services/automation' } }, { '@type': 'Offer', itemOffered: { '@type': 'Product', name: 'AI 자동화 키트', url: 'https://jaengseung-made.com/services/ai-kit', description: '업무일지·이메일·SNS 자동화 도구 6종 월 구독.' } }, { '@type': 'Offer', itemOffered: { '@type': 'Service', name: 'AI 사주 분석', url: 'https://jaengseung-made.com/saju', description: '생년월일 기반 AI 사주팔자 분석. 무료 체험 가능.' } }, - { '@type': 'Offer', itemOffered: { '@type': 'Service', name: '로또 번호 추천', url: 'https://jaengseung-made.com/services/lotto' } }, { '@type': 'Offer', itemOffered: { '@type': 'Service', name: '맞춤 외주 개발', url: 'https://jaengseung-made.com/freelance' } }, ], }, diff --git a/app/page.tsx b/app/page.tsx index 8cf8f54..4587e1a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -57,17 +57,6 @@ const FREE_TOOLS = [ desc: '생년월일 입력하면 AI가 성격·직업·관계·운세를 즉시 분석', badge: '무료', }, - { - href: '/services/lotto', - icon: ( - - - - ), - title: '로또 번호 추천', - desc: '빅데이터·통계 기반 AI 번호 분석. 매주 업데이트.', - badge: '무료', - }, { href: '/tools', icon: ( @@ -86,7 +75,6 @@ const LIVE_SERVICES = [ { name: '쟁승메이드', label: '이 사이트' }, { name: 'AI 사주 분석', label: '유료 서비스' }, { name: 'AI 자동화 키트', label: '월 구독' }, - { name: '로또 번호 추천', label: '무료 서비스' }, ]; function useScrollReveal() { diff --git a/app/payment/test/page.tsx b/app/payment/test/page.tsx index ad28606..83158f1 100644 --- a/app/payment/test/page.tsx +++ b/app/payment/test/page.tsx @@ -5,10 +5,7 @@ import { PRODUCTS } from '@/lib/products'; // DB products 테이블에 등록된 상품만 테스트 가능 const TEST_PRODUCTS = [ - 'saju_detail', // 4,900원 - 'lotto_gold', // 900원/월 - 'lotto_platinum', // 2,900원/월 - 'lotto_diamond', // 9,900원/월 + 'saju_detail', // 1,000원 ]; export default function PaymentTestPage() { diff --git a/app/services/lotto/page.tsx b/app/services/lotto/page.tsx index 0fe66a3..b29ca36 100644 --- a/app/services/lotto/page.tsx +++ b/app/services/lotto/page.tsx @@ -1,374 +1,6 @@ -'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' }, -]; +import { redirect } from 'next/navigation'; +// PG 심사 정책상 로또 관련 서비스 비공개 처리 export default function LottoPage() { - 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

-

지금 바로 시작하세요

-

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

- -
-
-
-
- ); + redirect('/'); } diff --git a/lib/products.ts b/lib/products.ts index fcfee46..61aa686 100644 --- a/lib/products.ts +++ b/lib/products.ts @@ -7,27 +7,6 @@ export interface Product { } export const PRODUCTS: Record = { - lotto_gold: { - id: 'lotto_gold', - name: '로또 골드 플랜', - price: 900, - type: 'monthly', - description: '매주 1회 번호 추천 · 이메일 발송', - }, - lotto_platinum: { - id: 'lotto_platinum', - name: '로또 플래티넘 플랜', - price: 2900, - type: 'monthly', - description: '매주 3회 번호 + 텔레그램 알림 + 상세 분석', - }, - lotto_diamond: { - id: 'lotto_diamond', - name: '로또 다이아 플랜', - price: 9900, - type: 'monthly', - description: '횟수 무제한 + 연간 패턴 리포트 + 전체 기능', - }, stock_starter_install: { id: 'stock_starter_install', name: '주식 스타터 설치', diff --git a/supabase/migrations/005_all_products.sql b/supabase/migrations/005_all_products.sql index 1807698..eecdc2a 100644 --- a/supabase/migrations/005_all_products.sql +++ b/supabase/migrations/005_all_products.sql @@ -3,7 +3,12 @@ -- Supabase SQL Editor에서 실행하세요 -- ============================================================ +-- 로또 상품 비공개 처리 (PG 심사 정책) +delete from public.products where category = 'lotto'; + insert into public.products (id, name, description, price, category) values + -- 사주 + ('saju_detail', 'AI 사주 상세 리포트', 'AI 12가지 항목 상세 해석', 1000, 'saju'), -- 주식 ('stock_starter_install', '주식 스타터 설치', '1개 종목 자동 매매 설치', 99000, 'stock'), ('stock_pro_install', '주식 프로 설치', '5개 종목 + 전략 커스터마이징 설치', 199000, 'stock'),