選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

content-handler.blade.php 637B

12345678910111213141516
  1. @props([
  2. 'item',
  3. ])
  4. @if(isset($item['panelId']))
  5. {{-- Render a submenu toggle for groups in the main panel --}}
  6. <x-panel-shift-dropdown.toggle :label="$item['label']" :icon="$item['icon']" :panel-id="$item['panelId']" />
  7. @elseif(!empty($item['items']))
  8. {{-- For nested groups, recursively render their items --}}
  9. @foreach($item['items'] as $nestedItem)
  10. <x-panel-shift-dropdown.content-handler :item="$nestedItem" />
  11. @endforeach
  12. @elseif(isset($item['url']))
  13. {{-- Render standalone items --}}
  14. <x-panel-shift-dropdown.item :url="$item['url']" :label="$item['label']" :icon="$item['icon']" />
  15. @endif