---
import ServiceLanding from '../../components/ServiceLanding.astro';
import { servicePages, type ServicePage } from '../../data/servicePages';

export function getStaticPaths() {
  return servicePages.map((service) => ({ params: { slug: service.slug }, props: { service } }));
}

interface Props { service: ServicePage }
const { service } = Astro.props;
---

<ServiceLanding service={service} />
