diff --git a/apps/web/src/components/AdPanel/CardLayouts.tsx b/apps/web/src/components/AdPanel/CardLayouts.tsx index 18c649633b4b9..cc2eb31828a9a 100644 --- a/apps/web/src/components/AdPanel/CardLayouts.tsx +++ b/apps/web/src/components/AdPanel/CardLayouts.tsx @@ -4,7 +4,6 @@ import styled from 'styled-components' import { Autoplay, EffectFade, Pagination } from 'swiper/modules' import { SwiperSlide } from 'swiper/react' import { StyledSwiper } from './CarrouselWithSlider' -import { TitleContentAd } from './Variations/TitleContentAd' import { AdList } from './config' const FloatingContainer = styled(Box)` @@ -21,6 +20,27 @@ const MobileContainer = styled(Box)` align-items: center; ` +const AdSlides = () => { + return ( + + {AdList.map((ad) => ( + {ad.component} + ))} + + ) +} + /** * Renders floating Ad banners on desktop */ @@ -31,22 +51,7 @@ export const DesktopCard = () => { return portalRoot && isDesktop ? createPortal( - - {AdList.map((ad) => ( - {ad.component} - ))} - + , portalRoot, ) @@ -60,7 +65,7 @@ export const MobileCard = () => { const { isDesktop } = useMatchBreakpoints() return !isDesktop ? ( - + ) : null }