this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(nav): restore scroll state on non-home pages

Keep the lightweight scrolled nav behavior available outside the homepage while leaving sky effects disabled.

Made-with: Cursor

+3
+2
components/Nav.tsx
··· 1 1 import { useT } from "../i18n/mod.ts"; 2 2 import AccountMenu from "../islands/AccountMenu.tsx"; 3 + import NavScroll from "../islands/NavScroll.tsx"; 3 4 4 5 interface NavProps { 5 6 /** ··· 73 74 </label> 74 75 </div> 75 76 )} 77 + {!showEffects && <NavScroll />} 76 78 </> 77 79 ); 78 80 }
+1
islands/NavScroll.tsx
··· 13 13 } 14 14 }; 15 15 16 + onScroll(); 16 17 globalThis.addEventListener("scroll", onScroll, { passive: true }); 17 18 return () => globalThis.removeEventListener("scroll", onScroll); 18 19 }, []);