@php $bg = RvMedia::getImageUrl($shortcode->image ?? $shortcode->background_image ?? null, 'hero-banner'); $height = (int) ($shortcode->height ?? 420); $alignment = in_array($shortcode->text_alignment ?? '', ['left', 'center', 'right'], true) ? $shortcode->text_alignment : 'center'; // Circular rotating text overlay (e.g. "AMERCE - AMERCE - AMERCE -") is // used by html/home-furniture.html line 1572-1577. When `circular_text` // attr is non-empty, render the wg-circular-text wrapper that the theme // JS picks up via #circularText. $circularText = trim((string) ($shortcode->circular_text ?? '')); @endphp
{!! BaseHelper::clean($circularText) !!}