|
|
|
@ -23,6 +23,7 @@ function Notice () { |
|
|
|
|
Notice.prototype.render = function () { |
|
|
|
|
const props = this.props |
|
|
|
|
const title = props.lastUnreadNotice.title |
|
|
|
|
const date = props.lastUnreadNotice.date |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
h('.flex-column.flex-center.flex-grow', [ |
|
|
|
@ -30,7 +31,6 @@ Notice.prototype.render = function () { |
|
|
|
|
style: { |
|
|
|
|
background: '#EBEBEB', |
|
|
|
|
color: '#AEAEAE', |
|
|
|
|
marginBottom: 24, |
|
|
|
|
width: '100%', |
|
|
|
|
fontSize: '20px', |
|
|
|
|
textAlign: 'center', |
|
|
|
@ -40,6 +40,20 @@ Notice.prototype.render = function () { |
|
|
|
|
title, |
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
h('h5.flex-center.text-transform-uppercacse.terms-header', { |
|
|
|
|
style: { |
|
|
|
|
background: '#EBEBEB', |
|
|
|
|
color: '#AEAEAE', |
|
|
|
|
marginBottom: 24, |
|
|
|
|
width: '100%', |
|
|
|
|
fontSize: '20px', |
|
|
|
|
textAlign: 'center', |
|
|
|
|
padding: 6, |
|
|
|
|
}, |
|
|
|
|
}, [ |
|
|
|
|
date, |
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
h('style', ` |
|
|
|
|
|
|
|
|
|
.markdown { |
|
|
|
|