@extends('admin.layouts.master-soyuz') @section('title', __('Footer Customisation | ')) @section('body') @component('admin.component.breadcumb', ['thirdactive' => 'active']) @slot('heading'){{ __('Footer Customisation') }}@endslot @slot('menu1'){{ __('Front Settings') }}@endslot @slot('menu2'){{ __('Footer') }}@endslot @endcomponent
@if($errors->any())
@foreach($errors->all() as $e)

{{ $e }}

@endforeach
@endif @if(session('updated') || session('added') || session('success'))
{{ session('updated') ?? session('added') ?? session('success') }}
@endif
@csrf
{{-- LEFT — fields --}}
{{-- About paragraph --}}
{{ __('About / Brand Description') }}
{{ __('Recommended: 1–2 short sentences. Plain text — HTML tags are stripped on the storefront.') }}
{{-- Quick benefits bar --}}
{{ __('Quick Benefits Bar') }}
{{ __('Four tiles shown above the storefront footer') }}
@foreach([ ['name' => 'shiping', 'icon' => 'icon_section1', 'placeholder' => __('Shipping over all world')], ['name' => 'mobile', 'icon' => 'icon_section2', 'placeholder' => __('24×7 Support')], ['name' => 'return', 'icon' => 'icon_section3', 'placeholder' => __('30 Days Return')], ['name' => 'money', 'icon' => 'icon_section4', 'placeholder' => __('Money Back Guarantee')], ] as $i => $tile) @php $iconVal = $row->{$tile['icon']} ?? ''; @endphp
{{ __('Tile :n', ['n' => $i + 1]) }}
{{ __('Pick a Font Awesome 4 icon from the picker, or type the class manually (e.g. fa fa-truck).') }}
@endforeach
{{-- Column headings --}}
{{ __('Footer Column Headings') }}
@foreach([ ['name' => 'footer2', 'placeholder' => __('Customer Services'), 'label' => __('Column 1 — under About')], ['name' => 'footer3', 'placeholder' => __('Our Policies'), 'label' => __('Column 2 — middle')], ['name' => 'footer4', 'placeholder' => __('Quick Tour'), 'label' => __('Column 3 — right')], ] as $col)
@endforeach
{{ __('These are the section titles. Add the actual links in the Footer Menu section.') }}
{{-- /col-lg-8 ABOVE FOOTER FORM --}} {{-- RIGHT — sticky save card + tips --}}
{{ __('Save Changes') }}

{{ __('Updates apply on the next storefront page load.') }}

{{ __('Preview storefront') }}
{{ __('Where these show') }}
  • {{ __('About') }} — {{ __('Renders next to the logo in the storefront footer.') }}
  • {{ __('Quick Benefits Bar') }} — {{ __('The 4 icon tiles directly above the footer columns.') }}
  • {{ __('Column Headings') }} — {{ __('Section titles for the 3 footer link columns.') }}
  • {{ __('Each tile is hidden automatically if both its label and icon are empty.') }}
{{-- ============= SOCIAL ICONS (separate forms — can't be nested) ============= --}}
{{ __('Social Icons') }}
{{ __('Show in the storefront footer next to copyright') }}
@php $iconChoices = [ 'facebook' => ['label' => 'Facebook', 'class' => 'fa fa-facebook', 'tone' => '#1877f2'], 'fb' => ['label' => 'Facebook', 'class' => 'fa fa-facebook', 'tone' => '#1877f2'], 'twitter' => ['label' => 'Twitter', 'class' => 'fa fa-twitter', 'tone' => '#1da1f2'], 'tw' => ['label' => 'Twitter', 'class' => 'fa fa-twitter', 'tone' => '#1da1f2'], 'instagram' => ['label' => 'Instagram', 'class' => 'fa fa-instagram', 'tone' => '#e4405f'], 'ig' => ['label' => 'Instagram', 'class' => 'fa fa-instagram', 'tone' => '#e4405f'], 'youtube' => ['label' => 'YouTube', 'class' => 'fa fa-youtube-play', 'tone' => '#ff0000'], 'yt' => ['label' => 'YouTube', 'class' => 'fa fa-youtube-play', 'tone' => '#ff0000'], 'linkedin' => ['label' => 'LinkedIn', 'class' => 'fa fa-linkedin', 'tone' => '#0a66c2'], 'in' => ['label' => 'LinkedIn', 'class' => 'fa fa-linkedin', 'tone' => '#0a66c2'], 'pinterest' => ['label' => 'Pinterest', 'class' => 'fa fa-pinterest', 'tone' => '#e60023'], 'pin' => ['label' => 'Pinterest', 'class' => 'fa fa-pinterest', 'tone' => '#e60023'], 'whatsapp' => ['label' => 'WhatsApp', 'class' => 'fa fa-whatsapp', 'tone' => '#25d366'], 'wa' => ['label' => 'WhatsApp', 'class' => 'fa fa-whatsapp', 'tone' => '#25d366'], 'telegram' => ['label' => 'Telegram', 'class' => 'fa fa-telegram', 'tone' => '#0088cc'], 'tg' => ['label' => 'Telegram', 'class' => 'fa fa-telegram', 'tone' => '#0088cc'], 'tiktok' => ['label' => 'TikTok', 'class' => 'fa fa-music', 'tone' => '#000000'], 'snapchat' => ['label' => 'Snapchat', 'class' => 'fa fa-snapchat-ghost', 'tone' => '#fffc00'], 'discord' => ['label' => 'Discord', 'class' => 'fa fa-comments', 'tone' => '#5865f2'], 'github' => ['label' => 'GitHub', 'class' => 'fa fa-github', 'tone' => '#181717'], ]; @endphp {{-- Existing icons (stacked cards — keeps each form valid HTML) --}} @if(count($socials))
@foreach($socials as $s) @php $meta = $iconChoices[strtolower((string) $s->icon)] ?? ['label' => $s->icon, 'class' => 'fa fa-share-alt', 'tone' => '#3b6df0']; @endphp
@csrf @method('PUT')
@csrf @method('DELETE')
@endforeach
@else

{{ __('No social icons yet — add the first one below.') }}

@endif {{-- Add new icon --}}
{{ __('Add a new social icon') }}
@csrf
@endsection @section('custom-script') @endsection