@extends('layouts.dashboard') @section('content') @php /** * Appearance → Sub-header: the storefront "page band" shown above CMS pages and blog posts. * A style per content type (classic / modern / hidden), plus per-style breadcrumb / * description toggles and an optional background image or video. Defaults reproduce the * shipped storefront (posts → modern, pages → classic). Built from existing components only. */ $shStyle = static function (string $slot): string { $v = setting('subheader_' . $slot . '_style', ''); return in_array($v, ['hidden', 'classic', 'modern'], true) ? $v : ($slot === 'posts' ? 'modern' : 'classic'); }; @endphp