header : ajouter le backdrop sur la page livres blancs. closes #40
All checks were successful
Deploy / Deploy to Production (push) Successful in 21s
All checks were successful
Deploy / Deploy to Production (push) Successful in 21s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e643d0a233
commit
532eb5cfa6
1 changed files with 2 additions and 2 deletions
|
|
@ -26,11 +26,11 @@
|
||||||
navigation.toggleMenu()
|
navigation.toggleMenu()
|
||||||
}
|
}
|
||||||
|
|
||||||
const scrollableSlides = new Set(['about', 'blog'])
|
const scrollableSlides = new Set(['about', 'blog', 'white-papers'])
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
function onScroll(e) {
|
function onScroll(e) {
|
||||||
if (e.target?.classList?.contains('page-scrollable') && scrollableSlides.has(slides.active?.id)) {
|
if (e.target?.classList?.contains('page-scrollable') && scrollableSlides.has(slides.active?.template)) {
|
||||||
navigation.setScrolled(e.target.scrollTop > 100)
|
navigation.setScrolled(e.target.scrollTop > 100)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue