@php $socialElement = getContent('social_icon.element', orderById: true); $policyPages = getContent('policy_pages.element', orderById: true); $pages = App\Models\Page::where('tempname', $activeTemplate)->where('is_default', 0)->latest('id')->get(); $contactElement = getContent('contact.element', orderById: true); $footerContent = getContent('footer.content', true); @endphp