mirror of https://github.com/mastodon/mastodon
Change animation on feed generation screen in web UI (#33311)
parent
74478888ff
commit
3cf6681736
@ -1,18 +0,0 @@
|
|||||||
import { FormattedMessage } from 'react-intl';
|
|
||||||
|
|
||||||
import illustration from '@/images/elephant_ui_working.svg';
|
|
||||||
|
|
||||||
const RegenerationIndicator = () => (
|
|
||||||
<div className='regeneration-indicator'>
|
|
||||||
<div className='regeneration-indicator__figure'>
|
|
||||||
<img src={illustration} alt='' />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className='regeneration-indicator__label'>
|
|
||||||
<FormattedMessage id='regeneration_indicator.label' tagName='strong' defaultMessage='Loading…' />
|
|
||||||
<FormattedMessage id='regeneration_indicator.sublabel' defaultMessage='Your home feed is being prepared!' />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
||||||
export default RegenerationIndicator;
|
|
@ -0,0 +1,26 @@
|
|||||||
|
import { FormattedMessage } from 'react-intl';
|
||||||
|
|
||||||
|
import { GIF } from './gif';
|
||||||
|
|
||||||
|
export const RegenerationIndicator: React.FC = () => (
|
||||||
|
<div className='regeneration-indicator'>
|
||||||
|
<GIF
|
||||||
|
src='/loading.gif'
|
||||||
|
staticSrc='/loading.png'
|
||||||
|
className='regeneration-indicator__figure'
|
||||||
|
/>
|
||||||
|
|
||||||
|
<div className='regeneration-indicator__label'>
|
||||||
|
<strong>
|
||||||
|
<FormattedMessage
|
||||||
|
id='regeneration_indicator.preparing_your_home_feed'
|
||||||
|
defaultMessage='Preparing your home feed…'
|
||||||
|
/>
|
||||||
|
</strong>
|
||||||
|
<FormattedMessage
|
||||||
|
id='regeneration_indicator.please_stand_by'
|
||||||
|
defaultMessage='Please stand by.'
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
Binary file not shown.
After Width: | Height: | Size: 288 KiB |
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
Loading…
Reference in New Issue