@switch($setting->type) @case('LONGTEXT') @break @case('CODE') @break @case('ICON') @break @case('EDITOR') @break @case('CHECKBOX') @break @case('CATEGORY') @break @case('GROUP') @break @case('MENU') @break @case('COLOR')
@break @case('NUMBER')
{{-- ltr) dir="ltr" @endif>--}} getData() as $k => $v) {{$k}}="{{$v}}" @endforeach > @break @case('FILE')
@php($ext = strtolower(pathinfo(str_replace('_','.',$setting->key), PATHINFO_EXTENSION)))
@if(!in_array($ext, ['svg','jpg','png','gif','webp'] ) ) @endif
@if($ext == 'mp4')
@elseif($ext == 'mp3')
@elseif(in_array($ext, ['svg','jpg','png','gif','webp'] ) ) {{$setting->key}} @endif
@break @default @if($setting->key == 'optimize') @else ltr) dir="ltr" @endif> @endif @endswitch