Display customized mascot in web UI and fix admin form for it (#8964)
Follow-up to #8766
This commit is contained in:
parent
22de24b8ca
commit
9d4541c612
4 changed files with 12 additions and 1 deletions
|
@ -13,6 +13,7 @@ import spring from 'react-motion/lib/spring';
|
|||
import SearchResultsContainer from './containers/search_results_container';
|
||||
import { changeComposing } from '../../actions/compose';
|
||||
import elephantUIPlane from '../../../images/elephant_ui_plane.svg';
|
||||
import { mascot } from '../../initial_state';
|
||||
|
||||
const messages = defineMessages({
|
||||
start: { id: 'getting_started.heading', defaultMessage: 'Getting started' },
|
||||
|
@ -107,7 +108,7 @@ class Compose extends React.PureComponent {
|
|||
<ComposeFormContainer />
|
||||
{multiColumn && (
|
||||
<div className='drawer__inner__mastodon'>
|
||||
<img alt='' draggable='false' src={elephantUIPlane} />
|
||||
<img alt='' draggable='false' src={mascot || elephantUIPlane} />
|
||||
</div>
|
||||
)}
|
||||
</div>}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue