diff --git a/astro.config.mjs b/astro.config.mjs index f103a71..fa846d1 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -26,5 +26,8 @@ export default defineConfig({ ], vite: { plugins: [tailwindcss()], + ssr: { + noExternal: ['motion', 'motion/react'], + }, }, }); diff --git a/src/components/foot.astro b/src/components/foot.astro index 3ddbd02..a936a94 100644 --- a/src/components/foot.astro +++ b/src/components/foot.astro @@ -16,7 +16,7 @@ const legalNotice = footer.legal.replace('{year}', String(year)); --- 10); + if (initialY > 80) { + setIsVisible(false); + } + window.addEventListener("scroll", handleScroll, { passive: true }); return () => window.removeEventListener("scroll", handleScroll); }, []); diff --git a/src/components/sections/contact.tsx b/src/components/sections/contact.tsx index e1bae90..df09555 100644 --- a/src/components/sections/contact.tsx +++ b/src/components/sections/contact.tsx @@ -92,45 +92,45 @@ export default function Contact({ return (
+
+ +
-
- -