@extends('frontend.layouts.app') @section('title', 'Quick Links') @section('content') {{-- Hero Section --}} @include('frontend.partials.hero', [ 'mainHeading' => __('pages.quick_link'), 'subHeading' => __('pages.quick_link_description'), 'breadcrumb1' => [ 'name' => __('route.home'), 'route' => route('home'), ], 'breadcrumb2' => [ 'name' => __('route.quick_link'), 'route' => route('quick-link'), 'class' => 'text-gray-400', ], 'breadcrumb3' => null, 'breadcrumb4' => null, ]) {{-- Quick Links Section --}}
@php // Flatten grouped quickLinks into a single collection/array $allLinks = collect([]); if (!empty($quickLinks) && $quickLinks->isNotEmpty()) { foreach ($quickLinks as $group) { // if group is array or collection $allLinks = $allLinks->merge(collect($group)); } } @endphp @if ($allLinks->isNotEmpty()) @else

{{ app()->getLocale() == 'en' ? 'No quick links available.' : 'कुनै छिटो लिंक उपलब्ध छैन।' }}

@endif
{{-- Contact Details --}} @include('frontend.partials.contact-detail') @endsection @push('scripts') @endpush