@php $allowed = ['style-grid', 'style-slider']; $style = in_array($shortcode->style ?? '', $allowed, true) ? $shortcode->style : 'style-grid'; $members = \Botble\Shortcode\Facades\Shortcode::fields()->getTabsData( ['photo', 'name', 'role', 'bio', 'social_links'], $shortcode ); @endphp
htmlAttributes() !!} class="tf-section team-members team-members-{{ $style }} flat-spacing">
@if (! empty($shortcode->title ?? ''))

{!! BaseHelper::clean($shortcode->title) !!}

@endif
@include(Theme::getThemeNamespace("partials.shortcodes.team-members.styles.$style"), [ 'shortcode' => $shortcode, 'members' => $members, ])