-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-pensieve-index-js-a0c594ccf84b58f941bd.js
2 lines (2 loc) · 4.01 KB
/
component---src-pages-pensieve-index-js-a0c594ccf84b58f941bd.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{SqBY:function(e,t,n){"use strict";n.r(t),n.d(t,"pageQuery",(function(){return I}));var a=n("q1tI"),i=n.n(a),l=n("Wbzz"),o=n("TJpk"),r=n("N1om"),s=n.n(r),p=n("Kvkj"),c=n("g67X"),m=n("vOnD"),d=n("InJ6");function g(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));"]);return g=function(){return e},e}var f=d.h.colors,u=d.h.fontSizes,h=d.h.fonts,w=Object(m.c)(d.d).withConfig({displayName:"pensieve__StyledMainContainer",componentId:"jb5p05-0"})(["& > header{text-align:center;margin-bottom:100px;a{&:hover,&:focus{cursor:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>⚡</text></svg>\") 20 0,auto;}}}footer{",";margin-top:20px;width:100%;}"],d.g.flexBetween),v=m.c.div.withConfig({displayName:"pensieve__StyledGrid",componentId:"jb5p05-1"})(["margin-top:50px;.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:15px;position:relative;",";}"],d.f.desktop(g())),x=m.c.div.withConfig({displayName:"pensieve__StyledPostInner",componentId:"jb5p05-2"})(["",";",";flex-direction:column;align-items:flex-start;position:relative;padding:2rem 1.75rem;height:100%;border-radius:",";transition:",";background-color:",";header,a{width:100%;}"],d.g.boxShadow,d.g.flexBetween,d.h.borderRadius,d.h.transition,f.lightNavy),y=m.c.div.withConfig({displayName:"pensieve__StyledPost",componentId:"jb5p05-3"})(["transition:",";cursor:default;&:hover,&:focus{outline:0;","{transform:translateY(-5px);}}"],d.h.transition,x),b=m.c.div.withConfig({displayName:"pensieve__StyledPostHeader",componentId:"jb5p05-4"})(["",";margin-bottom:30px;"],d.g.flexBetween),E=m.c.div.withConfig({displayName:"pensieve__StyledFolder",componentId:"jb5p05-5"})(["color:",";svg{width:40px;height:40px;}"],f.green),_=m.c.h5.withConfig({displayName:"pensieve__StyledPostName",componentId:"jb5p05-6"})(["margin:0 0 10px;font-size:",";color:",";"],u.xxl,f.lightestSlate),S=m.c.div.withConfig({displayName:"pensieve__StyledPostDescription",componentId:"jb5p05-7"})(["font-size:17px;color:",";"],f.lightSlate),k=m.c.span.withConfig({displayName:"pensieve__StyledDate",componentId:"jb5p05-8"})(["text-transform:uppercase;font-family:",";font-size:",";color:",";"],h.SFMono,u.xs,f.lightSlate),N=m.c.ul.withConfig({displayName:"pensieve__StyledTags",componentId:"jb5p05-9"})(["display:flex;align-items:flex-end;flex-wrap:wrap;padding:0;margin:0;list-style:none;li{font-family:",";font-size:",";color:",";line-height:1.75;margin-right:15px;&:last-of-type{margin-right:0;}a{",";}}"],h.SFMono,u.xs,f.green,d.g.inlineLink);t.default=function(e){var t=e.location,n=e.data.allMarkdownRemark.edges;return i.a.createElement(p.k,{location:t},i.a.createElement(o.Helmet,null,i.a.createElement("title",null,"Pensieve | HoSeopLee")),i.a.createElement(w,null,i.a.createElement("header",null,i.a.createElement("h1",{className:"big-title"},"Pensieve"),i.a.createElement("p",{className:"subtitle"},i.a.createElement("a",{href:"https://www.wizardingworld.com/writing-by-jk-rowling/pensieve",target:"_blank",rel:"noopener noreferrer"},"a collection of memories"))),i.a.createElement(v,null,i.a.createElement("div",{className:"posts"},n.length>0&&n.map((function(e,t){var n=e.node.frontmatter,a=n.title,o=n.description,r=n.slug,p=n.date,m=n.tags,d=new Date(p);return i.a.createElement(y,{key:t,tabIndex:"0"},i.a.createElement(x,null,i.a.createElement("header",null,i.a.createElement(l.Link,{to:r},i.a.createElement(b,null,i.a.createElement(E,null,i.a.createElement(c.n,null))),i.a.createElement(_,null,a),i.a.createElement(S,null,o))),i.a.createElement("footer",null,i.a.createElement(k,null,""+d.toLocaleDateString()),i.a.createElement(N,null,m.map((function(e,t){return i.a.createElement("li",{key:t},i.a.createElement(l.Link,{to:"/pensieve/tags/"+s()(e)+"/"},"#",e))}))))))}))))))};var I="3292513715"}}]);
//# sourceMappingURL=component---src-pages-pensieve-index-js-a0c594ccf84b58f941bd.js.map