@php use App\Enums\FvType; use App\Enums\NoteType; $listImagePc = []; $listImageSp = []; for ($i = 1; $i <= 3; $i++) { if (!empty($project->topPage['slide_image_pc' . $i])) { $listImagePc[] = $project->topPage['slide_image_pc' . $i]; } if (!empty($project->topPage['slide_image_sp' . $i])) { $listImageSp[] = $project->topPage['slide_image_sp' . $i]; } } if (count($listImagePc) == 0) { $listImagePc[] = 'https://assets.micado-rayout.jp/img/common/no-image-found-360x250.png'; } if (count($listImageSp) == 0) { $listImageSp = $listImagePc; } @endphp
@if (fieldPropertyValue('fv_type', $project->topPage) == FvType::MOVIE)
{!! fieldPropertyValue('movie_tag', $project->topPage) !!}
@else
@endif @if (fieldPropertyValue('fv_type_sp', $project->topPage) == FvType::MOVIE)
{!! fieldPropertyValue('movie_tag_sp', $project->topPage) !!}
@else
@endif
@if (fieldPropertyValue('note_type', $project->topPage) == NoteType::THERE_IS_TEXT)

{!! setTextDefault(textLocale('note', $project->topPage, $lang)) !!}

@endif @if (fieldPropertyValue('note_type_sp', $project->topPage) == NoteType::THERE_IS_TEXT)

{!! setTextDefault(textLocale('note_sp', $project->topPage, $lang)) !!}

@endif