2024-01-12 02:44:06 -05:00
|
|
|
<script>
|
|
|
|
|
export let header = null
|
|
|
|
|
export let cardDataList
|
|
|
|
|
|
|
|
|
|
import Card from '$lib/components/media/mediaCard.svelte'
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-01-13 02:36:53 -05:00
|
|
|
<section class="overflow-visible">
|
2024-01-12 02:44:06 -05:00
|
|
|
{#if header}
|
2024-01-13 02:36:53 -05:00
|
|
|
<h1 class="text-4xl"><strong>{header}</strong></h1>
|
2024-01-12 02:44:06 -05:00
|
|
|
{/if}
|
2024-01-13 02:36:53 -05:00
|
|
|
<div class="no-scrollbar flex gap-6 overflow-y-hidden overflow-x-scroll py-4">
|
|
|
|
|
{#each cardDataList as cardData}
|
|
|
|
|
<Card mediaData={cardData} />
|
|
|
|
|
{/each}
|
2024-01-12 02:44:06 -05:00
|
|
|
</div>
|
|
|
|
|
</section>
|