-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove default cypress tests, improve loading ui
- Loading branch information
1 parent
117ffe9
commit 5e4a6c9
Showing
30 changed files
with
55 additions
and
2,324 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
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,19 @@ | ||
const LoadingLabs = () => { | ||
const loadingItems = Array.from({ length: 20 }, () => 1) | ||
return ( | ||
<div className="flex animate-pulse"> | ||
<div className="mt-2 w-full"> | ||
<ul className="mt-5 space-y-3"> | ||
{loadingItems.map((_, idx) => ( | ||
<li | ||
key={idx} | ||
className="h-10 w-full rounded bg-gray-200 dark:bg-gray-700" | ||
></li> | ||
))} | ||
</ul> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default LoadingLabs |
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,12 @@ | ||
import { appTitle } from "@/lib/const" | ||
import Image from "next/image" | ||
|
||
const LoadingLogo = () =>{ | ||
return ( | ||
<div className="h-screen flex items-center justify-center animate-bounce"> | ||
<Image alt={appTitle} src="/aws-restart-logo.png" width={120} height={50} /> | ||
</div> | ||
) | ||
} | ||
|
||
export default LoadingLogo |
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,4 @@ | ||
import LoadingLabs from "./LoadingLabs" | ||
import LoadingLogo from "./LoadingLogo" | ||
|
||
export { LoadingLabs, LoadingLogo } |
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,5 +1,6 @@ | ||
import Divider from "./Divider" | ||
import Lab from "./Lab" | ||
import { LoadingLabs, LoadingLogo } from "./Loading" | ||
import UserLabs from "./UserLabs" | ||
|
||
export { Divider, Lab, UserLabs } | ||
export { Divider, Lab, LoadingLabs, LoadingLogo, UserLabs } |
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,4 +1,4 @@ | ||
import { CheckMark, GoogleIcon } from "./Icons" | ||
import { Divider, UserLabs } from "./UI" | ||
import { Divider, LoadingLabs, LoadingLogo, UserLabs } from "./UI" | ||
|
||
export { CheckMark, Divider, GoogleIcon, UserLabs } | ||
export { CheckMark, Divider, GoogleIcon, LoadingLabs, LoadingLogo, UserLabs } |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.