@foreach($sections as $section) @php $themeName = $theme->name ?? 'default'; $sectionPath = "page.agency.themes.{$themeName}.sections.{$section->section_type}"; // Tema-spesifik section yoksa default'a düş if (!view()->exists($sectionPath)) { $sectionPath = "page.agency.themes.default.sections.{$section->section_type}"; } @endphp @include($sectionPath, [ 'section' => $section, 'theme' => $theme, 'agency' => $agency, 'themeSettings' => $themeSettings ]) @endforeach