HomeShowcase.astro - This is the section
---
import HomeSlider from "./HomeSlider.astro";
import HomeAccordion from "./HomeAccordion/Accordion";
import Video from "./Video.astro";
const videos = [
{
src: "https://iframe.mediadelivery.net/embed/100760/2bb99f56-6249-4fc0-88dd-c28ecd4530fe?autoplay=false&loop=false&muted=false&preload=false",
paddingTop: 177.77777777777777,
title: "Gary Cardone Showcase",
},
{
src: "https://iframe.mediadelivery.net/embed/100760/b30db62c-03d1-4441-981e-0a62d7341507?autoplay=false&preload=false",
paddingTop: 177.77777777777777,
title: "Eric Bosworth Showcase",
},
{
src: "https://iframe.mediadelivery.net/embed/100760/2ec9bbdf-041d-4e48-8ff8-7b48e913db42?autoplay=false&preload=false",
paddingTop: 177.77777777777777,
title: "Amel Kilic Showcase",
},
{
src: "https://iframe.mediadelivery.net/embed/100760/974344c6-ad78-40ca-9c09-bbfa8f3c798c?autoplay=false&preload=false",
paddingTop: 177.77777777777777,
title: "Max Willet Showcase",
},
];
---
<script src='../scripts/swiper-init.js'></script> π
Local script to the swiper js. Don't think this is the issue since it does work/function
<section>
<div class='heading-container'>
<h2>Meet Our Clients</h2>
<p class='subtitle'>
A showcase of our work with industry icons and renowned personalities.
</p>
</div>
<HomeAccordion gary eric amel max client:load>
<div slot='gary' class='gary-flex'>
<div class='gary-video'>
<Video
containerClass='gary-container'
src={videos[0].src}
title={videos[0].title}
paddingTop={videos[0].paddingTop}
/>
</div>
<div class='gary-cardone'>
<span class='badge'>Gary Cardone</span>
<HomeSlider /> πππ
<div class='content'>
<p>
We take great pride in having had the opportunity to work with the
respected entrepreneur, Gary Cardone. Our collaboration involved
creating a visual journey that encapsulated his dynamic and
ambitious business activities, ranging from strategic ideation to
the implementation of vast projects.
</p>
// rest of the component