Files
ladill-meet/resources/views/meet/room/partials/meet-icon.blade.php
T
isaaccladandCursor 1037cd6ee6
Deploy Ladill Meet / deploy (push) Successful in 37s
Add conference stage layouts for plenary and panel discussions.
Speakers get a full-screen spotlight with overlapping audience avatars; hosts can configure panels in the green room and switch layouts live.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 21:03:02 +00:00

30 lines
869 B
PHP

@props(['icon', 'class' => 'h-5 w-5', 'inverted' => true])
@php
$allowed = [
'applause',
'chat',
'close-breakout',
'end',
'leave',
'lock',
'personal',
'panel',
'raise-hand',
'react',
'schedule',
'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';
$iconClass = trim(($inverted ? 'meet-toolbar-icon ' : '').$class);
@endphp
@if ($iconName)
<img src="{{ asset('images/meet-icons/'.$iconName.'.svg') }}?v={{ $iconVer }}" alt="" {{ $attributes->merge(['class' => $iconClass]) }}>
@endif