{{-- Componente compartido: Info de Contacto del Footer Props: $showIcons (bool) — mostrar iconos antes del texto $classes (string) — clases para el contenedor $linkClasses (string) — clases para los links $showAddress (bool) — mostrar dirección $showPhone (bool) — mostrar teléfono $showEmail (bool) — mostrar email $showHours (bool) — mostrar horario --}} @props([ 'showIcons' => true, 'classes' => '', 'linkClasses' => 'text-color-grey text-color-hover-primary', 'showAddress' => true, 'showPhone' => true, 'showEmail' => true, 'showHours' => false, ])
@if($showIcons)@endif
{{ config('site.contact.address') }}
@if(config('site.contact.city'))
{{ config('site.contact.city') }}
@if(config('site.contact.state')), {{ config('site.contact.state') }}@endif
@if(config('site.contact.zip')) {{ config('site.contact.zip') }}@endif
@endif
@if($showIcons)@endif {{ config('site.contact.phone') }}
@endif @if($showEmail && config('site.contact.email'))@if($showIcons)@endif {{ config('site.contact.email') }}
@endif @if($showHours && config('site.contact.hours'))
@if($showIcons)@endif
@php $hours = config('site.contact.hours'); @endphp
@if(is_array($hours))
@foreach($hours as $line){{ $line }}
@endforeach
@else
{{ $hours }}
@endif