From 9a4760aef532e8ee5a790833becaa0eb38ba27e8 Mon Sep 17 00:00:00 2001
From: Adrian Dmitra
Date: Mon, 14 Aug 2023 11:20:31 -0600
Subject: [PATCH] disable animation for dev site
it spins laptop fans full speed
---
webclient/src/Footer.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/webclient/src/Footer.js b/webclient/src/Footer.js
index 1668159..c66a97c 100644
--- a/webclient/src/Footer.js
+++ b/webclient/src/Footer.js
@@ -10,7 +10,7 @@ export const Footer = () => {
useEffect(() => {
if (!footerRef.current) return;
if (footerRef.current.clientWidth < 650) return
- scene({ ref: footerRef });
+ if (window.location.hostname === 'my.protospace.ca') scene({ ref: footerRef });
}, [footerRef]);
return (
@@ -51,7 +51,7 @@ export const Footer = () => {
>
View the source code and license on GitHub.
{' '}
-
+
@@ -101,4 +101,4 @@ export const Footer = () => {
);
-};
+};
\ No newline at end of file