diff options
| -rw-r--r-- | public/ref/angie.png | bin | 0 -> 125974 bytes | |||
| -rw-r--r-- | public/ref/apanapana_records.jpg | bin | 0 -> 10270 bytes | |||
| -rw-r--r-- | public/ref/arte.jpg | bin | 0 -> 8503 bytes | |||
| -rw-r--r-- | public/ref/bb1.jpg | bin | 0 -> 4147840 bytes | |||
| -rw-r--r-- | public/ref/bb2.jpg | bin | 0 -> 3499495 bytes | |||
| -rw-r--r-- | public/ref/bvs.jpg | bin | 0 -> 6006 bytes | |||
| -rw-r--r-- | public/ref/charlotte.jpg | bin | 0 -> 8872 bytes | |||
| -rw-r--r-- | public/ref/compagnie_imaginaire.jpg | bin | 0 -> 8850 bytes | |||
| -rw-r--r-- | public/ref/complice_music.png | bin | 0 -> 6885 bytes | |||
| -rw-r--r-- | public/ref/divine_acajou.png | bin | 0 -> 4853904 bytes | |||
| -rw-r--r-- | public/ref/epsilon_escape.jpg | bin | 0 -> 152397 bytes | |||
| -rw-r--r-- | public/ref/france_tv.png | bin | 0 -> 9919 bytes | |||
| -rw-r--r-- | public/ref/green_warrior.jpg | bin | 0 -> 2911657 bytes | |||
| -rw-r--r-- | public/ref/havas_event.png | bin | 0 -> 12212 bytes | |||
| -rw-r--r-- | public/ref/if_de_minuit.jpg | bin | 0 -> 1556561 bytes | |||
| -rw-r--r-- | public/ref/indigo.jpg | bin | 0 -> 41652 bytes | |||
| -rw-r--r-- | public/ref/jaime_ecouter.jpg | bin | 0 -> 36008 bytes | |||
| -rw-r--r-- | public/ref/juliette.jpg | bin | 0 -> 35685 bytes | |||
| -rw-r--r-- | public/ref/l_oreal.jpg | bin | 0 -> 25415 bytes | |||
| -rw-r--r-- | public/ref/lio.jpg | bin | 0 -> 149824 bytes | |||
| -rw-r--r-- | public/ref/lunii.jpg | bin | 0 -> 9940 bytes | |||
| -rw-r--r-- | public/ref/lvmh.jpg | bin | 0 -> 37634 bytes | |||
| -rw-r--r-- | public/ref/mediawan.jpg | bin | 0 -> 841766 bytes | |||
| -rw-r--r-- | public/ref/musicbox.png | bin | 0 -> 8300 bytes | |||
| -rw-r--r-- | public/ref/nouvelle_samaritaine.png | bin | 0 -> 2331542 bytes | |||
| -rw-r--r-- | public/ref/onb.jpg | bin | 0 -> 110343 bytes | |||
| -rw-r--r-- | public/ref/origins.png | bin | 0 -> 13414 bytes | |||
| -rw-r--r-- | public/ref/papooses.png | bin | 0 -> 590036 bytes | |||
| -rw-r--r-- | public/ref/paradoxes.png | bin | 0 -> 111578 bytes | |||
| -rw-r--r-- | public/ref/prodjv.jpg | bin | 0 -> 9698 bytes | |||
| -rw-r--r-- | public/ref/sir_adrien.jpg | bin | 0 -> 1453491 bytes | |||
| -rw-r--r-- | public/ref/steel_division_normandy_44.jpg | bin | 0 -> 151155 bytes | |||
| -rw-r--r-- | public/ref/superchild.jpg | bin | 0 -> 2612530 bytes | |||
| -rw-r--r-- | public/ref/sybel.png | bin | 0 -> 2191 bytes | |||
| -rw-r--r-- | public/ref/talia1.jpg | bin | 0 -> 19355 bytes | |||
| -rw-r--r-- | public/ref/talia2.jpg | bin | 0 -> 63922 bytes | |||
| -rw-r--r-- | public/ref/ulicoys.jpg | bin | 0 -> 9007543 bytes | |||
| -rw-r--r-- | public/ref/violet_dreams.jpg | bin | 0 -> 5471119 bytes | |||
| -rw-r--r-- | public/ref/virgin_music.jpg | bin | 0 -> 16147 bytes | |||
| -rw-r--r-- | public/ref/virtuel_audio.png | bin | 0 -> 1997 bytes | |||
| -rw-r--r-- | public/ref/wtpl.jpg | bin | 0 -> 8585 bytes | |||
| -rw-r--r-- | src/pages/index.astro | 61 |
42 files changed, 47 insertions, 14 deletions
diff --git a/public/ref/angie.png b/public/ref/angie.png Binary files differnew file mode 100644 index 0000000..2341091 --- /dev/null +++ b/public/ref/angie.png diff --git a/public/ref/apanapana_records.jpg b/public/ref/apanapana_records.jpg Binary files differnew file mode 100644 index 0000000..666ba27 --- /dev/null +++ b/public/ref/apanapana_records.jpg diff --git a/public/ref/arte.jpg b/public/ref/arte.jpg Binary files differnew file mode 100644 index 0000000..b5ef796 --- /dev/null +++ b/public/ref/arte.jpg diff --git a/public/ref/bb1.jpg b/public/ref/bb1.jpg Binary files differnew file mode 100644 index 0000000..dbe7f14 --- /dev/null +++ b/public/ref/bb1.jpg diff --git a/public/ref/bb2.jpg b/public/ref/bb2.jpg Binary files differnew file mode 100644 index 0000000..d416f17 --- /dev/null +++ b/public/ref/bb2.jpg diff --git a/public/ref/bvs.jpg b/public/ref/bvs.jpg Binary files differnew file mode 100644 index 0000000..bc651e8 --- /dev/null +++ b/public/ref/bvs.jpg diff --git a/public/ref/charlotte.jpg b/public/ref/charlotte.jpg Binary files differnew file mode 100644 index 0000000..46b7038 --- /dev/null +++ b/public/ref/charlotte.jpg diff --git a/public/ref/compagnie_imaginaire.jpg b/public/ref/compagnie_imaginaire.jpg Binary files differnew file mode 100644 index 0000000..1ef1209 --- /dev/null +++ b/public/ref/compagnie_imaginaire.jpg diff --git a/public/ref/complice_music.png b/public/ref/complice_music.png Binary files differnew file mode 100644 index 0000000..8a1ef83 --- /dev/null +++ b/public/ref/complice_music.png diff --git a/public/ref/divine_acajou.png b/public/ref/divine_acajou.png Binary files differnew file mode 100644 index 0000000..4da5c3e --- /dev/null +++ b/public/ref/divine_acajou.png diff --git a/public/ref/epsilon_escape.jpg b/public/ref/epsilon_escape.jpg Binary files differnew file mode 100644 index 0000000..b050ba8 --- /dev/null +++ b/public/ref/epsilon_escape.jpg diff --git a/public/ref/france_tv.png b/public/ref/france_tv.png Binary files differnew file mode 100644 index 0000000..7c17eb5 --- /dev/null +++ b/public/ref/france_tv.png diff --git a/public/ref/green_warrior.jpg b/public/ref/green_warrior.jpg Binary files differnew file mode 100644 index 0000000..c5a8e70 --- /dev/null +++ b/public/ref/green_warrior.jpg diff --git a/public/ref/havas_event.png b/public/ref/havas_event.png Binary files differnew file mode 100644 index 0000000..8116e5b --- /dev/null +++ b/public/ref/havas_event.png diff --git a/public/ref/if_de_minuit.jpg b/public/ref/if_de_minuit.jpg Binary files differnew file mode 100644 index 0000000..325f5f9 --- /dev/null +++ b/public/ref/if_de_minuit.jpg diff --git a/public/ref/indigo.jpg b/public/ref/indigo.jpg Binary files differnew file mode 100644 index 0000000..65d9fc7 --- /dev/null +++ b/public/ref/indigo.jpg diff --git a/public/ref/jaime_ecouter.jpg b/public/ref/jaime_ecouter.jpg Binary files differnew file mode 100644 index 0000000..9fe8225 --- /dev/null +++ b/public/ref/jaime_ecouter.jpg diff --git a/public/ref/juliette.jpg b/public/ref/juliette.jpg Binary files differnew file mode 100644 index 0000000..53e000b --- /dev/null +++ b/public/ref/juliette.jpg diff --git a/public/ref/l_oreal.jpg b/public/ref/l_oreal.jpg Binary files differnew file mode 100644 index 0000000..64884d6 --- /dev/null +++ b/public/ref/l_oreal.jpg diff --git a/public/ref/lio.jpg b/public/ref/lio.jpg Binary files differnew file mode 100644 index 0000000..e9dd695 --- /dev/null +++ b/public/ref/lio.jpg diff --git a/public/ref/lunii.jpg b/public/ref/lunii.jpg Binary files differnew file mode 100644 index 0000000..ae7e87a --- /dev/null +++ b/public/ref/lunii.jpg diff --git a/public/ref/lvmh.jpg b/public/ref/lvmh.jpg Binary files differnew file mode 100644 index 0000000..1d19ff0 --- /dev/null +++ b/public/ref/lvmh.jpg diff --git a/public/ref/mediawan.jpg b/public/ref/mediawan.jpg Binary files differnew file mode 100644 index 0000000..910ec4c --- /dev/null +++ b/public/ref/mediawan.jpg diff --git a/public/ref/musicbox.png b/public/ref/musicbox.png Binary files differnew file mode 100644 index 0000000..4455460 --- /dev/null +++ b/public/ref/musicbox.png diff --git a/public/ref/nouvelle_samaritaine.png b/public/ref/nouvelle_samaritaine.png Binary files differnew file mode 100644 index 0000000..8e49eae --- /dev/null +++ b/public/ref/nouvelle_samaritaine.png diff --git a/public/ref/onb.jpg b/public/ref/onb.jpg Binary files differnew file mode 100644 index 0000000..f4feefa --- /dev/null +++ b/public/ref/onb.jpg diff --git a/public/ref/origins.png b/public/ref/origins.png Binary files differnew file mode 100644 index 0000000..0e47cb8 --- /dev/null +++ b/public/ref/origins.png diff --git a/public/ref/papooses.png b/public/ref/papooses.png Binary files differnew file mode 100644 index 0000000..0f677ed --- /dev/null +++ b/public/ref/papooses.png diff --git a/public/ref/paradoxes.png b/public/ref/paradoxes.png Binary files differnew file mode 100644 index 0000000..11f4503 --- /dev/null +++ b/public/ref/paradoxes.png diff --git a/public/ref/prodjv.jpg b/public/ref/prodjv.jpg Binary files differnew file mode 100644 index 0000000..d5497bf --- /dev/null +++ b/public/ref/prodjv.jpg diff --git a/public/ref/sir_adrien.jpg b/public/ref/sir_adrien.jpg Binary files differnew file mode 100644 index 0000000..0dd0478 --- /dev/null +++ b/public/ref/sir_adrien.jpg diff --git a/public/ref/steel_division_normandy_44.jpg b/public/ref/steel_division_normandy_44.jpg Binary files differnew file mode 100644 index 0000000..06dc757 --- /dev/null +++ b/public/ref/steel_division_normandy_44.jpg diff --git a/public/ref/superchild.jpg b/public/ref/superchild.jpg Binary files differnew file mode 100644 index 0000000..4b52328 --- /dev/null +++ b/public/ref/superchild.jpg diff --git a/public/ref/sybel.png b/public/ref/sybel.png Binary files differnew file mode 100644 index 0000000..c3e71aa --- /dev/null +++ b/public/ref/sybel.png diff --git a/public/ref/talia1.jpg b/public/ref/talia1.jpg Binary files differnew file mode 100644 index 0000000..f533e6b --- /dev/null +++ b/public/ref/talia1.jpg diff --git a/public/ref/talia2.jpg b/public/ref/talia2.jpg Binary files differnew file mode 100644 index 0000000..d7d237f --- /dev/null +++ b/public/ref/talia2.jpg diff --git a/public/ref/ulicoys.jpg b/public/ref/ulicoys.jpg Binary files differnew file mode 100644 index 0000000..54096b0 --- /dev/null +++ b/public/ref/ulicoys.jpg diff --git a/public/ref/violet_dreams.jpg b/public/ref/violet_dreams.jpg Binary files differnew file mode 100644 index 0000000..0962fb1 --- /dev/null +++ b/public/ref/violet_dreams.jpg diff --git a/public/ref/virgin_music.jpg b/public/ref/virgin_music.jpg Binary files differnew file mode 100644 index 0000000..c31549a --- /dev/null +++ b/public/ref/virgin_music.jpg diff --git a/public/ref/virtuel_audio.png b/public/ref/virtuel_audio.png Binary files differnew file mode 100644 index 0000000..f5f7b26 --- /dev/null +++ b/public/ref/virtuel_audio.png diff --git a/public/ref/wtpl.jpg b/public/ref/wtpl.jpg Binary files differnew file mode 100644 index 0000000..061fe77 --- /dev/null +++ b/public/ref/wtpl.jpg diff --git a/src/pages/index.astro b/src/pages/index.astro index 5882ff4..3d5da47 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -89,19 +89,48 @@ import Base from "../layout/Base.astro"; </div> </section> <section class="ref" data-scroll> - <MosaicBackground height="200"> - <img src="/batteur/old2.jpg" /> - <img src="/batteur/old3.jpg" /> - <VideoAuto src="/batteur/video/bb.webm" /> - <img src="/batteur/dark_scene.jpg" /> - <VideoAuto src="/batteur/video/balance.webm" /> - <img src="/batteur/black_and_white.jpg" /> - <img src="/batteur/old.jpg" /> - <img src="/batteur/mid_rock.jpg" /> - <img src="/batteur/mid_outdoor.jpg" /> - <img src="/batteur/mid_rock2.jpg" /> - <img src="/batteur/recent.jpg" /> - <VideoAuto src="/batteur/video/solo.webm" /> + <MosaicBackground height="250"> + <img src="/ref/angie.png" /> + <img src="/ref/apanapana_records.jpg" /> + <img src="/ref/arte.jpg" /> + <img src="/ref/bb1.jpg" /> + <img src="/ref/bb2.jpg" /> + <img src="/ref/bvs.jpg" /> + <img src="/ref/charlotte.jpg" /> + <img src="/ref/compagnie_imaginaire.jpg" /> + <img src="/ref/complice_music.png" /> + <img src="/ref/divine_acajou.png" /> + <img src="/ref/epsilon_escape.jpg" /> + <img src="/ref/france_tv.png" /> + <img src="/ref/green_warrior.jpg" /> + <img src="/ref/havas_event.png" /> + <img src="/ref/if_de_minuit.jpg" /> + <img src="/ref/indigo.jpg" /> + <img src="/ref/jaime_ecouter.jpg" /> + <img src="/ref/juliette.jpg" /> + <img src="/ref/l_oreal.jpg" /> + <img src="/ref/lio.jpg" /> + <img src="/ref/lunii.jpg" /> + <img src="/ref/lvmh.jpg" /> + <img src="/ref/mediawan.jpg" /> + <img src="/ref/musicbox.png" /> + <img src="/ref/nouvelle_samaritaine.png" /> + <img src="/ref/onb.jpg" /> + <img src="/ref/origins.png" /> + <img src="/ref/papooses.png" /> + <img src="/ref/paradoxes.png" /> + <img src="/ref/prodjv.jpg" /> + <img src="/ref/sir_adrien.jpg" /> + <img src="/ref/steel_division_normandy_44.jpg" /> + <img src="/ref/superchild.jpg" /> + <img src="/ref/sybel.png" /> + <img src="/ref/talia1.jpg" /> + <img src="/ref/talia2.jpg" /> + <img src="/ref/ulicoys.jpg" /> + <img src="/ref/violet_dreams.jpg" /> + <img src="/ref/virgin_music.jpg" /> + <img src="/ref/virtuel_audio.png" /> + <img src="/ref/wtpl.jpg" /> </MosaicBackground> <div class="content"> <div class="content__header"> @@ -141,7 +170,11 @@ import Base from "../layout/Base.astro"; document.addEventListener("scroll", () => { sections.forEach((section) => { const rect = section.getBoundingClientRect(); - if (rect.top > window.scrollY || rect.bottom * 2.5 < window.scrollY) return; + if ( + section.top + window.scrollY > window.scrollY || + (rect.bottom + +window.scrollY) * 2 < window.scrollY + ) + return; const content = section.querySelector(".content"); if (content == null || !(content instanceof HTMLElement)) throw new Error(`Invalid section ${section}`); |
