{{ get_phrase('About Me') }}

{{ Str::limit(strip_tags($tutor_details->biography), 400) }}

{{-- See more --}}
@php $educations = json_decode($tutor_details->educations, true); @endphp @if(isset($educations))

Education

@foreach ($educations as $key => $education)
@php // Use Carbon to parse the dates $startDate = \Carbon\Carbon::parse($education['start_date']); $endDate = isset($education['end_date']) ? \Carbon\Carbon::parse($education['end_date']) : null; // Get the years $startYear = $startDate->format('Y'); $endYear = $endDate ? $endDate->format('Y') : 'Present'; // Show 'Present' if end_date is null @endphp

{{ $startYear }} - {{ $endYear }}

{{ $education['title'] }}

{!! $education['description'] !!}

See more
@endforeach
@endif