@extends('layout.app') @section('contents')
{{Auth::user()->name}}
@if(Auth::user()->profile_image == null) ... @else ... @endif

{{count($boards)}} Boards {{-- {{count($followers)}} Following --}} {{count($pins)}} Pins {{count($likes)}} Likes My Media {{count($followers)}}Follower + Create a New Board Edit Profile

@if(count($boards) > 0)
@foreach($boards as $main_key => $board)
{{$board->name}}
@foreach($board_details[$main_key] as $details)
@if($details->media->upload->section_id == 3) ... @else @endif
@endforeach @for($i = count($board_details[$main_key]); $i < 4 ; $i++)
...
@endfor
@endforeach
{{$boards->links()}}
@else
No Board created yet
@endif
@endsection