{{-- Whole page is buffered so FrontendThemePalette can apply the admin's colour overrides. --}} @php ob_start(); @endphp @php $brandName = (string) brand_name(); $brandLogo = \App\Support\Brand::logoUrl(); // Home renders the Pulse design itself; every other page (features, pricing, // about, contact, blog, legal) reuses the Modern markup in the Pulse palette. $isHome = trim($__env->yieldContent('pulse-home')) === '1'; $h = $isHome ? '' : route('frontend.home'); // Same pages as the Classic and Modern headers. $nav = [ ['label' => __('Features'), 'url' => route('frontend.features')], ['label' => __('Pricing'), 'url' => route('frontend.pricing')], ['label' => __('About'), 'url' => route('frontend.about')], ['label' => __('Blog'), 'url' => route('frontend.blog')], ['label' => __('Contact'), 'url' => route('frontend.contact')], ]; $tick = ''; $dotWord = mb_strtolower($brandName); $dotSize = min(23, round(150 / max(1, mb_strlen($dotWord)), 1)); @endphp @yield('title', $brandName . ' — ' . __('Every dot is a message.')) @include('frontend.themes.pulse._pulse-css') @unless ($isHome) @include('frontend.themes.pulse._inner-css') @endunless @stack('head')
@yield('content') @if ($isHome) @else @endif {{-- Frontend editor bridge — only for an admin editing with ?fc_edit=1. --}} @if (fc_editing()) @endif @stack('scripts') {!! \App\Support\FrontendThemePalette::apply(\App\Support\FrontendThemeEditable::process((string) ob_get_clean(), 'pulse'), 'pulse') !!}