aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/cms-preview-templates
diff options
context:
space:
mode:
authorMathias Biilmann Christensen <info@mathias-biilmann.net>2017-03-18 00:10:06 -0700
committerMathias Biilmann Christensen <info@mathias-biilmann.net>2017-03-18 00:10:06 -0700
commit4c0b25582faa403191286275fa678cd89622c63b (patch)
tree14a8b46530f13a732172eea19da1e77835f70466 /src/js/cms-preview-templates
parent18f12530628aacabb9a96885b0fd152c96c6a6d9 (diff)
Update CMS
Diffstat (limited to 'src/js/cms-preview-templates')
-rw-r--r--src/js/cms-preview-templates/post.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/js/cms-preview-templates/post.js b/src/js/cms-preview-templates/post.js
index 0c819fd..38ab505 100644
--- a/src/js/cms-preview-templates/post.js
+++ b/src/js/cms-preview-templates/post.js
@@ -8,6 +8,11 @@ export default class PostPreview extends React.Component {
return <div className="mw6 center ph3 pv4">
<h1 className="f2 lh-title b mb3">{ entry.getIn(["data", "title"])}</h1>
<div className="flex justify-between grey-3">
+ <div style={{
+ width: "80px",
+ height: "80px",
+ backgroundColor: entry.getIn(['data', 'color'])
+ }}></div>
<p>{ format(entry.getIn(["data", "date"]), "ddd, MMM D, YYYY") }</p>
<p>Read in x minutes</p>
</div>