{{-- Slider Revolution Fullscreen - Dinámico desde WelcomeCarousel --}}
    @if(isset($carouselImages) && $carouselImages->count() > 0) @foreach($carouselImages as $index => $carouselImage) @php // Determinar si es una URL completa o una ruta relativa $imageUrl = filter_var($carouselImage->image_path, FILTER_VALIDATE_URL) ? $carouselImage->image_path : asset($carouselImage->image_path); // Usar name como título (o title si existe) $slideTitle = $carouselImage->name ?? ($carouselImage->title ?? __('Slide') . ' ' . ($index + 1)); @endphp
  • {{ $slideTitle }}
    {{ $slideTitle }}
  • @endforeach @else {{-- Fallback: imágenes estáticas del demo original --}}
  • {{ __('The Landscape') }}
    {{ __('The Landscape') }}
  • {{ __('The Explorers') }}
    {{ __('The Explorers') }}
  • {{ __('The Happy Family') }}
    {{ __('The Happy Family') }}
  • {{ __('The Cool Style') }}
    {{ __('The Cool Style') }}
  • {{ __('The Bride') }}
    {{ __('The Bride') }}
  • @endif
{{-- Gallery Section --}} @if(is_module_active('gallery') && isset($galleryImages) && $galleryImages->count() > 0)

{{ config('site.welcome.gallery_heading', __('Gallery')) }}

@foreach($galleryImages->take(8) as $image) @endforeach
@endif {{-- Blog Section --}} @if(is_module_active('blog') && isset($recentPosts) && $recentPosts->count() > 0)

{{ config('site.welcome.blog_heading', __('Latest Posts')) }}

@foreach($recentPosts->take(3) as $post)
@if($post->header) @endif

{{ $post->title }}

{{ \Illuminate\Support\Str::limit($post->description ?? strip_tags($post->content), 100) }}

@endforeach
@endif {{-- Projects Section --}} @if(is_module_active('projects') && isset($featuredProjects) && $featuredProjects->count() > 0)

{{ config('site.welcome.projects_heading', __('Projects')) }}

@foreach($featuredProjects->take(6) as $project)
@if($project->image) @endif
{{ $project->title }}
@if($project->description)

{{ \Illuminate\Support\Str::limit($project->description, 80) }}

@endif
@endforeach
@endif