{"version":3,"sources":["webpack:///./src/components/postCard.js","webpack:///./src/pages/collections.js"],"names":["props","className","count","postClass","node","frontmatter","thumbnail","style","backgroundImage","childImageSharp","fluid","src","to","fields","slug","title","CollectionIndex","location","data","siteTitle","site","siteMetadata","posts","allMarkdownRemark","edges","postCounter","keywords","description","map","key","query","render"],"mappings":"sLAGe,WAAAA,GAAK,OAClB,6BACEC,UAAS,cAAeD,EAAME,MAAQ,GAAM,GAApB,mBAAf,IACPF,EAAMG,UADC,KAELH,EAAMI,KAAKC,YAAYC,UAAvB,yBACJC,MACEP,EAAMI,KAAKC,YAAYC,WAAa,CAClCE,gBAAgB,OACdR,EAAMI,KAAKC,YAAYC,UAAUG,gBAAgBC,MAAMC,IAD1C,MAMnB,kBAAC,OAAD,CAAMC,GAAIZ,EAAMI,KAAKS,OAAOC,KAAMb,UAAU,kBAC1C,yBAAKA,UAAU,qBACb,wBAAIA,UAAU,mBACXD,EAAMI,KAAKC,YAAYU,OAASf,EAAMI,KAAKS,OAAOC,UCRvDE,G,oBAAkB,SAAC,EAAUC,GAAc,IAAtBC,EAAqB,EAArBA,KACnBC,EAAYD,EAAKE,KAAKC,aAAaN,MACnCO,EAAQJ,EAAKK,kBAAkBC,MACjCC,EAAc,EAElB,OACE,kBAAC,IAAD,CAAQV,MAAOI,GACb,kBAAC,IAAD,CACEJ,MAAM,YACNW,SAAU,CAAC,OAAD,iCAGXR,EAAKE,KAAKC,aAAaM,aACtB,4BAAQ1B,UAAU,aAChB,wBAAIA,UAAU,mBAAd,UAGJ,yBAAKA,UAAU,aACZqB,EAAMM,KAAI,YAAe,IAAZxB,EAAW,EAAXA,KAEZ,OADAqB,IAEE,kBAAC,EAAD,CACEI,IAAKzB,EAAKS,OAAOC,KACjBZ,MAAOuB,EACPrB,KAAMA,EACND,UAAS,gBA0CR,mBAAAH,GAAK,OAClB,kBAAC,cAAD,CACE8B,MAnCY,aAoCZC,OAAQ,SAAAb,GAAI,OACV,kBAAC,EAAD,eAAiBD,SAAUjB,EAAMiB,SAAUjB,OAAK,EAACkB,KAAMA,GAAUlB,S","file":"component---src-pages-collections-js-f17352c7da524bbcf92d.js","sourcesContent":["import React from \"react\"\nimport { Link } from \"gatsby\"\n\nexport default props => (\n \n \n
\n

\n {props.node.frontmatter.title || props.node.fields.slug}\n

\n
\n \n \n)\n","import React from \"react\"\nimport { graphql, StaticQuery } from \"gatsby\"\n\nimport Layout from \"../components/layout\"\nimport SEO from \"../components/seo\"\nimport PostCard from \"../components/postCard\"\n\n// import \"../utils/global.scss\"\nimport \"../utils/normalize.css\"\nimport \"../utils/css/screen.css\"\n//TODO: switch to staticQuery, get rid of comments, remove unnecessary components, export as draft template\nconst CollectionIndex = ({ data }, location) => {\n const siteTitle = data.site.siteMetadata.title\n const posts = data.allMarkdownRemark.edges\n let postCounter = 0\n\n return (\n \n \n {/* */}\n {data.site.siteMetadata.description && (\n
\n

髮型作品集

\n
\n )}\n
\n {posts.map(({ node }) => {\n postCounter++\n return (\n \n )\n })}\n
\n
\n )\n}\n\nconst indexQuery = graphql`\n query {\n site {\n siteMetadata {\n title\n description\n }\n }\n allMarkdownRemark(sort: { fields: [frontmatter___date], order: DESC }) {\n edges {\n node {\n excerpt\n fields {\n slug\n }\n frontmatter {\n date(formatString: \"MMMM DD, YYYY\")\n title\n description\n thumbnail {\n childImageSharp {\n fluid(maxWidth: 1360) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n }\n }\n }\n }\n`\n\nexport default props => (\n (\n \n )}\n />\n)\n"],"sourceRoot":""}