@props(['page'=> null]) @php $headerVariations = setting('_front_page_settings.header_variation_for_pages'); $headerVariation = ''; if (!empty($headerVariations)) { foreach ($headerVariations as $key => $variation) { if($variation['page_id'] == $page?->id) { $headerVariation = $variation['header_variation']; break; } } } @endphp @if ($headerVariation == 'am-header_four')
@auth @endauth @guest @endguest
@elseif ($headerVariation == 'am-header_seven')
@guest {{ __('general.login') }} @endguest @auth @endauth
@guest @endguest
@else
(empty($page) && !in_array(request()->route()->getName(), ['find-tutors','tutor-detail'])) || in_array($page?->slug, ['about-us', 'how-it-works', 'faq', 'terms-condition', 'privacy-policy']) ])>
@auth @endauth @guest @endguest
@endif