@php $isHomeRoute = request()->routeIs('home'); $seoLocale = app()->getLocale() === 'pt' ? 'pt' : 'en'; $seoTitle = $title ?? ($isHomeRoute ? (string) __('seo.home.title', ['brand' => $brandName]) : (string) __('seo.default.title', ['brand' => $brandName])); $seoDescription = $isHomeRoute ? (string) __('seo.home.description') : (string) __('seo.default.description', ['brand' => $brandName]); $seoImage = asset('images/og-'.$seoLocale.'.svg'); $seoCanonical = request()->url(); $seoRobots = $isHomeRoute ? (string) __('seo.robots_public') : (string) __('seo.robots_private'); $seoLocaleOg = $seoLocale === 'pt' ? 'pt_PT' : 'en_US'; @endphp {{ $seoTitle }} @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles