Deploy Ladill Meet / deploy (push) Successful in 1m36s
Keep share in the header only, make chat a full-height side panel that pushes video left, and load meet icons from an allowlisted set with cache busting. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
706 B
PHP
24 lines
706 B
PHP
@props(['icon', 'class' => 'h-5 w-5'])
|
|
|
|
@php
|
|
$allowed = [
|
|
'applause',
|
|
'chat',
|
|
'close-breakout',
|
|
'lock',
|
|
'raise-hand',
|
|
'react',
|
|
'screen-share',
|
|
'share',
|
|
'start-breakout',
|
|
'upload-file',
|
|
];
|
|
$iconName = in_array($icon, $allowed, true) ? $icon : null;
|
|
$iconPath = $iconName ? public_path('images/meet-icons/'.$iconName.'.svg') : null;
|
|
$iconVer = ($iconPath && is_file($iconPath)) ? (@filemtime($iconPath) ?: '1') : '1';
|
|
@endphp
|
|
|
|
@if ($iconName)
|
|
<img src="{{ asset('images/meet-icons/'.$iconName.'.svg') }}?v={{ $iconVer }}" alt="" {{ $attributes->merge(['class' => 'meet-toolbar-icon '.$class]) }}>
|
|
@endif
|