---
import IframeChannelSwitcher from "../../islands/ChannelSwitcher.jsx";

const { section } = Astro.props;
---
<section class="fuz-section bg-transparent">
  <div class="max-w-7xl mx-auto text-center">

    {section.title && (
      <h2 class="fuz-section-title">{section.title}</h2>
    )}

    {section.content && (
      <div class="fuz-markdown mb-10" set:html={section.html} />
    )}

    <IframeChannelSwitcher client:load sets={section.iframe_sets} />

  </div>
</section>
