import Link from "next/link"; import type { Metadata } from "next"; import { CheckCircle2, Coins, FileText, ListChecks, MessageCircleQuestion, RefreshCcw, ShieldCheck, } from "lucide-react"; import { getCurrentUser } from "@/lib/session"; import { URUNLER, DENEME_KREDISI } from "@/lib/credits"; import { Button } from "@/components/ui/button"; import { SectionEyebrow } from "@/components/pixel-decor"; import { Parallax } from "@/components/parallax"; import { SatinAlForm } from "./satin-al-form"; import { SiteFooter } from "@/components/site-footer"; export const metadata: Metadata = { title: "Tercih Dönemi Paketi", description: "Tek seferlik Tercih Dönemi Paketi: yapay zekâ destekli kişisel 24 tercihlik liste, risk analizi, liste revizyonları ve soru hakkı. Abonelik yok.", alternates: { canonical: "/paket" }, }; function tl(kurus: number) { return (kurus / 100).toLocaleString("tr-TR", { maximumFractionDigits: 0 }); } const OZELLIKLER = [ { icon: ListChecks, text: "Sıralamana özel, gerekçeli 24 tercihlik dengeli liste", }, { icon: ShieldCheck, text: "Her tercih için yerleşme olasılığı ve risk analizi (son 4 yıl trend)", }, { icon: FileText, text: "Veliyle paylaşılabilir PDF rapor" }, { icon: RefreshCcw, text: "2 liste revizyon hakkı" }, { icon: MessageCircleQuestion, text: `${URUNLER.paket.credits} AI danışman sorusu (her mesaj 1 kredi)`, }, ] as const; export default async function PaketPage({ searchParams, }: { searchParams: Promise<{ hata?: string }>; }) { const [u, { hata }] = await Promise.all([getCurrentUser(), searchParams]); // Ödeme callback'i doğrulama hatasında buraya ?hata=token|siparis ile döner const odemeHatasi = hata === "token" || hata === "siparis"; return (
{odemeHatasi ? (
Ödemen doğrulanamadı. Kartından çekim yapıldıysa kredilerin birkaç dakika içinde otomatik tanımlanır; tanımlanmazsa aşağıdan tekrar deneyebilirsin — çekim yapılmadıysa hiçbir ücret ödemedin.
) : null} Tek seferlik ödeme · Abonelik yok

İnsan danışmanın işini,{" "} onda bir fiyatına

Tercih danışmanları bu dönemde 2.000–10.000 TL alıyor. KolayTercih aynı işi gerçek YÖK Atlas verisiyle, dakikalar içinde yapar.

{/* Ana paket */}

Tercih Dönemi Paketi

{tl(URUNLER.paket.amountKurus)} TL

    {OZELLIKLER.map((o) => (
  • {o.text}
  • ))}
{u ? ( u.hasPaket ? (
Paketin aktif —{" "} listeni oluştur
) : ( ) ) : ( )}

iyzico güvenli ödeme · Kart bilgilerin bize hiç ulaşmaz ·{" "} İade koşulları

{/* Top-up */}

Kredi bitti mi?

+{URUNLER.topup.credits} soru hakkı,{" "} {tl(URUNLER.topup.amountKurus)} TL.

{u ? ( ) : ( )}

KolayTercih bir karar destek aracıdır; öneriler resmî YÖK Atlas verisine dayanır ancak yerleşme garantisi verilmez. Tercih listesinin nihai sorumluluğu adaya aittir. Sorun mu var?{" "} Bize yaz .

); }