@php
$sectionNames = [
'FOOTER_ABOUT' => 'About',
'FOOTER_POLICY' => 'Policies, Strategy & Action Plans',
'FOOTER_LIBRARY' => 'Library',
'FOOTER_LINK' => 'Related Link',
];
$footerLinks = \App\Models\Backend\ContentApplication::with(['translations' => function ($q) {
$q->where('application_translation_main', 1);
}])
->where('application_status', 'ACTIVE')
->whereIn('application_cat', array_keys($sectionNames))
->orderBy('application_cat')
->orderBy('application_sort')
->get()
->groupBy('application_cat');
@endphp