@php use Botble\Base\Facades\BaseHelper; /** * Footer Style 8 — white variant of style-5. Mirrors home-fashion-2.html * `tf-footer footer-s5 bg-white`. Same 5-col structure as style-5 / style-6 * (TOP STRIP 4 box-icons + MIDDLE 5 cols + BOTTOM payment list) but with * pure white #fff background, BLACK text + icons, and subtle grey dividers. * * Top-strip box-icon items reuse the same `footer_service_*` theme options * as style-5/6 so admin-driven copy works for all three. */ // Top-strip service callouts (4 boxes). Read from theme options or use demo defaults. $services = []; for ($i = 1; $i <= 4; $i++) { $defaults = [ 1 => ['icon' => 'icon-ArrowUDownLeft', 'title' => __('14-Day Returns'), 'text' => __('Risk-free shopping with easy returns.')], 2 => ['icon' => 'icon-Package', 'title' => __('Free Shipping'), 'text' => __('No extra costs, just the price you see.')], 3 => ['icon' => 'icon-Headset', 'title' => __('24/7 Support'), 'text' => __('24/7 support, always here just for you.')], 4 => ['icon' => 'icon-SealPercent', 'title' => __('Member Discounts'), 'text' => __('Special prices for our loyal customers.')], ]; $iconClass = trim((string) theme_option("footer_service_icon_$i", $defaults[$i]['icon'])); $title = trim((string) theme_option("footer_service_title_$i", $defaults[$i]['title'])); $text = trim((string) theme_option("footer_service_text_$i", $defaults[$i]['text'])); if ($title !== '' || $text !== '') { $services[] = ['icon' => $iconClass, 'title' => $title, 'text' => $text]; } } $defaultMyAccountLinks = [ ['label' => __('Login'), 'url' => '/login'], ['label' => __('Sign up'), 'url' => '/register'], ['label' => __('My Account'), 'url' => '/customer/overview'], ['label' => __('Wish List'), 'url' => '/wishlist'], ]; $hasCurrencies = is_plugin_active('ecommerce') && method_exists(\Botble\Ecommerce\Supports\CurrencySupport::class, 'currencies') && get_all_currencies()->count() > 1; $hasLanguages = is_plugin_active('language') && count(\Botble\Language\Facades\Language::getSupportedLocales() ?? []) > 1; @endphp {{-- TOP STRIP: 4-up box-icon_V01 style-3 grid (NOT swiper for cream variant — demo shows static 4-col). --}} @if (! empty($services))
@foreach ($services as $svc)
@if (! empty($svc['icon'])) @endif
@if (! empty($svc['title']))

{!! BaseHelper::clean($svc['title']) !!}

@endif @if (! empty($svc['text']))

{!! BaseHelper::clean($svc['text']) !!}

@endif
@endforeach
@endif {{-- White variant footer layout (footer-s5.bg-white) lives in assets/sass/component/_inline-migrated.scss. --}} {{-- MIDDLE: 5-col footer (Our Store / Company / Customer / My Account / Newsletter) with vertical dividers --}}
{{-- BOTTOM: currency + lang switchers, copyright, payment list --}}