From c5e02f6f0ee953b7c99052b297344af6b9c299d9 Mon Sep 17 00:00:00 2001 From: Marios Antonoudiou Date: Sun, 16 Nov 2025 11:25:45 +0200 Subject: [PATCH] Updates --- components/top-nav.vue | 21 +++++++++++---------- pages/index.vue | 5 +++-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/components/top-nav.vue b/components/top-nav.vue index bc93ed1..5e71178 100644 --- a/components/top-nav.vue +++ b/components/top-nav.vue @@ -19,14 +19,9 @@ const motionInstance = useMotion(target, { const throttledApply = useThrottleFn((state: string) => { return motionInstance.apply(state); -}, 300); +}, 500); watchEffect(() => { - if (arrivedState.top) { - motionInstance.apply("initial"); - return; - } - if (directions.top) { throttledApply("initial"); return; @@ -44,18 +39,23 @@ watchEffect(() => { ref="target" class="border-b border-b-gray-200 dark:border-none dark:border-b-slate-600 top-0 bg-white z-10 dark:bg-slate-800 bg-opacity-85 dark:bg-opacity-90 backdrop-blur-sm sticky" > - + -
Marios Antonoudiou
+
+ Marios Antonoudiou +
{ >Home +