@php use App\Library\ComponentLibrary as ComponentLibrary; $themeComponentConstantList=ComponentLibrary::themeComponentConstantList($themeID,$themeComponentRelID); @endphp @if(count($themeComponentConstantList) > 0) @php $margin=sprintf("margin:%spx %spx %spx %spx",$detail["margin_top"],$detail["margin_right"],$detail["margin_bottom"],$detail["margin_left"]); $padding=sprintf("padding:%spx %spx %spx %spx",$detail["padding_top"],$detail["padding_right"],$detail["padding_bottom"],$detail["padding_left"]); @endphp

{!! $themeComponentConstantList["title"] !!}

{!! $themeComponentConstantList["description"] !!}

@if(!empty($themeComponentConstantList["link"])) {!! trans('theme/component.banner.read_more') !!} @endif
@endif