From f6df1bf9717215d30c7f94e8c51f841ccc32d950 Mon Sep 17 00:00:00 2001 From: Peter Pham Date: Wed, 11 Dec 2024 12:49:50 +0700 Subject: [PATCH] fix: UI bugs --- src/components/Home/Highlight/_index.tsx | 2 +- src/components/Home/OpenSource/_index.tsx | 2 +- src/components/Home/SupportTechs/_index.tsx | 2 +- src/pages/index.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Home/Highlight/_index.tsx b/src/components/Home/Highlight/_index.tsx index cec831f..e288e21 100644 --- a/src/components/Home/Highlight/_index.tsx +++ b/src/components/Home/Highlight/_index.tsx @@ -3,7 +3,7 @@ import BentoGrid from "./BentoGrid"; export default function Highlight() { return ( -
+
diff --git a/src/components/Home/OpenSource/_index.tsx b/src/components/Home/OpenSource/_index.tsx index d428d34..a92f86b 100644 --- a/src/components/Home/OpenSource/_index.tsx +++ b/src/components/Home/OpenSource/_index.tsx @@ -4,7 +4,7 @@ import { useInView } from "framer-motion"; export default function OpenSource() { const ref = useRef(null); - const isInView = useInView(ref); + const isInView = useInView(ref, { once: true }); return (
-
+
{isHeroInView && }