@extends('layouts.site') {{-- Website. Dark design in the home page's scene sequence (home.blade.php). Content: resources/content/website.php. Owner: PRODUCTS (builder B). 1 through the letters (hero) · 2 the devices rise and assemble under the intro, the feature names light up · 3 statements that light up (intro text, Live Chat, Responsive, SEO) · 4 turning screens (Custom Design, Display Page). Text order is the content order (parity); the deck keeps each title, screen and text together in the DOM. QA: #rest / #mid / #end freeze every scene. Page CSS: resources/css/products/home-b.css. --}} @push('head') @vite(['resources/css/products.css']) @endpush @php $join = fn (...$parts) => trim(implode(' ', array_filter(array_map(fn ($s) => trim(strip_tags((string) $s)), $parts), 'strlen'))); $features = [ $join($c('live_chat.title'), $c('live_chat.title_highlight')), $join($c('responsive.title'), $c('responsive.title_highlight'), $c('responsive.subtitle')), $join($c('seo.title'), $c('seo.title_highlight')), $join($c('custom_design.title'), $c('custom_design.title_highlight')), $join($c('display_page.title'), $c('display_page.title_highlight'), $c('display_page.subtitle')), ]; $deck = [ ['key' => 'custom_design', 'img' => $c('custom_design.image'), 'alt' => $c('custom_design.image_alt'), 'w' => 887, 'h' => 509, 'sub' => '', 'fit' => 'contain'], ['key' => 'display_page', 'img' => $c('display_page.device_screen'), 'alt' => $c('display_page.device_frame_alt'), 'w' => 802, 'h' => 1559, 'sub' => $c('display_page.subtitle'), 'fit' => ''], ]; @endphp @section('content')
{{-- 1. Through the letters: "Website" is the window --}} {{-- 2. The website rises on three devices; the feature names light up --}}

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

{{-- 3. Statements that light up --}}
{!! $c('intro.text') !!}
{!! $c('live_chat.text') !!}

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

{!! $c('responsive.text') !!}
{!! $c('seo.text') !!}
{{-- 4. Turning screens: the giant title changes, the screens turn, the description changes --}}
@foreach ($deck as $i => $d)
$d['fit'] === 'contain']) style="--i:{{ $i }}">
@if (filled($d['sub']))

{{ $d['sub'] }}

@endif
{!! $c($d['key'].'.text') !!}
@endforeach
@endsection @push('scripts') @vite(['resources/js/products.js']) @endpush