@php $header_setting = theme_setting('header.header'); if (!$header_setting) { $header_setting = []; } $hoverMenuBg = array_key_exists('menu_hover_bg_color', $header_setting) ? $header_setting['menu_hover_bg_color'] : '#105EFB'; if (check_module('Localization')) { $current_lang = Modules\Localization\Entities\Language::where('code', LaravelLocalization::getCurrentLocale())->first(); } $current_theme = strtolower(Qirolab\Theme\Theme::active()); $additional_css = App\Models\CustomSetting::where('place', 'additional_css') ->where('theme', $current_theme) ->first(); $data = theme_setting('styling.styling'); if (!$data) { $data = []; } // default colore : '#333333 ' ; $color = array_key_exists('main_color', $data) && $data['main_color'] ? " {$data['main_color']} !important;" : ' #ff700a !important ; '; @endphp {{-- footer & header --}} @if (isset($current_lang) && $current_lang->dir == 'rtl') @endif