So I have a component ImageCardSection which looks like this:
---
const { id, heading } = Astro.props;
---
<section {id}>
<h2 class="text-xl">{heading}</h2>
<ul class="mt-2 grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
<slot /> // <--- Render first three items here
</ul>
<details>
<summary>Show all</summary>
<ul>
<slot /> // <--- And the rest here
</ul>
</details>
</section>
I pass these image cards in for the slots:
<ImageCard logo="https://picsum.photos/id/30/200/100" href="https://google.com" label="Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestiae, repudiandae" />
My question is: Could I somehow render the first three ImageCards inside the top ul of my ImageCardSection, and all the folowing inside the ul of the details tag?