@props(['page'=> null]) @php $footerVariations = setting('_front_page_settings.footer_variation_for_pages'); $footerVariation = ''; if (!empty($footerVariations)) { foreach ($footerVariations as $key => $variation) { if($variation['page_id'] == $page?->id) { $footerVariation = $variation['footer_variation']; break; } } } @endphp @if($footerVariation != 'am-footer_three') @else @endif