@extends('layouts.main') @section('breadcrumbs') @if(isset($brand) and $brand instanceof \App\Models\Manufacturer) @if(isset($generation) and $generation instanceof \App\Models\Generation) {{ Breadcrumbs::render('generation', ['manufacturer' => $brand, 'model' => $model, 'generation' => $generation]) }} @elseif(isset($model) and $model instanceof \App\Models\CarModel) {{ Breadcrumbs::render('model', ['manufacturer' => $brand, 'model' => $model]) }} @else {{ Breadcrumbs::render('manufacturer', $brand) }} @endif @endif @endsection @section('content')