@extends('layouts.dynamic-megamenu-test') @php $homeText = function (string $key, array $replace = []) use ($homeContent) { $value = data_get($homeContent, $key, data_get($homeContent, 'copy.' . $key, '')); foreach ($replace as $placeholder => $replacement) { $value = str_replace(':' . $placeholder, $replacement, (string) $value); } return $value; }; @endphp @section('title', 'Dynamic Nav Megamenu Test — Home') @section('meta_description', 'Hidden test page for Dynamic Navigation with reimagined megamenu.') @section('page-content')
Megamenu prototype

{{ $homeText('hero.headline_1') }}
{{ $homeText('hero.headline_2') }}

{{ $homeText('hero.subheadline') }}

Industries

{{ $homeText('industries.title_1') }} {{ $homeText('industries.title_2') }}

{{ $homeText('industries.description') }}

@foreach(array_slice($homeContent['industry_names'] ?? [], 0, 6) as $label)

{{ $label }}

{{ $homeText('industries.for_industry', ['industry' => $label]) }}

@endforeach
@if(isset($projects) && count($projects))
{{ $homeText('portfolio.badge') }}

{{ $homeText('portfolio.title_1') }} {{ $homeText('portfolio.title_2') }}

{{ $homeText('portfolio.description') }}

@foreach($projects as $project)
{{ $project['title'] ?? 'Project' }}

{{ $project['category'] ?? 'Case study' }}

{{ $project['title'] ?? '' }}

@endforeach
@endif @if(isset($aboutUs))
{{ $homeText('why.badge') }}

{{ $homeText('why.title_1') }} {{ $homeText('why.title_2') }}

{{ $homeText('why.description_1') }} {{ $homeText('why.highlight_1') }} {{ $homeText('why.description_2') }}

{{ $homeText('why.description_3') }}

@if(isset($aboutUs['values']))
@foreach($aboutUs['values'] as $value)

{{ $value['title'] }}

{{ $value['description'] }}

@endforeach
@endif
@endif

{{ $homeText('cta.title') }}

{{ $homeText('cta.description_1') }}

{{ $homeText('cta.primary') }}
@endsection