Carousel implementation with UICollectionViewCompositionalLayout
private lazy var carouselSection: CarouselSection = {
CarouselSection(collectionView: collectionView)
}()
private lazy var layout: UICollectionViewLayout = UICollectionViewCompositionalLayout { [weak self] sectionIndex, layoutEnvironment in
guard let self else { return nil }
return self.carouselSection.layoutSection()
}