the-collab-lab / tcl-74-smart-shopping-list

1 stars 0 forks source link

16 Create Team Component and Loading Screen #45

Closed dterceroparker closed 1 week ago

dterceroparker commented 2 weeks ago

Description

I have created a new Team.jsx component that showcases our developers. This component includes:

Additionally, I implemented a Loading component that utilizes React's Suspense. The Suspense component is used to wrap the Team component, allowing for a fallback UI while the Team component is being loaded asynchronously. This fallback UI displays the Loading component (logo) until the main content is ready to be displayed.

Tasks

Team Component:

Loading Component:

Navigation Update (WIP):

Update the useAuth hook to navigate to the home page once the user signs in from the developers page.