forked from CoreBunch/Instatic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppLoadingScreen.tsx
More file actions
34 lines (32 loc) · 819 Bytes
/
Copy pathAppLoadingScreen.tsx
File metadata and controls
34 lines (32 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import styles from './AppLoadingScreen.module.css'
export function AppLoadingScreen() {
return (
<div
className={styles.screen}
role="status"
aria-busy="true"
aria-label="Loading Instatic"
>
<BanterLoader />
</div>
)
}
function BanterLoader() {
return (
<div
className={styles.banterLoader}
data-loader-spinner="true"
aria-hidden="true"
>
<div className={styles.banterBox} />
<div className={styles.banterBox} />
<div className={styles.banterBox} />
<div className={styles.banterBox} />
<div className={styles.banterBox} />
<div className={styles.banterBox} />
<div className={styles.banterBox} />
<div className={styles.banterBox} />
<div className={styles.banterBox} />
</div>
)
}