From f928c023b80b2517055207b181ad8b578520c440 Mon Sep 17 00:00:00 2001 From: Andrew Smithwick Date: Fri, 10 Jan 2025 20:39:21 -0800 Subject: [PATCH 1/2] Reduced flicker on board member page name text Also added animation to QP and Event images --- src/components/board/Officer.astro | 4 ++-- src/components/core/InView.astro | 2 ++ src/components/events/EventTitle.astro | 3 ++- src/components/projects/QP.astro | 7 ++++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/components/board/Officer.astro b/src/components/board/Officer.astro index eed91fc..f245ac7 100644 --- a/src/components/board/Officer.astro +++ b/src/components/board/Officer.astro @@ -21,10 +21,10 @@ const {name, position, picture, email} = Astro.props;
-

+

{name}

-
+
{position}
diff --git a/src/components/core/InView.astro b/src/components/core/InView.astro index 6d9e17e..535e23e 100644 --- a/src/components/core/InView.astro +++ b/src/components/core/InView.astro @@ -3,9 +3,11 @@ entries.forEach((entry) => { if (entry.isIntersecting) { entry.target.classList.add("in-view"); + entry.target.classList.remove("opacity-0"); console.log("Added 'in-view' class to:", entry.target); } else { entry.target.classList.remove("in-view"); + entry.target.classList.add("opacity-0"); console.log("Removed 'in-view' class from:", entry.target); } }); diff --git a/src/components/events/EventTitle.astro b/src/components/events/EventTitle.astro index dde6f46..bd122ba 100644 --- a/src/components/events/EventTitle.astro +++ b/src/components/events/EventTitle.astro @@ -8,7 +8,8 @@ import { LiaDotCircle } from "react-icons/lia"; Event Page Background
more details

Quarterly Project

From e8f5c4d22b77753dcf3d06c5141d6d6923a3be88 Mon Sep 17 00:00:00 2001 From: Andrew Smithwick Date: Fri, 31 Jan 2025 18:19:41 -0800 Subject: [PATCH 2/2] Reduce flicker in officers --- src/components/board/Officer.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/board/Officer.astro b/src/components/board/Officer.astro index 4bc0b39..77edd52 100644 --- a/src/components/board/Officer.astro +++ b/src/components/board/Officer.astro @@ -41,7 +41,7 @@ const { name, position, picture, email } = Astro.props; >

{name}