{{-- x-classroom-poll-widget Rendered INSIDE #panel-poll in live.blade.php (FIX BUG-P1). No longer a floating overlay — it lives in the sidebar poll tab. FIX BUG-P1: Widget is now placed inside #panel-poll, not outside the panel. FIX BUG-P2: No fixed/absolute positioning needed — it flows naturally in the panel. FIX BUG-P3: sessionId prop is accepted but not needed in template (used by JS). --}} @props(['sessionId', 'poll' => null, 'isTeacher' => false])
📊 @if($isTeacher) Active Poll @else Quick Question! 🎯 @endif
{{ $poll?->question ?? '' }}
@if($isTeacher) Vote now! @else Quick question time! Answer now! 🎯 @endif