import React from "react"; import Image from "next/image"; type Service = { slug: string; title: string; subtitle: string; blurb: string; whatWeDo: string[]; outcomes: string[]; iconName?: string; image?: string; }; type Props = { service: Service; index: number; }; export default function ServiceSection({ service, index }: Props) { const isReversed = index % 2 === 1; return (
*:first-child]:order-2" : "" }`} > {/* Text column */}
{service.image && (
{service.title}
)}
{service.subtitle}

{service.title}

{service.blurb}

What We Do

    {service.whatWeDo.map((item) => (
  • {item}
  • ))}

Outcomes

    {service.outcomes.map((item) => (
  • {item}
  • ))}
Learn More About {service.title}
{/* Visual card */}
{service.image && (
{service.title}
)}
{service.title}
{service.subtitle}
); }