{{-- Voyage template ana iskeleti. Tüm sayfalar bu layout'u extend eder; tasarım token'ları SiteSnapshot'tan CSS custom property olarak üretilir. Ziyaretçi ve panel önizlemesi aynı dosya. --}} @php /** @var \App\Services\Site\SiteSnapshot $snapshot */ $tokens = $snapshot->tokens(); $brand = $agency->brand_colors ?? []; $primary = $brand['primary'] ?? data_get($tokens, 'colors.primary'); $accent = $brand['accent'] ?? data_get($tokens, 'colors.accent'); $meta = $page['meta'] ?? []; $seo = $snapshot->seoDefaults(); $metaTitle = $meta['meta_title'] ?? ($page['title'] ?? null); $siteName = $agency->name; $fullTitle = $pageTitle ?? ($metaTitle ? $metaTitle . ' | ' . $siteName : $siteName); $metaDescription = $meta['meta_description'] ?? ($seo['meta_description'] ?? $agency->description); $favicon = $agency->favicon_path ? asset('storage/' . $agency->favicon_path) : ($agency->logo ? asset('storage/' . $agency->logo) : null); @endphp