import Link from "next/link"; import { ArrowUpRight } from "lucide-react"; import { Icon } from "@/components/icon"; import { siteConfig } from "@/lib/site-config"; import type { ServiceRow } from "@/lib/types"; type ServiceLike = { slug: string; title: string; description: string; icon?: string | null; }; export function ServicesGrid({ services }: { services: ServiceRow[] }) { const items: ServiceLike[] = services.length > 0 ? services : (siteConfig.fallbackServices as readonly ServiceLike[]).slice(); return (
{items.map((s) => (

{s.title}

{s.description}

))}
); }