@foreach($content as $block)
@if($block->type == "headerRichA")
@php($block->image->url = $block->image->crops->{'16:9'}->{'1600'})
{{$block->image->title}}
@if($block->image->author)
{{$block->image->author}}
@endif
@elseif($block->type == "text")
{!!$block->text!!}
@elseif($block->type == "intro")
{{strip_tags($block->text)}}
@elseif($block->type == "quote")
{!!$block->text!!}
{{$block->name}}
@elseif($block->type == "image")
image->imageWide))
$image = $block->image->imageWide;
else if(isset($block->image->crops) && isset($block->image->crops->{'16:9'}))
foreach($block->image->crops->{'16:9'} as $image) break;
else if(isset($block->image->imageHigh))
$image = $block->image->imageHigh;
else $image = null;
?>
@if($image)
@if($block->image->title)
{{$block->image->title}}
@endif
@if($block->image->author)
{{$block->image->author}}
@endif
@endif
@elseif($block->type == "video" || $block->type == "headerVideo")
@include('widgets/mediaplayer')
{{$block->video->author}}
@elseif($block->type == "carousel")
@endif
@endforeach