@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')
@elseif ($headerVariation == 'am-header_seven')
@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'])
])>
@endif