diff --git a/src/components/Loading.jsx b/src/components/Loading.jsx index 9ce18ed..73e3a7d 100644 --- a/src/components/Loading.jsx +++ b/src/components/Loading.jsx @@ -1,18 +1,11 @@ -import logo from '../assets/logo.png'; - export function Loading() { return ( -
+
- CollabShop Logo, a collaboration platform for grocery shopping. -

+

Please hold on while we prepare your experience.

-
+
); diff --git a/src/views/Team.jsx b/src/views/Team.jsx index ffad422..3541a10 100644 --- a/src/views/Team.jsx +++ b/src/views/Team.jsx @@ -1,5 +1,4 @@ import { FaGithub, FaLinkedin, FaGlobe } from 'react-icons/fa'; -import { Loading } from '../components/Loading'; import doribelAvatar from '../assets/avatars/doribelAvatar.jpg'; import nicholasAvatar from '../assets/avatars/nicholasAvatar.png'; import shuvekshaAvatar from '../assets/avatars/shuvekshaAvatar.jpg'; @@ -7,7 +6,6 @@ import stacyAvatar from '../assets/avatars/stacyAvatar.jpg'; import ejAvatar from '../assets/avatars/ejAvatar.png'; import jennyAvatar from '../assets/avatars/jennyAvatar.jpg'; import meganAvatar from '../assets/avatars/meganAvatar.jpg'; -import { useEffect, useState } from 'react'; const developers = [ { @@ -64,21 +62,6 @@ const mentors = [ ]; export function Team() { - /* This will be removed once the Logo ticket is finalized to ensure the UI is correct. */ - const [isLoading, setIsLoading] = useState(true); - - useEffect(() => { - const timer = setTimeout(() => { - setIsLoading(false); - }, 3000); - - return () => clearTimeout(timer); - }, []); - - if (isLoading) { - return ; - } - return (