{"version":3,"sources":["webpack:///./src/components/sidebar/RecentPostList.js","webpack:///./src/components/sidebar/RecentPost.js","webpack:///./src/components/layout/sidebar.js","webpack:///./src/components/layout/layout_sidebar.js","webpack:///./src/templates/blog-content.js"],"names":["Container","styled","div","List","Content","Image","Link","Title","Date","RecentPostList","nodes","map","node","key","frontmatter","title","to","fields","slug","fixed","topImage","childImageSharp","created_at","RecentPost","useStaticQuery","allMarkdownRemark","edges","console","log","Aside","aside","Sidebar","Main","main","LayoutSidebar","props","GlobalStyle","children","Article","article","h1","Post","markdownRemark","data","description","image","fluid","src","PostCardCategoryList","categories","PostCardDate","updated_at","dangerouslySetInnerHTML","__html","html","query"],"mappings":"+QAKMA,EAAYC,IAAOC,IAAV,4EAAGD,CAAH,gCAKTE,EAAOF,IAAOC,IAAV,uEAAGD,CAAH,8FAOJG,EAAUH,IAAOC,IAAV,0EAAGD,CAAH,gCAIPI,EAAQJ,YAAOK,KAAV,wEAAGL,CAAH,2DAMLM,EAAQN,YAAOK,KAAV,wEAAGL,CAAH,8GASLO,EAAOP,IAAOC,IAAV,uEAAGD,CAAH,mCA0BKQ,MApBf,YAAoC,IAAVC,EAAS,EAATA,MACxB,OACE,kBAACV,EAAD,KACGU,EAAMC,KAAI,YAAe,IAAZC,EAAW,EAAXA,KACZ,OACE,kBAACT,EAAD,CAAMU,IAAKD,EAAKE,YAAYC,OAC1B,kBAACV,EAAD,CAAOW,GAAIJ,EAAKK,OAAOC,MACrB,kBAAC,IAAD,CAAKC,MAAOP,EAAKE,YAAYM,SAASC,gBAAgBF,SAExD,kBAACf,EAAD,KACE,kBAACG,EAAD,CAAOS,GAAIJ,EAAKK,OAAOC,MAAON,EAAKE,YAAYC,OAC/C,kBAAC,EAAD,KAAOH,EAAKE,YAAYQ,mBChDhCtB,EAAYC,IAAOC,IAAV,wEAAGD,CAAH,6FAQTG,EAAUH,IAAOC,IAAV,sEAAGD,CAAH,yFAiDEsB,EA1CI,WACjB,IA+BMb,EA/BOc,YAAe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"component---src-templates-blog-content-js-ab9c98de977e77dea799.js","sourcesContent":["import React from \"react\"\nimport styled from \"styled-components\"\nimport { Link } from \"gatsby\"\nimport Img from \"gatsby-image\"\n\nconst Container = styled.div`\n @media (min-width: 768px) {\n }\n`\n\nconst List = styled.div`\n font-size: 0.875em;\n padding-top: 1em;\n display: flex;\n align-items: center;\n justify-content: start;\n`\nconst Content = styled.div`\n padding-left: 0.5em;\n flex: 1;\n`\nconst Image = styled(Link)`\n transition: all 0.3s ease-in-out;\n &:hover {\n opacity: 0.5;\n }\n`\nconst Title = styled(Link)`\n text-decoration: none;\n line-height: 1.3em;\n color: black;\n transition: all 0.3s ease-in-out;\n &:hover {\n opacity: 0.5;\n }\n`\nconst Date = styled.div`\n /* font-size: 0; */\n padding-top: 0.2em;\n color: gray;\n`\n\nfunction RecentPostList({ nodes }) {\n return (\n \n {nodes.map(({ node }) => {\n return (\n \n \n \n \n \n {node.frontmatter.title}\n {node.frontmatter.created_at}\n \n \n )\n })}\n \n )\n}\n\nexport default RecentPostList\n","import React from \"react\"\nimport styled from \"styled-components\"\nimport { graphql, useStaticQuery } from \"gatsby\"\nimport RecentPostList from \"./RecentPostList\"\n\nconst Container = styled.div`\n border: 1px solid #e0e0e0;\n padding: 1em;\n margin: 1em 2em;\n @media (min-width: 768px) {\n margin: 0;\n }\n`\nconst Content = styled.div`\n font-size: 13px;\n font-weight: bold;\n border-bottom: 1px solid #e0e0e0;\n padding-bottom: 5px;\n`\n\nconst RecentPost = () => {\n const data = useStaticQuery(graphql`\n {\n allMarkdownRemark(\n sort: { order: DESC, fields: frontmatter___created_at }\n ) {\n edges {\n node {\n fields {\n slug\n }\n frontmatter {\n title\n created_at\n updated_at\n categories\n topImage {\n relativePath\n childImageSharp {\n id\n fixed(width: 80) {\n ...GatsbyImageSharpFixed\n }\n }\n }\n }\n }\n }\n }\n }\n `)\n\n const nodes = data.allMarkdownRemark.edges\n console.log(nodes)\n return (\n \n 最新の投稿\n \n \n )\n}\n\nexport default RecentPost\n","import React from \"react\"\nimport styled from \"styled-components\"\nimport RecentPost from \"../sidebar/RecentPost\"\n\nconst Aside = styled.aside`\n width: 100%;\n @media (min-width: 768px) {\n width: 30%;\n }\n`\nconst Sidebar = () => {\n return (\n \n )\n}\n\nexport default Sidebar\n","import React from \"react\"\nimport Header from \"./header\"\nimport Footer from \"./footer\"\nimport Sidebar from \"./sidebar\"\nimport GlobalStyle from \"./GlobalStyle\"\nimport \"prismjs/themes/prism-twilight.css\"\nimport styled from \"styled-components\"\n\nconst Container = styled.div`\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n`\n\nconst Content = styled.div`\n padding-top: 100px;\n padding-bottom: 40px;\n\n @media (min-width: 768px) {\n max-width: 1000px;\n margin: 0 auto;\n display: flex;\n }\n`\nconst Main = styled.main`\n @media (min-width: 768px) {\n width: 68%;\n padding-right: 20px;\n }\n`\nconst LayoutSidebar = props => {\n return (\n \n \n
\n \n
{props.children}
\n \n
\n