@if($app->androidWebViewConfig->layout_template === 'app_bar_tabs')

{{ __('platform.navigation.bottom_nav_bar') }}

{{ __('platform.navigation.bottom_nav_bar_description') }}

@if(count($navigation_items) === 0)

{{ __('platform.navigation.no_navigation_items') }}

@else
@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)
@if(auth()->user()->canUseHostedPages() && $this->getAvailableHostedPages()->count() > 0) @endif
@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
@endif
@endif @if($app->androidWebViewConfig->layout_template !== 'blank')

{{ __('platform.navigation.app_bar_buttons') }}

{{ __('platform.navigation.app_bar_buttons_description') }}

@if(count($app_bar_buttons) === 0)

{{ __('platform.navigation.no_app_bar_buttons') }}

@else
@foreach($app_bar_buttons as $index => $item)
@error('app_bar_buttons.' . $index . '.label') {{ $message }} @enderror
@if(auth()->user()->canUseHostedPages() && $this->getAvailableHostedPages()->count() > 0) @endif
@php $actionType = $item['action_type'] ?? 'internal'; $showValue = !in_array($actionType, ['share']); @endphp @if($showValue)
@if($actionType === 'hosted_page') @else @endif @error('app_bar_buttons.' . $index . '.value') {{ $message }} @enderror
@endif
@endforeach @if(count($app_bar_buttons) >= 3)

{{ __('platform.navigation.max_app_bar_buttons') }}

@endif
@endif
@endif @if($app->androidWebViewConfig->layout_template === 'app_bar_drawer')

{{ __('platform.navigation.drawer_menu_items') }}

{{ __('platform.navigation.drawer_menu_items_description') }}

@php $regularDrawerCount = count(array_filter($drawer_items, fn($item) => !isset($item['is_home']) || !$item['is_home'])); @endphp
@if(count($drawer_items) === 0)

{{ __('platform.navigation.no_drawer_items') }}

@else
@foreach($drawer_items as $index => $item) @php $isHome = isset($item['is_home']) && $item['is_home']; @endphp
@if($isHome)
{{ __('platform.navigation.home_item_badge') }}
@endif
@error('drawer_items.' . $index . '.label') {{ $message }} @enderror
@if(!$isHome)
@if(auth()->user()->canUseHostedPages() && $this->getAvailableHostedPages()->count() > 0) @endif
@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('drawer_items.' . $index . '.value') {{ $message }} @enderror
@endif @endif
@endforeach @php $regularDrawerCount = count(array_filter($drawer_items, fn($item) => !isset($item['is_home']) || !$item['is_home'])); @endphp @if($regularDrawerCount >= 9)

{{ __('platform.navigation.max_drawer_items') }}

@endif
@endif
@endif

{{ __('platform.navigation.behavior_settings') }}

{{ __('platform.navigation.behavior_settings_description') }}

{{ __('platform.navigation.pull_to_refresh') }}

{{ __('platform.navigation.pull_to_refresh_description') }}

@if($app->androidWebViewConfig->layout_template === 'app_bar_drawer')

{{ __('platform.navigation.swipe_navigation') }}

{{ __('platform.navigation.swipe_navigation_disabled') }}

@else

{{ __('platform.navigation.swipe_navigation') }}

{{ __('platform.navigation.swipe_navigation_description') }}

@endif

{{ __('platform.navigation.preserve_tab_state') }}

{{ __('platform.navigation.preserve_tab_state_description') }}

@push('scripts') @endpush