2022-05-20 10:20:31 -07:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import LandingGradient from 'soapbox/components/landing-gradient';
|
|
|
|
import { Spinner } from 'soapbox/components/ui';
|
|
|
|
|
|
|
|
/** Fullscreen loading indicator. */
|
2024-05-12 16:18:04 -07:00
|
|
|
const LoadingScreen: React.FC = () => (
|
|
|
|
<div className='fixed h-screen w-screen'>
|
|
|
|
<LandingGradient />
|
2022-05-20 10:20:31 -07:00
|
|
|
|
2024-05-12 16:18:04 -07:00
|
|
|
<div className='d-screen fixed z-10 flex w-screen items-center justify-center'>
|
|
|
|
<div className='p-4'>
|
|
|
|
<Spinner size={40} withText={false} />
|
2022-05-20 10:20:31 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-05-12 16:18:04 -07:00
|
|
|
</div>
|
|
|
|
);
|
2022-05-20 10:20:31 -07:00
|
|
|
|
|
|
|
export default LoadingScreen;
|