From b7a286d3c891efb5cc5282ab6aa0b16544cd988d Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Sun, 26 Apr 2026 23:50:10 +0300 Subject: [PATCH 1/2] Bob AI: fix build errors (attempt 2) --- src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index e2d6172..c7045d7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -21,8 +21,8 @@ export default function App() { } /> } /> -
- +
+
Date: Sun, 26 Apr 2026 23:52:05 +0300 Subject: [PATCH 2/2] Bob AI: Modify the Navbar component to make it floating, typically b --- src/components/ui/NavbarCentered.tsx | 38 +++++++++++++++------------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/src/components/ui/NavbarCentered.tsx b/src/components/ui/NavbarCentered.tsx index de8cb8c..4bd40b4 100644 --- a/src/components/ui/NavbarCentered.tsx +++ b/src/components/ui/NavbarCentered.tsx @@ -50,7 +50,7 @@ const NavbarCentered = ({ logo, navItems, ctaButton }: NavbarCenteredProps) => { const [menuOpen, setMenuOpen] = useState(false); useEffect(() => { - const handleScroll = () => setIsScrolled(window.scrollY > 50); + const handleScroll = () => setIsScrolled(window.scrollY > 20); window.addEventListener("scroll", handleScroll, { passive: true }); return () => window.removeEventListener("scroll", handleScroll); }, []); @@ -59,37 +59,39 @@ const NavbarCentered = ({ logo, navItems, ctaButton }: NavbarCenteredProps) => { <>