-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodern.js
2 lines (2 loc) · 4.28 KB
/
modern.js
1
2
webpackJsonp(["themes/modern"],{"themes/modern":function(e,t,a){"use strict";e.exports={articleDetail:a("themes/modern/1"),articleListItem:a("themes/modern/2"),sideBar:a("themes/modern/3"),tag:a("themes/modern/4"),shareButton:a("themes/modern/5")}},"themes/modern/1":function(e,t){"use strict;";e.exports=function(e,t){var a=t.post,r=t.Tag,l=t.user,n=t.Link,s=t.ShareButton,m=t.url;return e.createElement("div",{className:"mill-detail"},e.createElement("h1",{className:"post-title"},a.title),e.createElement("div",{className:"mill-detail-content"},e.createElement("section",{className:"post-meta"},e.createElement("span",{className:"post-time"},e.createElement("i",{className:"fa fa-calendar"}),e.createElement("time",{className:"fulldate"},a.createdAt?a.createdAt.toDateString():"")),e.createElement(r,{tags:a.tags})),e.createElement("div",{dangerouslySetInnerHTML:{__html:a.html}}),e.createElement("footer",{className:"post-footer"},e.createElement("figure",{className:"author-image"},e.createElement("a",{className:"img",href:l.ghLink,style:{backgroundImage:"url("+l.avatar+"&s=120)"}},e.createElement("span",{className:"hidden"},l.login))),e.createElement("section",{className:"author"},e.createElement("h4",null,e.createElement(n,{to:"/",query:{author:l.login}},l.login)),e.createElement("p",null,"Read",e.createElement(n,{to:"/",query:{author:l.login}},"more posts")," by this author."),e.createElement("div",{className:"author-meta"},e.createElement("i",{className:"fa fa-link"},e.createElement("a",{href:a.ghLink},a.ghLink)))),e.createElement("section",{className:"share"},e.createElement("h4",null,"Share this post"),e.createElement("div",{className:"share-icons"},["twitter","facebook","google-plus","weibo"].map(function(t,r){return e.createElement(s,{key:r,publisher:t,url:m,content:a.title})}))))))}},"themes/modern/2":function(e,t){"use strict;";e.exports=function(e,t){var a=t.Link,r=t.post,l=t.Tag;return e.createElement("article",{className:"post"},e.createElement("header",{className:"post-head"},e.createElement("h1",{className:"post-title"},e.createElement(a,{to:"/post/"+r.id},r.title))),e.createElement("div",{className:"post-preview"},e.createElement("aside",{className:"col-aside"},e.createElement("span",{className:"post-meta"},e.createElement("i",{className:"fa fa-calendar"}),e.createElement("time",{className:"post-item-time",dateTime:r.createdAt.toJSON()},r.createdAt.toDateString()),e.createElement(l,{tags:r.tags}))),e.createElement("section",{className:"post-excerpt"},e.createElement("p",null,r.sumary),e.createElement(a,{className:"btn",to:"/post/"+r.id},"Read More"))))}},"themes/modern/3":function(e,t){"use strict;";e.exports=function(e,t){var a=t.logo,r=t.title;return e.createElement("header",null,e.createElement("div",{id:"header-overlay",style:{backgroundImage:"url(https://cloud.githubusercontent.com/assets/914595/14740387/201976da-08c1-11e6-8779-2518801361cb.jpg)"}}),e.createElement("div",{id:"overlay"},e.createElement("div",{className:"logo"},e.createElement("a",null,e.createElement("img",{src:a,alt:r||""})),r),e.createElement("div",{className:"socials"},e.createElement("div",null,e.createElement("a",{href:"#/"},e.createElement("i",{className:"fa fa-twitter","aria-hidden":"true"}))),e.createElement("div",null,e.createElement("a",{href:"https://github.com/graffie"},e.createElement("i",{className:"fa fa-github","aria-hidden":"true"}))),e.createElement("div",null,e.createElement("a",{href:"#/"},e.createElement("i",{className:"fa fa-instagram","aria-hidden":"true"}))),e.createElement("div",null,e.createElement("a",{href:"#/"},e.createElement("i",{className:"fa fa-medium","aria-hidden":"true"}))))),e.createElement("span",{id:"more"},e.createElement("i",{className:"fa fa-angle-double-down","aria-hidden":"true"})))}},"themes/modern/4":function(e,t){"use strict;";e.exports=function(e,t){var a=t.tags,r=t.Link;return e.createElement("p",{className:"post-item-tags"},e.createElement("i",{className:"fa fa-tags"}),a.map(function(t,l){var n=l!==a.length-1?e.createElement("span",null,", "):"";return e.createElement(r,{key:l,to:"/",query:{tag:t}},t,n)}))}},"themes/modern/5":function(e,t){"use strict;";e.exports=function(e,t){var a=t.className,r=t.link,l=t.onClick,n=t.publisher;return e.createElement("a",{className:a,href:r,onClick:l},e.createElement("span",{className:"hidden"},n))}}});
//# sourceMappingURL=modern.js.map