@foreach($structures as $structure)
<a class="mdl-navigation__link" href="">{{$structure->root}}</a>
@foreach($structure as $folder)
<a class="mdl-navigation__link" href="">{{ $structures[0]->folders->foldersname }}</a>
@endforeach
@endforeach