@inject('helper', 'App\Helpers\BladeHelper') @extends('site.layout.app') @section('content')
@php $photos = array_values($data->getFiles('photo')->toArray()); $photo = $helper->cropImg(public_path($photos[0]['file']),654,764); @endphp
img
{{ $data['name'] }}
{{ $data['position'] }}
{!! $data['description_'.$locale] !!}
@stop