@include('Website::web-builder.widget._back_title',compact('title'))
Settings
@if(isset($settings['media_id'])) @endif
{!! Form::text('widget[image_alt]',(isset($settings['image_alt'])) ? $settings['image_alt'] : '',['class' => 'form-control', 'placeholder' => 'Image Alt']) !!}
{{--
--}} {{-- --}} {{--
--}} {{-- {!! Form::text('widget[mobile_heading_font_size]', (isset($settings['mobile_heading_font_size'])) ? $settings['mobile_heading_font_size'] : '' ,['class' => 'form-control']) !!}--}} {{--
--}} {{-- px--}} {{--
--}} {{--
--}} {{--
--}}
{{-- --}} {{--
{!! (isset($settings['text'])) ? $settings['text'] : '' !!}
--}} {!! RTEForm::rte('widget[text]', @$settings['text'], ['isSmall' => true]) !!}
{!! RTEForm::rte('widget[mobile_text]', @$settings['mobile_text'], ['isSmall' => true]) !!}
{!! Form::select('widget[button_alignment]',['left' => 'Left','center' => 'Center','right' => 'Right'],(isset($settings['button_alignment'])) ? $settings['button_alignment'] : null,['class' => 'form-control custom-select']) !!}
{!! Form::select('widget[content_alignment]',['left' => 'Left','center' => 'Center','right' => 'Right'],(isset($settings['content_alignment'])) ? $settings['content_alignment'] : 'left' ,['class' => 'form-control custom-select']) !!}
{!! Form::select('widget[hero_layout]',['full_width' => 'Full width','fixed_width' => 'Fixed Width'],(isset($settings['hero_layout'])) ? $settings['hero_layout'] : null,['class' => 'form-control custom-select']) !!}
{!! Form::select('widget[hero_size]',['adapt' => 'Adapt to image','x-small' => 'Extra Small','small' => 'Small','medium' => 'Medium','large' => 'Large','x-large' => 'Extra Large','auto' => 'Auto'],(isset($settings['hero_size'])) ? $settings['hero_size'] : null,['class' => 'form-control custom-select']) !!}
{{--
--}} {{--
--}} {{-- --}} {{-- {!! Form::select('widget[image_size]',['cover' => 'Cover','contain' => 'Contain','auto' => 'Auto'], optional($settings)['image_size'] ?? 'cover',['class' => 'form-control custom-select']) !!}--}} {{--
--}} {{--
--}} {{--
--}} {{-- {!! Form::label('widget[mobile_text_overly_width]','Mobile Overlay Text Width') !!}--}} {{-- {!! Form::select('widget[mobile_text_overly_width]', ['25%' => '25%', '50%' => '50%', '75%' => '75%','100%' => '100%'], @$settings['mobile_text_overly_width'] ?? '100%',['class' => 'form-control']) !!}--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- {!! Form::select('widget[text_size]',['medium' => 'Medium','large' => 'Large'],(isset($settings['text_size'])) ? $settings['text_size'] : null,['class' => 'form-control custom-select']) !!}--}} {{--
--}} {{--
--}} {{--
--}} {{-- {!! Form::label('widget[overlay_heading_color]','Text Color') !!}--}} {{-- {!! Form::text('widget[overlay_heading_color]', optional($settings)['overlay_heading_color'] ,['class' => 'form-control colorPicker']) !!}--}} {{--
--}} {{--
--}} {{-- {!! Form::label('widget[overlay_body_color]','Body Color') !!}--}} {{-- {!! Form::text('widget[overlay_body_color]', optional($settings)['overlay_body_color'] ,['class' => 'form-control colorPicker']) !!}--}} {{--
--}} {{--
--}} {{-- {!! Form::label('widget[button_bg_color]','Button Background') !!}--}} {{-- {!! Form::text('widget[button_bg_color]', optional($settings)['button_bg_color'] ,['class' => 'form-control colorPicker']) !!}--}} {{--
--}} {{--
--}} {{-- {!! Form::label('widget[button_text_color]','Button Text Color') !!}--}} {{-- {!! Form::text('widget[button_text_color]', optional($settings)['button_text_color'] ,['class' => 'form-control colorPicker']) !!}--}} {{--
--}}
{{-- @include('Website::web-builder.widget._advance_setting')--}}
Image
{!! Form::select('widget[image_alignment]',['top left' => 'Top left','top center' => 'Top center','top right' => 'Top right','center left' => 'Middle left','center center' => 'Middle center','center right' => 'Middle right','bottom left' => 'Bottom left','bottom center' => 'Bottom center','bottom right' => 'Bottom right'],(isset($settings['image_alignment'])) ? $settings['image_alignment'] : null,['class' => 'form-control custom-select']) !!}
{!! Form::select('widget[image_size]',['cover' => 'Cover','contain' => 'Contain','auto' => 'Auto'], optional($settings)['image_size'] ?? 'cover',['class' => 'form-control custom-select']) !!}
{{ optional($settings)['mb_img_position'] ?? '0' }}
Heading
@include('Website::web-builder.widget.settings.section_heading_setting')
Mobile Heading
@include('Website::web-builder.widget.settings.section_mobile_heading_setting')
Overlay Text
{!! Form::label('widget[overlay_width]','Text Width') !!} {!! Form::select('widget[overlay_width]', ['25%' => '25%', '50%' => '50%', '75%' => '75%','100%' => '100%'], @$settings['overlay_width'] ?? '100%',['class' => 'form-control']) !!}
{!! Form::label('widget[mobile_text_overly_width]','Mobile Text Width') !!} {!! Form::select('widget[mobile_text_overly_width]', ['25%' => '25%', '50%' => '50%', '75%' => '75%','100%' => '100%'], @$settings['mobile_text_overly_width'] ?? '100%',['class' => 'form-control']) !!}
{!! Form::text('widget[preview_text_top_padding]', optional($settings)['preview_text_top_padding'] ?? '' ,['class' => 'form-control']) !!}
px
{!! Form::text('widget[preview_text_bottom_padding]', optional($settings)['preview_text_bottom_padding'] ?? '' ,['class' => 'form-control']) !!}
px
Overlay
{{ (isset($settings['overlay_opacity'])) ? $settings['overlay_opacity'] : 1 }}
{!! Form::label('widget[overlay_color]','Overlay Color') !!} {!! Form::text('widget[overlay_color]', optional($settings)['overlay_color'] ,['class' => 'form-control colorPicker']) !!}
Button
{!! Form::select('widget[button_font_family]', getFontFamilies() ,optional($settings)['button_font_family'] ?? '', ['class' => 'form-control custom-select']) !!}
{!! Form::text('widget[button_font_size]', optional($settings)['button_font_size'] ?? '' ,['class' => 'form-control']) !!}
px
{!! Form::text('widget[button_bg_color]' , optional($settings)['button_bg_color'] ?? '' , ['class' => 'form-control colorPicker']) !!}
{!! Form::text('widget[button_font_color]' , optional($settings)['button_font_color'] ?? '' , ['class' => 'form-control colorPicker']) !!}
{!! Form::text('widget[button_border_color]' , optional($settings)['button_border_color'] ?? '' , ['class' => 'form-control colorPicker']) !!}
{!! Form::text('widget[button_border_width]', optional($settings)['button_border_width'] ?? '' ,['class' => 'form-control']) !!}
px
{!! Form::text('widget[button_border_radius]', optional($settings)['button_border_radius'] ?? '' ,['class' => 'form-control']) !!}
px
{!! Form::text('widget[button_top_padding]', optional($settings)['button_top_padding'] ?? '' ,['class' => 'form-control']) !!}
px
@include('Website::web-builder.widget.settings.index')
@include('Website::web-builder.widget._remove_section')