import { localePath, type Locale } from '@/lib/i18n' import type { getHomeContent, getServicesContent } from '@/lib/payload-content' import { externalLinkProps } from '@/lib/external-link' type ServicesViewProps = { content: Awaited> homeServices: Awaited>['services']['items'] featuresLabel: string webmailHref: string locale: Locale } export default function ServicesView({ content: pageContent, homeServices, featuresLabel, webmailHref, locale }: ServicesViewProps) { const contactHref = localePath(locale, 'contact') return (
{/* Hero Section */}

{pageContent.hero.title}

{pageContent.hero.subtitle}

{/* Services Grid */}
{homeServices.map((service) => (
{service.icon}

{service.title}

{service.description}

{featuresLabel}

    {service.features.map((feature, index) => (
  • ✓ {feature}
  • ))}
{service.ctaText}
))}
{/* Detailed Services */}

{pageContent.details.title}

{pageContent.details.subtitle}

{pageContent.details.services.map((service) => (
{service.icon}

{service.title}

{service.description}

{service.specs.title}

    {service.specs.items.map((item, index) => (
  • {item}
  • ))}
))}
{/* Support Section */}

{pageContent.support.title}

{pageContent.support.subtitle}

{(pageContent.support.channels ?? []).map((channel) => (

{channel.title}

{channel.description}

))}
{/* CTA Section */}

{pageContent.cta.title}

{pageContent.cta.subtitle}

) }