@extends('layouts.partner') @section('title', 'Pesquisa') @section('content')

Pesquisa: "{{ $q }}"

@php $labels = ['material' => 'Materiais', 'hotel' => 'Hotéis', 'campaign' => 'Campanhas', 'experience' => 'Experiências', 'sales_kit' => 'Sales Kits']; @endphp @if ($q === '')

Escreve algo na pesquisa do topo para procurar em materiais, hotéis, campanhas, experiências e sales kits.

@elseif ($grouped->isEmpty())

Sem resultados para "{{ $q }}".

@else @foreach ($grouped as $type => $items)

{{ $labels[$type] ?? $type }}

@foreach ($items as $r) {{ $r->title }} {{ $r->subtitle }} @endforeach
@endforeach @endif @endsection