@extends('layout.front.master') {{-- Meta tags optimizados para FAQ --}} @section('title', (isset($currentCategory) ? $currentCategory->name . ' | ' : '') . 'Preguntas Frecuentes | FAQ | ' . config('site.name')) @section('description', isset($currentCategory) && $currentCategory->description ? $currentCategory->description : 'Encuentra respuestas a las preguntas más frecuentes sobre servicios, proyectos, licitaciones, certificaciones y procesos de construcción de Constructora Gama S.A. Más de 33 años de experiencia en el NOA.') @section('keywords', config('site.seo.keywords') . ', preguntas frecuentes, FAQ, consultas, ayuda, soporte, licitaciones, certificaciones, procesos constructivos') {{-- Open Graph Meta Tags --}} @section('og_title', (isset($currentCategory) ? $currentCategory->name . ' | ' : '') . 'Preguntas Frecuentes | FAQ | ' . config('site.name')) @section('og_description', isset($currentCategory) && $currentCategory->description ? $currentCategory->description : 'Resuelve todas tus dudas sobre servicios, proyectos, licitaciones, certificaciones y procesos de construcción de Constructora Gama S.A. Más de 33 años de experiencia.') @section('og_image', asset('cd-project/img/meta-tags/construction/backgrounds/faqs-bg.jpg')) @section('og_type', 'website') @section('og_url', url()->current()) {{-- Twitter Card Meta Tags --}} @section('twitter_title', (isset($currentCategory) ? $currentCategory->name . ' | ' : '') . 'Preguntas Frecuentes | FAQ | ' . config('site.name')) @section('twitter_description', isset($currentCategory) && $currentCategory->description ? $currentCategory->description : 'Resuelve todas tus dudas sobre servicios, proyectos, licitaciones, certificaciones y procesos de construcción.') @section('twitter_image', asset('cd-project/img/meta-tags/construction/backgrounds/faqs-bg.jpg')) @section('content') @php $moduleConfig = get_module_page_header_config('faqs'); $pageTitle = isset($currentCategory) ? $currentCategory->name : $moduleConfig['title']; $pageSubtitle = isset($currentCategory) ? ($currentCategory->description ?? $moduleConfig['subtitle']) : $moduleConfig['subtitle']; $breadcrumbs = get_module_breadcrumbs('faqs', $pageTitle); @endphp @if(view()->exists('modules.cd-base.faqs.frontend.partials.dynamic-header')) @php $backgroundImage = asset('cd-project/img/demos/digital-agency-2/bg/bg-12.jpg'); @endphp @include('modules.cd-base.faqs.frontend.partials.dynamic-header', ['backgroundImage' => $backgroundImage]) @else {{-- Fallback a header moderno si no existe el dinámico --}} @endif {{-- Main FAQs Section --}}
{{-- Paginación superior --}}
@if ($faqs->onFirstPage()) Anterior @else Anterior @endif Página {{ $faqs->currentPage() }} de {{ $faqs->lastPage() }} @if ($faqs->hasMorePages()) Siguiente @else Siguiente @endif

Resultados de búsqueda

@forelse($faqs as $faq)
{!! nl2br($faq->answer) !!}
{{-- --}}
@empty

No hay preguntas frecuentes disponibles

Pronto agregaremos más contenido.

@endforelse
@foreach($categories as $category)

{{ $category->name }}

{{ $category->description ?? 'Preguntas sobre ' . $category->name }}

@foreach($category->faqs as $faq)
{!! nl2br($faq->answer) !!}
@endforeach
@endforeach

No encontramos resultados

Intenta con otros términos de búsqueda o explora las categorías.

{{-- Paginación inferior --}}
@if ($faqs->onFirstPage()) Anterior @else Anterior @endif Página {{ $faqs->currentPage() }} de {{ $faqs->lastPage() }} @if ($faqs->hasMorePages()) Siguiente @else Siguiente @endif
@endsection