@php $cont = $Template->text('백그라운드 색상'.$cnt); @endphp
str != '백그라운드 색상'.$cnt) style="background:{{ $cont->str }};" @endif >
@php $cont = $Template->text('h2 부분'.$cnt,'서브 텍스트'); @endphp

{{ $cont->str }} @if($cont->lnk != "#"){!! $cont->lnk !!}@endif

@if ($method=='edit')
추천 프로그램입니다.

파일선택 : 이미지를 적용합니다 . 적용안할시 검정색으로 배경이 적용됩니다.
title1 : 위 타이틀 입니다.
title2 : 아래 타이틀 입니다.
titleColor : 위 타이틀 색상을 적용합니다. 적용안할시 하얀색으로 적용합니다.
title2Color : 아래 타이틀 색상을 적용합니다. 적용안할시 하얀색으로 적용합니다.
URL : 주소를 적용합니다. 적용안할시 페이지에 맨위로 이동합니다.
btnText : 버튼에 텍스트를 적용합니다.
titleHidden : 이미지에 타이틀이 있을경우 이곳에 아무거나 쓰시면 타이틀은 안보이게 됩니다. ( 타이틀이 안보여서 타이틀은 적어주세요 )
@endif @php $list = $Template->customList('추천 프로그램'.$cnt, [ 'IMAGE' => 'Image', 'title1', 'title2', 'titleColor', 'title2Color', 'URL', 'btnText', 'titleHidden' ]); @endphp @if(!empty($list))
    @foreach($list as $cont)
  • IMAGE))style="background: url('{{ $cont->IMAGE }}') no-repeat center center; background-size: cover;"@endif> @if(!empty($cont->title1))

    titleHidden))class="titleHidden" @endif> titleColor))style="color:{{ $cont->titleColor }};"@endif>{!! $cont->title1 !!} @if(!empty($cont->title2)) title2Color))style="color:{{ $cont->title2Color }};"@endif>{!! $cont->title2 !!} @endif

    @endif @if(!empty($cont->btnText)) {{ $cont->btnText }} @endif @if(!empty($cont->URL)) @endif
  • @endforeach
@endif