MCPcopy Create free account
hub / github.com/Free-APIs/Free-APIs.github.io / LoadingScreen

Function LoadingScreen

src/pages/LoadingScreen/index.js:3–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import Template from '../Template';
2
3function LoadingScreen() {
4 const card = (
5 <div
6 className='w-72 h-64 m-3 p-4 bg-gray-200
7 rounded-xl flex-none shadow-lg flex flex-col'
8 >
9 <div className='rounded-lg h-12 w-28 bg-gray-400 mb-4' />
10 <div className='rounded-lg flex-grow bg-gray-300' />
11 </div>
12 );
13
14 return (
15 <Template>
16 <div className='flex flex-col items-center animate-pulse'>
17 <div
18 className='h-24 w-1/2 max-w-lg bg-gray-200
19 rounded-xl mt-6 m-4 shadow-lg flex flex-col'
20 >
21 <div className='rounded h-8 bg-gray-300 m-4' />
22 <div className='rounded flex-grow bg-gray-300 mx-4 mb-4' />
23 </div>
24 <div
25 className='h-16 w-32 bg-gray-700
26 rounded-xl m-4 shadow-lg'
27 />
28 <div className='flex justify-center flex-wrap p-4 pt-0'>
29 {card}
30 {card}
31 {card}
32 {card}
33 </div>
34 </div>
35 <div className='flex flex-grow bg-gray-300 pb-6' />
36 </Template>
37 );
38}
39
40export default LoadingScreen;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected