Section, dodanie sekcji z rozdzieleniem na standardowa i tą pod iframe

This commit is contained in:
dm
2025-11-21 07:17:05 +01:00
parent dafe9deaa6
commit f42a242d9c
17 changed files with 290 additions and 6 deletions

View File

@@ -0,0 +1,20 @@
---
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>