@extends('home::layouts.UserLayout') @section('title') {{env('WEBSITE_TITLE')}} | Medium Feeds @endsection @section('links') @endsection @section('content')
@if(count($accounts)>0)
{{$accounts[0]->first_name}}
{{$accounts[0]->user_name}}
Create Post On User's Medium Profile
@else
Currently, no Medium account added to this team or Accounts have been locked.
@endif

All Publications

@if($message === 'failed')
Can not get publications as :Some error occured in getting publicatiosn
@else @if(isset($publications)) @if($publications['code']=== 200) @foreach($publications['data'] as $data)
image
{{$data->name}}

{{$data->description}}

@endforeach @elseif($publications['code']=== 400)
{{$publications['error']}}
@else
Some error occured, can not get publications
@endif @else
Can not get User's publications as :Currently no Medium Account has been added for this team yet! or Accounts has been locked
@endif @endif
@foreach($accounts as $data)