-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93aecce
commit e0bfd53
Showing
4 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
'use client'; | ||
|
||
import React from 'react'; | ||
import { Spinner } from '@material-tailwind/react'; | ||
|
||
const PageSpinner = () => { | ||
return <Spinner color="pink" className="w-8 h-8" />; | ||
}; | ||
|
||
export default PageSpinner; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,28 @@ | ||
import ProgressBar from '@/Components/Common/PageLoading/ProgressBar'; | ||
import React from 'react'; | ||
import icon_cat from '@/public/icon_cat.svg'; | ||
import Image from 'next/image'; | ||
import PageSpinner from '@/Components/Common/PageLoading/PageSpinner'; | ||
|
||
const Loading = () => { | ||
return <div>Loading</div>; | ||
return ( | ||
<div className=" bg-secondary w-full h-full"> | ||
<ProgressBar /> | ||
<div className="w-full h-full flex flex-col items-center justify-center bg-secondary"> | ||
<Image | ||
src={icon_cat} | ||
alt="cat" | ||
width={100} | ||
height={100} | ||
className="w-32 h-32" | ||
/> | ||
<div className=" w-56 h-20 flex flex-col items-center justify-center rounded-md bg-white"> | ||
<PageSpinner /> | ||
<h1>Loading...</h1> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Loading; |
This file was deleted.
Oops, something went wrong.