@foreach($team_types_data as $team_type)
@foreach($team_type as $data)
@if ($data->team_type == $team_type_record->team_type)
@if ($data->team_type === 'Our Founders')
{{$data->name}}
{{$data->occupation}}
@if (!empty($data->twitter) || !empty($data->linkedIn) || !empty($data->instagram) || !empty($data->facebook) || !empty($data->youtube))
@if (!empty($data->twitter))
-
@endif
@if (!empty($data->linkedIn))
-
@endif
@if (!empty($data->instagram))
-
@endif
@if (!empty($data->facebook))
-
@endif
@if (!empty($data->youtube))
-
@endif
@endif
@else
{{$data->name}}
{{$data->occupation}}
@if (!empty($data->twitter) || !empty($data->linkedIn) || !empty($data->instagram) || !empty($data->facebook) || !empty($data->youtube))
@if (!empty($data->twitter))
-
@endif
@if (!empty($data->linkedIn))
-
@endif
@if (!empty($data->instagram))
-
@endif
@if (!empty($data->facebook))
-
@endif
@if (!empty($data->youtube))
-
@endif
@endif
@endif
@endif
@endforeach
@endforeach