Updated nav and page title for profiles

• Updated:
- nav and page title for profiles to be emojified
This commit is contained in:
mgabdev
2020-05-26 20:33:53 -04:00
parent cb13954e9e
commit 163f6ab1e7
5 changed files with 16 additions and 14 deletions

View File

@@ -4,12 +4,12 @@ import Heading from './heading'
export default class ProfileNavigationBar extends PureComponent {
static propTypes = {
title: PropTypes.string,
titleHTML: PropTypes.string,
showBackBtn: PropTypes.bool,
}
render() {
const { title } = this.props
const { titleHTML } = this.props
return (
<div className={[_s.default, _s.z4, _s.heightMin53PX, _s.width100PC].join(' ')}>
@@ -26,7 +26,7 @@ export default class ProfileNavigationBar extends PureComponent {
<div className={[_s.default, _s.heightMin53PX, _s.justifyContentCenter, _s.mrAuto].join(' ')}>
<Heading size='h1'>
<span className={[_s.textOverflowEllipsis, _s.colorNavigation].join(' ')}>
{title}
<div dangerouslySetInnerHTML={{ __html: titleHTML }} />
</span>
</Heading>
</div>