From 9c27bf143a740897639ac8cca80074f688d24af1 Mon Sep 17 00:00:00 2001 From: Yohan Boujon Date: Sun, 27 Apr 2025 20:49:45 +0200 Subject: [PATCH] Index: Added basic animation for "Photographie" --- src/lib/components/navbar.svelte | 10 ------- src/routes/+page.svelte | 50 +++++++++++++++++++------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/lib/components/navbar.svelte b/src/lib/components/navbar.svelte index f194673..a0e1e2d 100644 --- a/src/lib/components/navbar.svelte +++ b/src/lib/components/navbar.svelte @@ -15,7 +15,6 @@ let cursorX; let cursorY; - let navbar_title; let navbar_category; function isActive(str, url) { @@ -73,15 +72,6 @@ class={scrollY < SCROLL ? "disabled" : "navbar-height flex-row container"} - on:mousemove={(event) => { - update_gradient(event, navbar_title); - }} - on:mouseenter={() => { - animateForeground(true, navbar_title); - }} - on:mouseleave={() => { - animateForeground(false, navbar_title); - }} > -
+
{#each photoList[index] as photo} {/each}
- - + +
+ {#each photoList[index + 1] as photo} + nothing + {/each} +
+ +