{{-- Dynamic Header --}} @include('modules.projects.frontend.partials.dynamic-header') {{-- Main Content Section --}}
{{-- Main Content Area --}}
{{-- Project Image Hero - Mobile First --}} @if($project->image)
{{ $project->title }}
@endif {{-- Project Title - Mobile Optimized --}}

{{ $project->title ?? 'Proyecto' }}

{{-- Quick Info Bar - Mobile --}}
@if($project->created_at)
{{ $project->created_at->format('M Y') }}
@endif
Completado
{{-- Project Meta Info (Categories & Tags) - Mobile Optimized --}} @if($project->categories && $project->categories->count() > 0 || $project->tags && $project->tags->count() > 0)
@if($project->categories && $project->categories->count() > 0)
Categorías:
@foreach($project->categories as $category) {{ $category->name }} @endforeach
@endif @if($project->tags && $project->tags->count() > 0)
Tags:
@foreach($project->tags as $tag) {{ $tag->name }} @endforeach
@endif
@endif
{{-- Project Description --}}

Descripción del Proyecto

@if($project->description)
{!! nl2br(e($project->description)) !!}
@else

Descripción detallada disponible próximamente.

@endif
{{-- Antes y Después (opt-in por datos: solo renderiza si el proyecto tiene pares cargados) --}} @if($project->beforeAfterPairs && $project->beforeAfterPairs->count() > 0)

{{ __('Antes y Después') }}

@foreach($project->beforeAfterPairs as $pair) @php $beforeUrl = filter_var($pair->before_image, FILTER_VALIDATE_URL) ? $pair->before_image : asset($pair->before_image); $afterUrl = filter_var($pair->after_image, FILTER_VALIDATE_URL) ? $pair->after_image : asset($pair->after_image); @endphp
{{ ($pair->label ? $pair->label . ' — ' : '') . __('Antes') }} {{ ($pair->label ? $pair->label . ' — ' : '') . __('Después') }} @if($pair->label)
{{ $pair->label }}
@endif
@endforeach
{{-- El layout front usa @yield('scripts') (no @stack), así que inlineamos el script del web component. El @push('styles') sí funciona porque master.blade.php tiene @stack('styles'). --}} @endif {{-- JOINN Video (YouTube) --}} @php $isJoinnProject = isset($project) && \Illuminate\Support\Str::contains( \Illuminate\Support\Str::lower($project->title ?? ''), 'joinn' ); @endphp @if($isJoinnProject)

JOINN – Video Presentación

@endif {{-- External Link if available --}} @if($project->url)
@endif
{{-- Sidebar - Desktop Only, Mobile Hidden --}}
{{-- Project Info Card - Desktop Only --}}
Información del Proyecto
  • Código: #{{ str_pad($project->id, 4, '0', STR_PAD_LEFT) }}
  • Estado: Completado
  • Fecha: {{ $project->created_at->format('d/m/Y') }}
  • @if($project->categories && $project->categories->count() > 0)
  • Categorías:
    @foreach($project->categories as $category) {{ $category->name }} @endforeach
  • @endif
{{-- Quick Contact Card --}} {{--

¿Te Interesa?

Contacta con nosotros para más información sobre este proyecto

--}} {{-- Share Project Card - Desktop Only --}}
Compartir Proyecto
{{-- Share Section - Mobile Only --}}
{{-- Related Projects Section - Carousel --}} @if($relatedProjects && $relatedProjects->count() > 0) @endif