@php $lang = selectedLang(); $default = App\Constants\LanguageConst::NOT_REMOVABLE; $footer_slug = Illuminate\Support\Str::slug(App\Constants\SiteSectionConst::FOOTER_SECTION); $footer = App\Models\Admin\SiteSections::getData($footer_slug)->first(); $contact_slug = Illuminate\Support\Str::slug(App\Constants\SiteSectionConst::CONTACT_SECTION); $contact = App\Models\Admin\SiteSections::getData($contact_slug)->first(); $type = Illuminate\Support\Str::slug(App\Constants\GlobalConst::USEFUL_LINKS); $policies = App\Models\Admin\SetupPage::orderBy('id')->where('type', $type)->where('status',1)->get(); @endphp
@if(isset($footer->value)) @if(isset($contact->value)) @endif @endif