@extends('backend.admin-master') @section('style') @endsection @section('site-title') {{__('Header Area')}} @endsection @section('content')
@include('backend/partials/message')

{{__('Header Area Settings')}}

@csrf @php $all_bg_image_fields = get_static_option('home_page_13_header_section_bg_image'); $all_bg_image_fields = !empty($all_bg_image_fields) ? unserialize($all_bg_image_fields,['class' => false]) : ['']; $all_button_one_icon_fields = get_static_option('home_page_13_header_section_button_one_icon'); $all_button_one_icon_fields = !empty($all_button_one_icon_fields) ? unserialize($all_button_one_icon_fields,['class' => false]) : []; $all_button_one_url_fields = get_static_option('home_page_13_header_section_button_one_url'); $all_button_one_url_fields = !empty($all_button_one_url_fields) ? unserialize($all_button_one_url_fields,['class' => false]) : []; @endphp @foreach($all_bg_image_fields as $index => $image_field)
@foreach($all_languages as $key => $lang) @php $all_description_fields = get_static_option('home_page_13_'.$lang->slug.'_header_section_description'); $all_description_fields = !empty($all_description_fields) ? unserialize($all_description_fields,['class' => false]) : ['']; $all_btn_one_text_fields = get_static_option('home_page_13_'.$lang->slug.'_header_section_button_one_text'); $all_btn_one_text_fields = !empty($all_btn_one_text_fields) ? unserialize($all_btn_one_text_fields,['class' => false]) : ['All Causes']; $all_title_fields = get_static_option('home_page_13_'.$lang->slug.'_header_section_title'); $all_title_fields = !empty($all_title_fields) ? unserialize($all_title_fields,['class' => false]) : ['Donation Can Change Their Life']; $all_subtitle_fields = get_static_option('home_page_13_'.$lang->slug.'_header_section_subtitle'); $all_subtitle_fields = !empty($all_subtitle_fields) ? unserialize($all_subtitle_fields,['class' => false]) : ['welcome to']; @endphp
@endforeach
@php $signature_image_upload_btn_label = 'Upload Image'; @endphp
@php $signature_img = get_attachment_image_by_id($image_field,null,false); @endphp @if (!empty($signature_img))
@php $signature_image_upload_btn_label = 'Change Image'; @endphp @endif
{{__('recommended image size is 990x690 pixel')}}
@endforeach
@include('backend.partials.media-upload.media-upload-markup') @endsection @section('script') @include('backend.partials.media-upload.media-js') @endsection