@extends('layouts.app') @section('title', $session->title) @section('content')
{{-- Main Stream Area --}}
{{-- Video Player --}}
@if($session->daily_room_url)
@else @if($session->product && $session->product->primaryImage) {{ $session->product->name }} @endif @if($session->active)

Watch Live

Loading...

@endif @endif {{-- LIVE Badge --}} @if($session->active)
LIVE
@endif {{-- Viewer Count --}}
{{ number_format($session->viewers_count) }}
{{-- Floating Reactions --}}
{{-- Session Info Bar --}}
{{ substr($session->promoter->name, 0, 1) }}

{{ $session->title }}

{{ $session->promoter->name }}

@if($session->description)

{{ $session->description }}

@endif
{{-- Featured Product --}} @if($session->product)

Featured Product

@if($session->product->primaryImage) {{ $session->product->name }} @else
@endif
{{ $session->product->name }} @if($session->product->vendor)

by {{ $session->product->vendor->name }}

@endif

${{ number_format($session->product->price, 2) }}

View Details
@endif {{-- Session Stats (for completed) --}} @if($session->completed)

Session Summary

{{ number_format($session->viewers_count) }}

Total Viewers

{{ $session->sales_count }}

Sales Generated

{{ $session->duration }}

Minutes

@endif
{{-- Chat Sidebar --}}
{{-- Chat Header --}}

Live Chat

@if($session->active) Online @else Session ended @endif
{{-- Chat Messages --}}
Welcome to the chat!
{{-- Chat Input --}} @if($session->active && auth()->check())
{{-- Quick Reactions --}}
@elseif(!$session->active)
Chat has ended
@else
Sign in to join the chat
@endif
@push('scripts') @if($session->active) @if($session->daily_room_url && $dailyToken) @endif @endif @endpush @endsection