@php // Theme Options and Setting $front_locale = getFrontLocale(); $active_theme = getActiveTheme(); $social_options = getThemeOption('social', $active_theme->id); $contact_option = getThemeOption('contact', $active_theme->id); $is_social = true; $is_logo = true; $is_text = false; $all_socials = isset($social_options['social_field']) ? json_decode($social_options['social_field']) : null; $footer_logo = isset($dark_logo) ? project_asset($dark_logo) : null; $logo_url = route('theme.default.home'); $logo_alignment = 'left'; $text_alignment = $rtl ? 'right' : 'left'; $social_alignment = $rtl ? 'right' : 'left'; $footer_copyright_text = $copyright_text; if (isset($footer['custom_footer_style']) && $footer['custom_footer_style'] == 1) { $is_social = isset($footer['footer_social_enable']) && $footer['footer_social_enable'] == 1 ? true : false; if (isset($footer['footer_logo_enable']) && $footer['footer_logo_enable'] == 1) { $is_logo = true; $logo_url = isset($footer['footer_logo_anchor_url']) ? $footer['footer_logo_anchor_url'] : ''; $logo_alignment = isset($footer['footer_logo_alignment']) ? $footer['footer_logo_alignment'] : 'center'; } else { $is_logo = false; } if (isset($footer['footer_text_enable']) && $footer['footer_text_enable'] == 1) { $is_text = true; $text_alignment = isset($footer['footer_text_alignment']) ? $footer['footer_text_alignment'] : 'left'; } else { $is_text = false; } } $footer_menus = getMenuItemsById(30); $address_init = ($front_locale == 'gr') ? 'Δ' : 'A'; $fax_init = ($front_locale == 'gr') ? 'Φ' : 'F'; $email_init = ($front_locale == 'gr') ? 'Η' : 'E'; @endphp