@extends('layouts.site') {{-- Leads Center. Home-page style (resources/views/pages/home.blade.php). Content: resources/content/leads-center.php. Owner: PRODUCTS (part A). Scenes, in the home page's order: 1 through the letters (LEADS); 2 the three lead screens rise with the intro, fanning out of one stack, while the features light up; 3 the intro as a statement; 4 Test Drive Calendar / Credit Leads / SMS & Voice Call as home's turning screens (giant changing title, turning screens, changing description). Each feature's real heading and text sit in its description, in content order; the giant title is that description's own h2. QA: #rest, #mid, #end freeze every scene. --}} @push('head') @vite(['resources/css/products.css']) @endpush @php $introTitle = trim($c('intro.title_highlight').' '.$c('intro.title')); $feats = [ ['key' => 'test_drive', 'img' => $c('test_drive.device_screen'), 'alt' => $c('test_drive.device_frame_alt')], ['key' => 'credit_leads', 'img' => $c('credit_leads.device_screen'), 'alt' => $c('credit_leads.device_frame_alt')], ['key' => 'sms', 'img' => $c('sms.image'), 'alt' => $c('sms.image_alt')], ]; $names = array_map(fn ($f) => trim($c($f['key'].'.title').' '.$c($f['key'].'.title_highlight')), $feats); $decor = [['features.decor_image', 'features.decor_image_alt', 187, 179], ['credit_leads.decor_image', 'credit_leads.decor_image_alt', 201, 203], ['sms.decor_image', 'sms.decor_image_alt', 209, 209]]; @endphp @section('content')
{{ $g('header.demo_label') }} {{-- Scene 2: the three lead screens rise and fan out of one stack, the feature names light up --}}

{{ $c('intro.subtitle') }}

@foreach ($c->list('hero.device_slides') as $i => $slide) @endforeach
{{-- The intro as a statement --}}
{{-- The screens turn, the giant title changes --}}
@foreach ($decor as $i => [$img, $alt, $w, $h]) @endforeach
@foreach ($feats as $i => $f)
@endforeach
@foreach ($feats as $i => $f)
{!! $c($f['key'].'.text') !!}
@endforeach
@endsection @push('scripts') @vite(['resources/js/products.js']) @endpush