@extends('layouts.main') @include('site.meta.og_content') @section('content') @php // dd($data->infographs); @endphp @if($data->banner) @endif @if($data->category =='Events') {{-- GMF Events: {{$data->name}} --}} Date {{$data->start_date}} Type of event {{$data->type}} @endif Home Resources {{$data->category}} {{$data->name}} {{$data->sub_headline}} {!!$data->description!!} @forelse ($data->assets as $key => $value) {{$value['label']}} @empty @endforelse @if($data->cta_type=='internal') {{-- Register --}} @else @forelse ($data->cta as $key => $value) {{$value['label']}} @empty @endforelse @endif @if($data->infographs) {{$data->infographs['title']}} @foreach($data->infographs['images'] as $key=>$value) @endforeach Download {{$data->infographs['description']}} @endif @if($data->cta_type=='internal') {{-- Register --}} @else @forelse ($data->cta as $key => $value) {{$value['label']}} @empty @endforelse @endif @if(!empty($data->author)) Author {{-- --}} {{$data->author->name}} {{$data->author->designation}} | {{$data->author->company_name}} {{$data->author->description}} @endif {{-- --}} @php $pageview=[ 'heading' => $data->name, 'category'=>'resource', 'topic'=>$data->category, 'topic_id'=>$data->id ]; @endphp @stop @push('style') @endpush @push('script') @endpush
{{$data->infographs['description']}}
{{$data->author->description}}