flex-direction: column-reverse
const links = {
36624938042: 'https://marketing-parsing3.tilda.ws/im/tproduct/368371303452-radialnie-opravki-levie-korotkie-vdi-b3',
48534127142: 'https://marketing-parsing3.tilda.ws/im/tproduct/579863714382-blok-privodnoi-radialnii-vdi40-5480-er32'
}
const searchParams = new URLSearchParams(location.search)
const utm = searchParams.get('utm_term')
if(utm && links.hasOwnProperty(utm)) {
location.href = links[utm]
}
background-size: auto 150%;
background-position: 0 40%;
// Navigation arrows
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
const swiper = new Swiper('.swiper', {
// ...
})
document.querySelectorAll('.my-swiper-btn').forEach(btn => {
btn.addEventListener('click', swiper.slideNext)
})