@extends('layouts.public') @section('content') @php $hero = $blocksByKey['hero-herramientas'] ?? null; $tools = $blocksByKey['lista-herramientas'] ?? null; $cta = $blocksByKey['cta-herramientas'] ?? null; $leadForm = $forms['solicitud-comercial'] ?? null; @endphp @if($hero)

{{ $hero['titulo'] }}

{{ $hero['subtitulo'] }}

@if(!empty($hero['contenido']))

{{ $hero['contenido'] }}

@endif
@endif @if($tools)

{{ $tools['titulo'] }}

{{ $tools['subtitulo'] }}

@foreach(($tools['config']['items'] ?? []) as $item)
{{ $loop->iteration }}

{{ $item['title'] }}

{{ $item['text'] }}

@endforeach
@endif @if($cta && $leadForm)

{{ $cta['titulo'] }}

{{ $cta['subtitulo'] }}

@include('public.partials.form', ['form' => $leadForm, 'pageId' => $page['id']])
@endif @endsection