@extends('frontend.layouts.app') @php use App\Helpers\Helper; @endphp @section('title', 'FAQs') @section('content') {{-- Hero Section --}} @include('frontend.partials.hero', [ 'mainHeading' => Helper::contentText('pages.faq'), 'subHeading' => Helper::contentText('pages.faq_description'), 'breadcrumb1' => [ 'name' => __('route.home'), 'route' => route('home'), ], 'breadcrumb2' => [ 'name' => __('route.faq'), 'route' => route('faqs'), 'class' => 'text-gray-400', ], 'breadcrumb3' => null, 'breadcrumb4' => null, ]) @php $isEn = app()->getLocale() == 'en'; @endphp @if ($faqCategories->isEmpty()) {{ $isEn ? 'No FAQs available yet.' : 'अहिलेसम्म कुनै प्रश्न उपलब्ध छैन।' }} @else {{-- Categories: pills on small screens, sticky list on desktop --}} {{-- Questions --}} {{ $isEn ? 'Search questions' : 'प्रश्न खोज्नुहोस्' }} {{-- loaded via AJAX --}} @for ($i = 0; $i < 4; $i++) @endfor {{ $isEn ? 'No questions match your search.' : 'तपाईंको खोजसँग मेल खाने प्रश्न भेटिएन।' }} @endif {{-- Contact Details --}} @include('frontend.partials.contact-detail') @endsection @push('styles') @endpush @push('scripts') @endpush
{{ $isEn ? 'No FAQs available yet.' : 'अहिलेसम्म कुनै प्रश्न उपलब्ध छैन।' }}
{{ $isEn ? 'No questions match your search.' : 'तपाईंको खोजसँग मेल खाने प्रश्न भेटिएन।' }}