@extends('layouts.app') @section('title') {{ __('home.webinars') }} @endsection @section('content')
@if ($user->image) {{ $user->name() }} @else avatar @endif

{{ $user->name() }}

{{ $user->email }}
@include('userboard.partials.sideUserDashboard')
@lang('home.webinars')
@forelse ($my_webinars as $my_webinar)
{{ $my_webinar->webinar->{'name_' . $lang} }}
{{ $my_webinar->webinar->speaker }}
{{ $my_webinar->webinar->price == 0 ? __('home.free') : $my_webinar->webinar->price . ' ' . __('home.EGP') }}
{{ \Carbon\Carbon::parse($my_webinar->webinar->start_date)->format('F j, Y') }}
{{ $my_webinar->webinar->{'name_' . $lang} }}
@if ($my_webinar->webinar->video_link) @lang('home.Watch Event') @else @lang('home.Video not exist yet') @endif
@empty
{{__('home.empty')}}
@endforelse
@endsection @section('script') @if(session()->has('success')) @endif @endsection