@extends('layouts.app') @section('title') @lang('home.webinars') @endsection @section('content')
@if (count($next_webinars) > 0)

@lang('home.Upcoming Webinars')

@foreach ($next_webinars as $next_webinar)
{{ \Carbon\Carbon::parse($next_webinar->start_date)->format('F j, Y') }}
{{--
{{ \Carbon\Carbon::parse($next_webinar->start_date)->format(' g:i A') }}
--}} @if($next_webinar->type)
{{ trans('home.' . $next_webinar->type) }}
@endif
{{ $next_webinar->{'name_'.$lang} }}
@endforeach {{ $next_webinars->links() }}
@else
no data image

{{trans('home.no data found in this page')}}

@endif @if (count($previous_webinars) > 0)

@lang('home.Previous Webinars')

@foreach ($previous_webinars as $previous_webinar)
{{ \Carbon\Carbon::parse($previous_webinar->start_date)->format('F j, Y') }}
{{ \Carbon\Carbon::parse($previous_webinar->start_date)->format(' g:i A') }}
{{ $previous_webinar->{'name_'.$lang} }}
{{-- --}}
@endforeach {{ $previous_webinars->links() }}
@endif
@endsection @section('script') @endsection