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