@php $pageTitle = trim($__env->yieldContent('title')); $defaultTitle = config('seo.title') ?: config('app.name').' — Mine. Earn. Own.'; $metaTitle = $pageTitle ? $pageTitle.' | '.config('app.name') : $defaultTitle; $metaDescription = trim($__env->yieldContent('meta_description')) ?: config('seo.description') ?: config('branding.short_description') ?: 'Mine crypto, complete daily tasks, and claim airdrops from one rewards platform.'; $canonicalUrl = url()->current(); $socialImage = config('seo.social_image_path') ? asset('storage/'.config('seo.social_image_path')) : (config('branding.logo_path') ? asset('storage/'.config('branding.logo_path')) : null); $structuredData = ['@context' => 'https://schema.org', '@graph' => [['@type' => 'Organization', '@id' => url('/').'#organization', 'name' => config('app.name'), 'url' => url('/'), 'logo' => config('branding.logo_path') ? asset('storage/'.config('branding.logo_path')) : null, 'sameAs' => array_values(config('branding.socials', []))], ['@type' => 'WebSite', '@id' => url('/').'#website', 'url' => url('/'), 'name' => config('app.name'), 'description' => $metaDescription, 'publisher' => ['@id' => url('/').'#organization']]]; @endphp {{ $metaTitle }} @if (config('branding.keywords'))@endif @if ($socialImage)@endif @if ($socialImage)@endif @if (config('branding.favicon_path'))@endif @vite(['resources/css/app.css', 'resources/js/app.js']) @yield('content')
@if (session('success'))@endif @if ($errors->any())@endif