@php $tag = $attributes['tag'] ?? 'h2'; $classes = 'grand-hotel text-center text-primary py-6'; if ($tag == 'h2') { $classes .= ' text-4xl'; } elseif ($tag == 'h3') { $classes .= ' text-3xl'; } @endphp <{{ $tag }} {{ $attributes->merge(['class' => $classes]) }}> {{ $attributes['label'] ?? trans('Section label') }}