Zmiana iframe listy kanałow na pobierane lokalnie i parsowane
This commit is contained in:
@@ -1,20 +1,26 @@
|
||||
---
|
||||
import ChannelSwitcher from "../../islands/ChannelSwitcher.jsx";
|
||||
|
||||
const { section } = Astro.props;
|
||||
---
|
||||
<section class="fuz-section bg-transparent">
|
||||
|
||||
<section class="f-section">
|
||||
<div class="max-w-7xl mx-auto text-center">
|
||||
|
||||
{section.title && (
|
||||
<h2 class="fuz-section-title">{section.title}</h2>
|
||||
<h2 class="f-section-title">{section.title}</h2>
|
||||
)}
|
||||
|
||||
{section.content && (
|
||||
<div class="fuz-markdown mb-10" set:html={section.html} />
|
||||
<div class="f-markdown mb-10" set:html={section.html} />
|
||||
)}
|
||||
|
||||
<ChannelSwitcher client:load sets={section.iframe_sets} title={section.title} />
|
||||
{section.iframe_sets && section.iframe_sets.length > 0 && (
|
||||
<ChannelSwitcher
|
||||
client:load
|
||||
sets={section.iframe_sets}
|
||||
title={section.title}
|
||||
/>
|
||||
)}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user