@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(); $type = Illuminate\Support\Str::slug(App\Constants\GlobalConst::USEFUL_LINKS); $policies = App\Models\Admin\SetupPage::orderBy('id')->where('type', $type)->where('status', 1)->get(); $appSettings = App\Models\Admin\AppSettings::first(); @endphp @if (isset($footer->value)) @endif
{{ @$footer->value->language->$lang->footer_text ?? @$footer->value->language->$default->footer_text }}
@include('frontend.partials.scroll-to-top')