import Image from "next/image"; import Link from "next/link"; import { ArrowLeft, ArrowRight, MessageCircle, Phone, Sparkles, CheckCircle2 } from "lucide-react"; import { Icon } from "@/components/icon"; import type { SolutionRow, SiteSettingsRow } from "@/lib/types"; import { siteConfig } from "@/lib/site-config"; const QUICK_TRUST = [ "İşletmenize özel kurgu", "Tek elden uçtan uca", "Ücretsiz keşif görüşmesi", "Yerel ekip — Kocaeli", ]; export function SolutionHero({ solution, settings, }: { solution: SolutionRow; settings?: SiteSettingsRow | null; }) { const phoneRaw = settings?.contact_phone_raw ?? siteConfig.contact.phoneRaw; const phone = settings?.contact_phone ?? siteConfig.contact.phone; const wa = phoneRaw.replace(/[^\d]/g, ""); const waMessage = settings?.whatsapp_message ?? `Merhaba, ${solution.title} çözümü hakkında bilgi almak istiyorum.`; const waHref = `https://wa.me/${wa}?text=${encodeURIComponent(waMessage)}`; return (
{/* Subtle grid + glow */}
Tüm çözümler
{/* Left — content */}
İşletmenize özel çözüm

{solution.title}

{solution.description}

{/* Quick trust strip */}
    {QUICK_TRUST.map((it) => (
  • {it}
  • ))}
Ücretsiz teklif al WhatsApp'tan yaz {phone}
{/* Right — hero card */}
{solution.hero_image ? (
{solution.title} {/* Floating badge */}

Şimdi başla

Ücretsiz keşif görüşmesi

) : ( )}
); } function DecorativeSolutionCard({ solution }: { solution: SolutionRow }) { return (
{/* Outer gradient frame */}
{/* Animated dots */}
{/* Glow */}
{/* Card content */}

kovak.yazilim

{solution.title}

İşletmenize özel, uçtan uca çözüm.

{/* Bottom badges */}
⚡ Hızlı 🛡️ Garantili 📞 7/24 Destek
{/* Floating accent */}

Memnuniyet

100%

Proje

150+

); }