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 />
|
|
|
|
|
2022-05-24 10:45:00 -07:00
|
|
|
<div className='fixed d-screen w-screen flex items-center justify-center z-10'>
|
2022-05-22 11:27:08 -07:00
|
|
|
{/* Bump up spinner vertically to counteract optical illusion. */}
|
2022-05-24 10:45:00 -07:00
|
|
|
<Spinner size={40} withText={false} />
|
2022-05-20 10:20:31 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default LoadingScreen;
|