{"version":3,"file":"component---src-templates-tags-index-tsx-765f3c44876cc1c79adb.js","mappings":"wLAOe,SAASA,EAAT,GAG6B,IAF1CC,EAEyC,EAFzCA,KACAC,EACyC,EADzCA,YAEMC,EAAQF,EAAKG,kBAAkBC,MAAMC,KAAI,SAAAC,GAAI,kBAAK,CACtDC,KAAMD,EAAKE,KAAKC,OAAOF,KACvBG,MAAOJ,EAAKE,KAAKG,YAAYD,MAC7BE,YAAW,UAAEN,EAAKE,KAAKG,YAAYC,mBAAxB,QAAuCN,EAAKE,KAAKK,QAC5DC,MAAK,UAAER,EAAKE,KAAKG,YAAYG,aAAxB,iBAAE,EAA6BC,kBAA/B,iBAAE,EAAyCC,uBAA3C,aAAE,EAA0DC,gBACjEC,iBAAkBZ,EAAKE,KAAKG,YAAYG,MAAMF,gBAGhD,OACE,gDACE,wBAAC,KAAD,CACEC,QAAO,yCAA2CZ,EAAYkB,IAAvD,IACPC,SAAU,CACRV,MAAM,IAAKT,EAAYkB,KAEzBZ,KAAI,SAAWN,EAAYkB,IAAvB,MAEN,wBAAC,KAAD,KACE,+BACEE,UAAU,yBAEV,wBAAC,KAAD,CACEX,MAAOT,EAAYkB,IACnBG,SAAUpB","sources":["webpack://chernando.xyz/./src/templates/tags/index.tsx"],"sourcesContent":["import React from \"react\"\nimport { graphql, PageProps } from \"gatsby\"\n\nimport { Layout, PagePreviewList, SEO } from \"../../components\"\nimport { PostsByTagQuery } from \"../../types/graphql-types\"\nimport { TagContext } from \"../../types\"\n\nexport default function Tags({\n data,\n pageContext,\n}: PageProps) {\n const posts = data.allMarkdownRemark.edges.map(edge => ({\n slug: edge.node.fields.slug,\n title: edge.node.frontmatter.title,\n description: edge.node.frontmatter.description ?? edge.node.excerpt,\n image: edge.node.frontmatter.image?.contentUrl?.childImageSharp?.gatsbyImageData,\n imageDescription: edge.node.frontmatter.image.description,\n }))\n\n return (\n <>\n \n \n \n \n \n \n \n )\n}\n\nexport const query = graphql`\n query PostsByTag($posts: [String]!) {\n allMarkdownRemark(\n filter: {fields: {slug: {in: $posts}}}\n sort: {order: DESC, fields: frontmatter___datePublished}\n ) {\n edges {\n node {\n frontmatter {\n title\n description\n image {\n contentUrl {\n childImageSharp {\n gatsbyImageData(placeholder: TRACED_SVG)\n }\n }\n author\n description\n isBasedOn\n }\n }\n excerpt\n fields {\n slug\n }\n }\n }\n }\n }\n`\n"],"names":["Tags","data","pageContext","posts","allMarkdownRemark","edges","map","edge","slug","node","fields","title","frontmatter","description","excerpt","image","contentUrl","childImageSharp","gatsbyImageData","imageDescription","tag","pageInfo","className","previews"],"sourceRoot":""}