disable animation for dev site
it spins laptop fans full speed
This commit is contained in:
parent
3f76b59ede
commit
9a4760aef5
|
@ -10,7 +10,7 @@ export const Footer = () => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!footerRef.current) return;
|
if (!footerRef.current) return;
|
||||||
if (footerRef.current.clientWidth < 650) return
|
if (footerRef.current.clientWidth < 650) return
|
||||||
scene({ ref: footerRef });
|
if (window.location.hostname === 'my.protospace.ca') scene({ ref: footerRef });
|
||||||
}, [footerRef]);
|
}, [footerRef]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -51,7 +51,7 @@ export const Footer = () => {
|
||||||
>
|
>
|
||||||
View the source code and license on GitHub.
|
View the source code and license on GitHub.
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -101,4 +101,4 @@ export const Footer = () => {
|
||||||
</Container>
|
</Container>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user