Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat:removed up the loading.. screen and added a triangle loader for it . #337

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"react": "^18.2.0",
"react-confetti": "^6.1.0",
"react-dom": "^18.2.0",
"react-loader-spinner": "^6.1.6",
"react-router-dom": "^6.22.3",
"recoil": "^0.7.7",
"tailwind-merge": "^2.3.0",
Expand Down
16 changes: 15 additions & 1 deletion apps/frontend/src/components/Loader.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
//TODO: Make prettier
import { BallTriangle } from 'react-loader-spinner'

export const Loader = () => {
return <div>Loading..</div>;
return <div className='h-screen flex items-center justify-center'>
<BallTriangle
height={100}
width={100}
radius={5}
color="#4fa94d"
ariaLabel="ball-triangle-loading"
wrapperStyle={{}}
wrapperClass=""
visible={true}
/>
</div>

};