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. */
|
|
|
|
const LoadingScreen: React.FC = () => {
|
|
|
|
return (
|
2022-05-20 11:13:17 -07:00
|
|
|
<div className='fixed h-screen w-screen'>
|
2022-05-20 10:20:31 -07:00
|
|
|
<LandingGradient />
|
|
|
|
|
2023-02-01 14:13:42 -08:00
|
|
|
<div className='d-screen fixed z-10 flex w-screen items-center justify-center'>
|
2022-05-24 12:31:46 -07:00
|
|
|
<div className='p-4'>
|
|
|
|
<Spinner size={40} withText={false} />
|
|
|
|
</div>
|
2022-05-20 10:20:31 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default LoadingScreen;
|