{{ __('platform.navigation.no_navigation_items') }}
@foreach($navigation_items as $index => $item)
@php
$isHome = isset($item['is_home']) && $item['is_home'];
@endphp
@if($isHome)
{{ __('platform.navigation.home_tab_badge') }}
@endif
@error('navigation_items.' . $index . '.label')
{{ $message }}
@enderror
@if(!$isHome)
@endif
@if($isHome)
{{ $app->androidWebViewConfig->url }}
{{ __('platform.navigation.synced_from_general') }}
@else
@php
$actionType = $item['action_type'] ?? 'internal';
$showValue = !in_array($actionType, ['share']);
@endphp
@if($showValue)
@if($actionType === 'hosted_page')
@else
@endif
@error('navigation_items.' . $index . '.value')
{{ $message }}
@enderror
@endif
@endif
@endforeach
@php
$regularTabsCount = count(array_filter($navigation_items, fn($item) => !isset($item['is_home']) || !$item['is_home']));
@endphp
@if($regularTabsCount >= 8)
{{ __('platform.navigation.max_navigation_items') }}
@endif