@props([ 'image' => null, 'title' => '', 'description' => '', 'contentType' => false, 'theme' => 'light', 'url' => '#', 'duration' => '', 'listenableData' => null, ]) class('block sm:flex gap-7 ' . ($theme==='dark'?'text-white':'')) }} x-data="{ duration: @js($duration), secondsRemaining: @js($listenableData['seconds_remaining'] ?? null), formatMinutesRemaining(seconds) { const minutes = Math.ceil(seconds / 60); return `${minutes} minute${minutes !== 1 ? 's' : ''} left`; } }" >
@if($contentType)

{{ $contentType }}

@endif

{{ $title }}

{{ $context ?? '' }}

{!! $description !!}