@php $tenantId = $tenantId ?? (tenant() ? tenant('id') : null); $scope = $scope ?? ($tenantId ? 'tenant' : 'platform'); $settings = $tenantSiteSettings ?? null; $siteName = $siteName ?? ($settings?->site_name ?? 'qpost'); $tenantBaseUrl = tenant_base_url(); $basePath = $basePath ?? $tenantBaseUrl; @endphp @extends('tenant.layouts.base') @section('body-class', 'min-h-screen bg-[#fffaf1] c-main scope-tenant theme-sss') @section('body') @php $hasSidebarAdSlot = filled($tenantSiteSettings?->effectiveAdsenseClientId()); @endphp
SAMPLE THEME
@include('tenant.layouts.header', [ 'tenantId' => $tenantId, 'scope' => $scope, 'mode' => 'app', 'basePath' => $basePath, 'siteName' => $siteName, ])
@hasSection('content-shell') @yield('content-shell') @else
샘플 테마가 적용되었습니다. 사이트설정에서 `default`와 `sample` 전환을 확인해보세요.
@yield('content')
@if ($hasSidebarAdSlot) @endif
@endif
@include('tenant.layouts.footer', [ 'tenantId' => $tenantId, 'scope' => $scope, 'mode' => 'app', 'basePath' => $basePath, 'siteName' => $siteName, ])
@endsection