@extends('layouts.public') @section('content') @php $testimonials = $content->testimonials ->filter(fn ($testimonial): bool => filled(trim((string) $testimonial->quote))) ->values(); $chapters = [ ['id' => 'hero-heading', 'label' => 'Capa'], ['id' => 'manifesto-heading', 'label' => 'Manifesto'], ]; if ($content->featuredServices->isNotEmpty()) { $chapters[] = ['id' => 'services-heading', 'label' => 'Serviços']; } if ($content->featuredCases->isNotEmpty()) { $chapters[] = ['id' => 'portfolio-heading', 'label' => 'Portfólio']; } $chapters[] = ['id' => 'method-heading', 'label' => 'Método']; if ($testimonials->isNotEmpty()) { $chapters[] = ['id' => 'testimonials-heading', 'label' => 'Depoimentos']; } $chapters[] = ['id' => 'positioning-heading', 'label' => 'A Amare']; $chapters[] = ['id' => 'final-cta-heading', 'label' => 'Próximo passo']; @endphp
@endsection