@php $introSeminarSlug = 'Introductory-seminar'; $seminarTargetUrl = url('/course/'.$introSeminarSlug); $coursesUrl = url('/classes'); $seminarBgUrl = asset('assets/default/img/montessori-premium/seminar-hero-classroom.jpg'); $seminarVideoRel = 'assets/default/img/montessori-premium/seminar-hero-classroom.mp4'; $seminarVideoPath = public_path($seminarVideoRel); $seminarVideoUrl = is_file($seminarVideoPath) ? asset($seminarVideoRel) : null; $seminarWebinar = App\Models\Webinar::where('slug', $introSeminarSlug)->first(); $seminarTitle = $seminarWebinar ? $seminarWebinar->title : trans('home.seminar_hero_default_title'); @endphp
{{-- Add seminar-hero-classroom.mp4 next to the .jpg in montessori-premium for a looping video background --}} @if($seminarVideoUrl) @endif
{{ trans('home.seminar_hero_banner') }}

{{ $seminarTitle }}