Optimize banner image
This commit is contained in:
parent
68432eef26
commit
a21b4c5cf3
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ import HelpLink from 'component/common/help-link';
|
|||
import ClaimSupportButton from 'component/claimSupportButton';
|
||||
import ChannelStakedIndicator from 'component/channelStakedIndicator';
|
||||
import ClaimMenuList from 'component/claimMenuList';
|
||||
import OptimizedImage from 'component/optimizedImage';
|
||||
import Yrbl from 'component/yrbl';
|
||||
import I18nMessage from 'component/i18nMessage';
|
||||
// $FlowFixMe cannot resolve ...
|
||||
|
@ -220,7 +221,7 @@ function ChannelPage(props: Props) {
|
|||
<ClaimMenuList uri={claim.permanent_url} channelUri={claim.permanent_url} inline isChannelPage />
|
||||
</div>
|
||||
{cover && <img className={classnames('channel-cover__custom')} src={PlaceholderTx} />}
|
||||
{cover && <img className={classnames('channel-cover__custom')} src={cover} />}
|
||||
{cover && <OptimizedImage className={classnames('channel-cover__custom')} src={cover} objectFit="cover" />}
|
||||
<div className="channel__primary-info">
|
||||
<ChannelThumbnail className="channel__thumbnail--channel-page" uri={uri} allowGifs hideStakedIndicator />
|
||||
<h1 className="channel__title">
|
||||
|
|
Loading…
Add table
Reference in a new issue