@use('App\Models\Language') @use('App\Models\LandingPage') @php $locale = Session::get('front-locale', getDefaultLangLocale()); $landingPage = LandingPage::first()?->toArray($locale) ?? []; $content = $landingPage['content'] ?? []; $flag = Language::where('locale', Session::get('front-locale', getDefaultLangLocale()))->pluck('flag')->first(); $menuLabel = [ 'home' => __('menu.home'), 'why_cabbooking' => __('menu.why_cabbooking'), 'how_it_works' => __('menu.how_it_works'), 'faqs' => __('menu.faq'), 'blogs' => __('menu.blog'), 'testimonials' => __('menu.testimonial'), 'raise_ticket' => __('menu.raise_ticket'), ]; @endphp @if (@$content['header']['status'] == 1)
{{ @$content['header']['btn_text'] }}
@endif