@php $logo = get_theme_option(key: 'theme_logo', theme_slug: 'elearning-education') ?? (get_theme_option(key: 'theme_logo') ?? []); $defaultLogo = isset($logo['logo']) && fileExists('lms/theme-options', $logo['logo']) == true ? asset("storage/lms/theme-options/{$logo['logo']}") : asset('lms/frontend/assets/images/logo/default-logo-dark.svg'); $footerLogo = isset($logo['footer_logo']) && fileExists('lms/theme-options', $logo['footer_logo']) == true ? asset("storage/lms/theme-options/{$logo['footer_logo']}") : asset('lms/frontend/assets/images/logo/default-logo-dark.svg'); $favIcon = isset($logo['favicon']) && fileExists('lms/theme-options', $logo['favicon']) == true ? asset("storage/lms/theme-options/{$logo['favicon']}") : asset('lms/frontend/assets/images/favicon.ico'); $menuClass = [ 'wrapper' => 'text-white', 'dropdown_wrapper' => '', 'dropdown_link' => '', ]; $searchClass = [ 'input' => 'border-white/15 rounded-none text-white/70', ]; $footerBg = asset('lms/frontend/assets/images/footer/footer-two-bg.png'); $settings = [ 'menus' => get_menus(), 'header' => [ 'theme' => active_theme_slug(), ], 'menu_class' => $menuClass, 'search_class' => $searchClass, 'default_logo' => $defaultLogo, 'footer_logo' => $footerLogo, 'fav_icon' => $favIcon, 'components' => [], 'loggedin' => [ 'link_class' => 'btn b-solid btn-primary-solid btn-lg h-11 !rounded-none font-semibold', ], 'login' => [ 'url' => route('login'), 'label' => translate('Log In'), 'is_show' => false, 'link_class' => 'btn b-solid btn-primary-solid btn-lg h-11 !rounded-none font-semibold', ], 'register' => [ 'url' => route('auth.register'), 'label' => translate('Get Started Now'), 'is_show' => true, 'show_icon' => false, 'link_class' => 'btn b-solid btn-primary-solid btn-lg h-11 !rounded-none font-semibold', ], 'cart' => [ 'is_show' => true, 'url' => route('cart.page'), 'icon_image' => asset('lms/frontend/assets/images/icons/cart-white.svg'), 'link_class' => 'relative hidden sm:flex-center text-white px-2 py-3 shrink-0', 'badge_class' => 'flex-center size-6 rounded-50 bg-primary text-xs text-white border border-heading absolute top-0 -right-1 rtl:right-auto rtl:-left-1', ], 'wishlist' => [ 'is_show' => true, 'icon_image' => asset('lms/frontend/assets/images/icons/wish-list-white.svg'), 'link_class' => 'relative hidden sm:flex-center text-white px-2 py-3 shrink-0', 'badge_class' => 'flex-center size-6 rounded-50 bg-primary text-xs text-white border border-heading absolute top-0 -right-1 rtl:right-auto rtl:-left-1', ], 'footer' => [ 'wrapper_class' => 'bg-[#1B253A] mt-16 sm:mt-24 lg:mt-[120px] bg-[length:100%_100%]', 'wrapper_style' => "background-image: url($footerBg)", 'theme' => active_theme_slug(), ], 'subscribe' => [ 'btn_text' => translate('Subscribe'), 'wrapper_class' => 'mt-6', 'input_class' => 'form-input bg-heading text-white/40 h-12 rounded-none px-4 border border-border grow', 'btn_class' => 'btn b-solid btn-primary-solid rounded-none w-full mt-3', ], ]; @endphp {{-- About Us Section --}} {{-- Featured Course --}} {{-- Instructor Slider --}} {{-- Testimonial --}} {{-- Poster Banner --}} {{-- Popular Courses --}} {{-- Latest Blogs --}}