@php use App\enums\MultiLangMode; use App\Enums\LinkType; use App\Enums\OptionManagementHeader; use App\Enums\LanguageSetting; use App\Enums\LinkDestinationType; $listImagePc = []; if (!empty($project->topPage->slide_image_pc1)) { $listImagePc[] = $project->topPage->slide_image_pc1; } if (!empty($project->topPage->slide_image_pc2)) { $listImagePc[] = $project->topPage->slide_image_pc2; } if (!empty($project->topPage->slide_image_pc3)) { $listImagePc[] = $project->topPage->slide_image_pc3; } @endphp
{!! setTextDefault(textLocale('cv_text1', $basic, $lang), config('translate.' . $lang . '.basic.cv_text1')) !!}
@if (!empty($basic['cv_text2'])) {!! setTextDefault(textLocale('cv_text2', $basic, $lang)) !!} @endif
{!! setTextDefault(textLocale('cv_text1', $basic, $lang), config('translate.' . $lang . '.basic.cv_text1')) !!}
@if (!empty($basic['cv_text2'])) {!! setTextDefault(textLocale('cv_text2', $basic, $lang)) !!} @endif
{!! setTextDefault( textLocale('top_display_text', $basic, $lang), config('translate.' . $lang . '.basic.top_display_text'), ) !!} {{-- -トップ --}} @if ($project->show_room) {!! setTextDefault( textLocale('room_display_text', $basic, $lang), config('translate.' . $lang . '.basic.room_display_text'), ) !!} {{-- -客室紹介 --}} @endif @if ($project->show_food_list) {!! setTextDefault( textLocale('cooking_display_text', $basic, $lang), config('translate.' . $lang . '.basic.cooking_display_text'), ) !!} {{-- -お食事 --}} @endif @if ($project->show_facility) {!! setTextDefault( textLocale('facility_display_text', $basic, $lang), config('translate.' . $lang . '.basic.facility_display_text'), ) !!} {{-- -その他施設 --}} @endif @if ($project->show_sightseeing) {!! setTextDefault( textLocale('sightseeing_display_text', $basic, $lang), config('translate.' . $lang . '.basic.sightseeing_display_text'), ) !!} {{-- -アクティビティ --}} @endif @if ($project->show_access) {!! setTextDefault( textLocale('access_display_text', $basic, $lang), config('translate.' . $lang . '.basic.access_display_text'), ) !!} {{-- -アクセス --}} @endif @if ($project->show_plan) {!! setTextDefault( textLocale('plan_display_text', $basic, $lang), config('translate.' . $lang . '.basic.plan_display_text'), ) !!} {{-- -プラン一覧 --}} @endif @if (!empty($basic['additional_link_display_text1'])) {!! setTextDefault(textLocale('additional_link_display_text1', $basic, $lang)) !!} @endif @if (!empty($basic['additional_link_display_text2'])) {!! setTextDefault(textLocale('additional_link_display_text2', $basic, $lang)) !!} @endif @if (!empty($basic['additional_link_display_text3'])) {!! setTextDefault(textLocale('additional_link_display_text3', $basic, $lang)) !!} @endif @foreach ($project->optionManagements as $optionManagement) @if (fieldPropertyValue('is_header', $optionManagement) == OptionManagementHeader::ADD && fieldPropertyValue('is_publish', $optionManagement) == 1) @if (fieldPropertyValue('is_page', $optionManagement) == 1 && !empty($project[LinkDestinationType::getLinkProject(fieldPropertyValue('target_page', $optionManagement))])) {!! setTextDefault(textLocale('page_name', $optionManagement, $lang)) !!} @else {!! setTextDefault(textLocale('page_name', $optionManagement, $lang)) !!} @endif @endif @endforeach
@if ($project->multi_lang_mode)
LANGUAGE
@endif
@if ($project->multi_lang_mode)
@endif
{!! setTextDefault(textLocale('cv_text1', $basic, $lang), config('translate.' . $lang . '.basic.cv_text1')) !!}
@if (!empty($basic['cv_text2'])) {!! setTextDefault(textLocale('cv_text2', $basic, $lang)) !!} @endif