@extends('layouts.nova') @section('meta-description', $meta['description']) @section('meta-keywords', $meta['keywords']) @push('head') {{ $meta['title'] }} {{-- Open Graph --}} @if(!empty($meta['og_image'])) @endif {{-- Twitter --}} @if(!empty($meta['og_image'])) @endif {{-- JSON-LD WebSite schema --}} @php $websiteSchema = [ '@context' => 'https://schema.org', '@type' => 'WebSite', 'name' => 'Skinbase', 'url' => url('/'), 'description' => $meta['description'], 'potentialAction' => [ '@type' => 'SearchAction', 'target' => url('/search') . '?q={search_term_string}', 'query-input' => 'required name=search_term_string', ], ]; @endphp {{-- Preload hero image for faster LCP --}} @if(!empty($props['hero']['thumb_lg'])) @elseif(!empty($props['hero']['thumb'])) @endif @endpush @section('main-class', '') @section('content') @include('web.home.hero', ['artwork' => $props['hero'] ?? null]) {{-- Inline props for the React component (avoids data-attribute length limits) --}}
{{-- Loading skeleton (replaced by React on hydration) --}}
@vite(['resources/js/Pages/Home/HomePage.jsx']) @endsection