{"version":3,"sources":["webpack:///./src/components/Post/Author/Author.js","webpack:///./src/components/Post/Content/Content.js","webpack:///./src/components/Post/Tags/Tags.js","webpack:///./src/components/Post/Post.js","webpack:///./src/templates/post-template.js","webpack:///./src/components/Post/Content/Content.module.scss","webpack:///./src/components/Post/Tags/Tags.module.scss","webpack:///./src/components/Post/Author/Author.module.scss","webpack:///./src/components/Post/Post.module.scss","webpack:///./src/components/Post/Meta/Meta.module.scss","webpack:///./src/components/Post/Meta/Meta.js"],"names":["Author","author","useSiteMetadata","className","styles","bio","Content","body","title","dangerouslySetInnerHTML","__html","Tags","tags","tagSlugs","map","slug","i","key","to","Post","post","html","fields","readingTime","frontmatter","date","Meta","text","PostTemplate","data","siteTitle","siteSubtitle","subtitle","markdownRemark","postTitle","description","postDescription","socialImage","metaDescription","socialImageUrl","publicURL","Layout","module","exports","Date","toLocaleDateString","year","month","day"],"mappings":"gMAkBeA,EAZA,WAAO,IACZC,EAAWC,cAAXD,OAER,OACE,yBAAKE,UAAWC,IAAM,QACpB,uBAAGD,UAAWC,IAAM,aACjBH,EAAOI,O,qBCIDC,EAPC,SAAC,GAAD,IAAGC,EAAH,EAAGA,KAAMC,EAAT,EAASA,MAAT,OACd,yBAAKL,UAAWC,IAAM,SACpB,wBAAID,UAAWC,IAAM,gBAAqBI,GAC1C,yBAAKL,UAAWC,IAAM,cAAmBK,wBAAyB,CAAEC,OAAQH,O,iCCYjEI,EAdF,SAAC,GAAD,IAAGC,EAAH,EAAGA,KAAMC,EAAT,EAASA,SAAT,OACX,yBAAKV,UAAWC,IAAM,MACpB,wBAAID,UAAWC,IAAM,YAClBS,GAAYA,EAASC,KAAI,SAACC,EAAMC,GAAP,OACxB,wBAAIb,UAAWC,IAAO,mBAAoBa,IAAKL,EAAKI,IAClD,kBAAC,OAAD,CAAME,GAAIH,EAAMZ,UAAWC,IAAO,yBAC/BQ,EAAKI,W,qBCuBHG,EAzBF,SAAC,GAAqB,IAAnBC,EAAkB,EAAlBA,KACNC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QAAU,CAAC,KAAO,2BAA2B,aAAe,mCAAmC,aAAe,mCAAmC,oBAAoB,0C,qBCA5KD,EAAOC,QAAU,CAAC,KAAO,6B,oHCgBVjB,EARF,SAAC,GAAD,IAAGD,EAAH,EAAGA,KAAMF,EAAT,EAASA,YAAT,OACX,yBAAKpB,UAAWC,IAAM,MACpB,0BAAMD,UAAWC,IAAM,YAAiB,IAAIwC,KAAKnB,GAAMoB,mBAAmB,QAAS,CAAEC,KAAM,UAAWC,MAAO,QAASC,IAAK,aAC3H,uCACA,0BAAM7C,UAAWC,IAAM,mBAAwBmB","file":"component---src-templates-post-template-js-06428bc9e15d1a79060e.js","sourcesContent":["// @flow strict\nimport React from 'react';\nimport { getContactHref } from '../../../utils';\nimport styles from './Author.module.scss';\nimport { useSiteMetadata } from '../../../hooks';\n\nconst Author = () => {\n const { author } = useSiteMetadata();\n\n return (\n
\n

\n {author.bio}\n

\n
\n );\n};\n\nexport default Author;\n","// @flow strict\nimport React from 'react';\nimport styles from './Content.module.scss';\n\ntype Props = {\n body: string,\n title: string\n};\n\nconst Content = ({ body, title }: Props) => (\n
\n

{title}

\n
\n
\n);\n\nexport default Content;\n","// @flow strict\nimport React from 'react';\nimport { Link } from 'gatsby';\nimport styles from './Tags.module.scss';\n\ntype Props = {\n tags: string[],\n tagSlugs: string[]\n};\n\nconst Tags = ({ tags, tagSlugs }: Props) => (\n
\n \n
\n);\n\nexport default Tags;\n","// @flow strict\nimport React from 'react';\nimport { Link } from 'gatsby';\nimport Author from './Author';\nimport Content from './Content';\nimport Meta from './Meta';\nimport Tags from './Tags';\nimport styles from './Post.module.scss';\nimport type { Node } from '../../types';\n\ntype Props = {\n post: Node\n};\n\nconst Post = ({ post }: Props) => {\n const { html } = post;\n const { tagSlugs, slug, readingTime } = post.fields;\n const { tags, title, date } = post.frontmatter;\n\n return (\n
\n
\n ← All articles\n \n
\n\n
\n \n
\n\n
\n {tags && tagSlugs && }\n \n
\n\n
\n );\n};\n\nexport default Post;\n","// @flow strict\nimport React from 'react';\nimport { graphql } from 'gatsby';\nimport Layout from '../components/Layout';\nimport Post from '../components/Post';\nimport { useSiteMetadata } from '../hooks';\nimport type { MarkdownRemark } from '../types';\n\ntype Props = {\n data: {\n markdownRemark: MarkdownRemark\n }\n};\n\nconst PostTemplate = ({ data }: Props) => {\n const { title: siteTitle, subtitle: siteSubtitle } = useSiteMetadata();\n const { frontmatter } = data.markdownRemark;\n const { title: postTitle, description: postDescription = '', socialImage } = frontmatter;\n const metaDescription = postDescription || siteSubtitle;\n const socialImageUrl = socialImage?.publicURL;\n\n return (\n \n \n \n );\n};\n\nexport const query = graphql`\n query PostBySlug($slug: String!) {\n markdownRemark(fields: { slug: { eq: $slug } }) {\n id\n html\n fields {\n slug\n tagSlugs\n readingTime {\n text\n }\n }\n frontmatter {\n date\n description\n tags\n title\n socialImage {\n publicURL\n }\n }\n }\n }\n`;\n\nexport default PostTemplate;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"Content-module--content--3p512\",\"content__title\":\"Content-module--content__title--2BDW9\",\"content__body\":\"Content-module--content__body--2TrQ-\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tags\":\"Tags-module--tags--1L_ct\",\"tags__list\":\"Tags-module--tags__list--91FqN\",\"tags__list-item\":\"Tags-module--tags__list-item--1M30P\",\"tags__list-item-link\":\"Tags-module--tags__list-item-link--3SL_8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"author\":\"Author-module--author--2Yefr\",\"author__bio-twitter\":\"Author-module--author__bio-twitter--n-O9n\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"post\":\"Post-module--post--2ySQi\",\"post__header\":\"Post-module--post__header--2hKbi\",\"post__footer\":\"Post-module--post__footer--3WzWU\",\"post__home-button\":\"Post-module--post__home-button--16Kl0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"meta\":\"Meta-module--meta--1XDVh\"};","// @flow strict\nimport React from 'react';\nimport styles from './Meta.module.scss';\n\ntype Props = {\n date: string,\n readingTime: string\n};\n\nconst Meta = ({ date, readingTime }: Props) => (\n
\n {new Date(date).toLocaleDateString('en-US', { year: 'numeric', month: 'short', day: 'numeric' })}\n   •  \n {readingTime}\n
\n);\n\nexport default Meta;\n"],"sourceRoot":""}