@props(['data']) @php $parent = reset($data); $child = array_values(array_slice($data, 1)); @endphp
@if (!empty($parent))

{{ $parent['title'] }}

{{ $parent['sub title'] }}

@endif
@foreach ($child as $key => $value)
@endforeach
@foreach ($child as $key => $value)

{{ $value['description'] }}

@if (strlen($value['description']) >= 440) @endif
@endforeach
@foreach ($child as $key => $value) company-history @endforeach
{{--
@if (!empty($parent))

{{ $parent['title'] }}

{{ $parent['sub title'] }}

@endif
    @foreach ($child as $key => $value)
  • {{ $value['year'] }}
  • @endforeach
@foreach ($child as $key => $value)

{{ $value['description'] }}

Learn More
@endforeach
@if (!empty($parent))
company-history
@endif
--}}