remove pricing

This commit is contained in:
pooyarhz99 2024-05-11 18:38:09 +03:30
parent aa06dc358a
commit b18b51f745
1 changed files with 37 additions and 37 deletions

View File

@ -494,52 +494,52 @@ export default {
// Reveal the elements upon scrolling using the Scroll Reveal js library
//
/* @ts-ignore */
ScrollReveal({
distance: '60px',
duration: 2500,
delay: 400,
})
// ScrollReveal({
// distance: '60px',
// duration: 2500,
// delay: 400,
// })
// ScrollReveal().reveal('h1', { delay: 500, origin: 'left' })
/* @ts-ignore */
ScrollReveal().reveal('#herobox-section img', { delay: 400, origin: 'top' })
// ScrollReveal().reveal('#herobox-section img', { delay: 400, origin: 'top' })
/* @ts-ignore */
ScrollReveal().reveal(
'#herobox-section, #descriptions-section, #briefings-title, #briefings-section, #features-section-mobile, #features-section-desktop, #info-section, #info-image #card-01, #info-section #card-02, #card-03, #download-section, #pricing-section, #news-section, #start-free-trial-section, #contact-us-section',
{ delay: 300 }
)
// ScrollReveal().reveal(
// '#herobox-section, #descriptions-section, #briefings-title, #briefings-section, #features-section-mobile, #features-section-desktop, #info-section, #info-image #card-01, #info-section #card-02, #card-03, #download-section, #pricing-section, #news-section, #start-free-trial-section, #contact-us-section',
// { delay: 300 }
// )
//
// Move the #info-image to left and right upon scrolling
//
let ObserverConfig = {
root: null,
rootMargin: '0px',
threshold: 0.5,
}
let ObserverCallback = (Entries: any, Observer: any) => {
const RightSideDivisions: NodeListOf<HTMLElement> = document.querySelectorAll('#info-section > div.right')
RightSideDivisions.forEach(Div => {
if( Entries[0].isIntersecting )
{
/* @ts-ignore */
this.InfoImageIsLeftSided_D = false
/* @ts-ignore */
this.InfoImageIsRightSided_D = true
}
else
{
/* @ts-ignore */
this.InfoImageIsLeftSided_D = true
/* @ts-ignore */
this.InfoImageIsRightSided_D = false
}
})
}
let Observer = new IntersectionObserver(ObserverCallback, ObserverConfig)
const RightSideDivisions: NodeListOf<HTMLElement> = document.querySelectorAll('#info-section > div.right')
RightSideDivisions.forEach(div => { Observer.observe(div) })
// let ObserverConfig = {
// root: null,
// rootMargin: '0px',
// threshold: 0.5,
// }
// let ObserverCallback = (Entries: any, Observer: any) => {
// const RightSideDivisions: NodeListOf<HTMLElement> = document.querySelectorAll('#info-section > div.right')
// RightSideDivisions.forEach(Div => {
// if( Entries[0].isIntersecting )
// {
// /* @ts-ignore */
// this.InfoImageIsLeftSided_D = false
// /* @ts-ignore */
// this.InfoImageIsRightSided_D = true
// }
// else
// {
// /* @ts-ignore */
// this.InfoImageIsLeftSided_D = true
// /* @ts-ignore */
// this.InfoImageIsRightSided_D = false
// }
// })
// }
// let Observer = new IntersectionObserver(ObserverCallback, ObserverConfig)
// const RightSideDivisions: NodeListOf<HTMLElement> = document.querySelectorAll('#info-section > div.right')
// RightSideDivisions.forEach(div => { Observer.observe(div) })
},
}
</script>