import Link from "next/link"; import { ArrowUpRight } from "lucide-react"; import { Icon } from "@/components/icon"; import { siteConfig } from "@/lib/site-config"; type ServiceLike = { slug: string; title: string; description: string; icon?: string | null; }; // Hem Hizmetler hem Çözümler için kullanılır — sadece basePath ve fallback değişir. export function ServicesGrid({ services, basePath = "/hizmetler", fallback, }: { services: ServiceLike[]; basePath?: string; fallback?: readonly ServiceLike[]; }) { const items: ServiceLike[] = services.length > 0 ? services : ((fallback ?? siteConfig.fallbackServices) as readonly ServiceLike[]).slice(); return (
{items.map((s) => ( {/* Gradient icon — WP'deki stil */}

{s.title}

{s.description}

))}
); }