@php $siteName = config('app.name', 'Dari Stock'); $pageTitle = $title ?? null; $fullTitle = $pageTitle && $pageTitle !== $siteName ? "{$pageTitle} | {$siteName}" : $siteName; $metaDescription = $description ?? __('Dari Stock centralizes stock, orders, payments, and access in one clear workspace for every team.'); $metaRobots = $robots ?? (request()->routeIs('login', 'register') ? 'noindex, nofollow' : 'index, follow'); $canonicalUrl = $canonicalUrl ?? url()->current(); $metaImage = $image ?? asset('landing/base/images/dari-stock-hero-3d.svg'); $metaType = $type ?? 'website'; $metaLocale = app()->getLocale() === 'fr' ? 'fr_FR' : 'en_US'; $structuredData = $structuredData ?? [ '@context' => 'https://schema.org', '@type' => 'SoftwareApplication', 'name' => $siteName, 'applicationCategory' => 'BusinessApplication', 'operatingSystem' => 'Web', 'url' => url('/'), 'description' => $metaDescription, 'inLanguage' => app()->getLocale(), ]; @endphp