@php use App\Library\ComponentLibrary as ComponentLibrary; $themeUiMenuFooterList=ComponentLibrary::themeUiMenuList($uiThemeID,"footer"); $componentName='themes.default.components.footer.' . $uiThemeSettings['theme_footer']; $componentPath = resource_path('views/' . str_replace('.', '/', $componentName) . '.blade.php'); $data=[ "themeUiMenuFooterList"=>$themeUiMenuFooterList ]; @endphp @if (file_exists($componentPath)) @dynamicComponent($componentName) @endif