@php $logo_options = get_theme_option(key: 'theme_logo', theme_slug: 'digital-education') ?? (get_theme_option(key: 'theme_logo') ?? []); $defaultLogo = isset($logo_options['logo']) && fileExists('lms/theme-options', $logo_options['logo']) == true ? asset("storage/lms/theme-options/{$logo_options['logo']}") : asset('lms/frontend/assets/images/logo/default-logo-dark.svg'); $footerLogo = isset($logo_options['footer_logo']) && fileExists('lms/theme-options', $logo_options['footer_logo']) == true ? asset("storage/lms/theme-options/{$logo_options['footer_logo']}") : asset('lms/frontend/assets/images/logo/default-logo-dark.svg'); $favIcon = isset($logo_options['favicon']) && fileExists('lms/theme-options', $logo_options['favicon']) == true ? asset("storage/lms/theme-options/{$logo_options['favicon']}") : asset('lms/frontend/assets/images/favicon.ico'); $headerClass = 'bg-transparent absolute top-3 lg:top-0 left-0 right-0 z-[20] sticky-header [&.sticky]:!top-0 [&.sticky]:!shadow-none group/header'; $headerWrapperClass = 'flex-center-between px-5 py-4 bg-white/10 backdrop-blur-[10px] rounded-[10px] group-[.sticky]/header:rounded-t-none group-[.sticky]/header:bg-heading'; $rightActionsWrapperClass = 'self-end flex items-center gap-5'; $menuClass = [ 'wrapper' => 'text-white', 'dropdown_wrapper' => 'bg-secondary', 'dropdown_link' => 'hover:before:bg-primary', ]; $searchClass = [ 'input' => ' text-white/70 border-white/10', ]; $active_theme_slug = active_theme_slug(); $settings = [ 'menus' => get_menus(), 'active_theme_slug' => $active_theme_slug, 'header' => [ 'theme' => $active_theme_slug, ], 'header_class' => $headerClass, 'header_wrapper_class' => $headerWrapperClass, 'right_actions_wrapper_class' => $rightActionsWrapperClass, 'default_logo' => $defaultLogo, 'footer_logo' => $footerLogo, 'fav_icon' => $favIcon, 'menu_class' => $menuClass, 'search_class' => $searchClass, 'components' => [ 'inner-header-top' => 'inner-header-top', ], 'loggedin' => [ 'link_class' => 'btn b-solid btn-primary-solid btn-lg h-11 !text-heading font-semibold', ], 'login' => [ 'url' => route('login'), 'label' => 'Log In', 'is_show' => false, 'link_class' => 'btn b-solid btn-primary-solid btn-lg h-11 !text-heading font-semibold', ], 'register' => [ 'url' => route('auth.register'), 'label' => 'Join for free', 'is_show' => true, 'show_icon' => false, 'link_class' => 'btn b-solid btn-primary-solid btn-lg h-11 !text-heading 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-secondary text-xs text-white absolute top-0 -right-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-secondary text-xs text-white absolute top-0 -right-1', ], 'footer' => [ 'wrapper_class' => 'bg-gradient-to-t from-[#16413B] to-[#3C5F3F] mt-16 sm:mt-24 lg:mt-[120px]', 'theme' => $active_theme_slug, ], ]; @endphp @push('css') @endpush {{-- START ABOUT US --}} {{-- END ABOUT US --}} @push('js') @endpush