-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-blog-post-js-16a57855615d2289e2b5.js.map
1 lines (1 loc) · 6.22 KB
/
component---src-templates-blog-post-js-16a57855615d2289e2b5.js.map
1
{"version":3,"sources":["webpack://gatsby-starter-blog/./src/components/bio.js","webpack://gatsby-starter-blog/./src/templates/blog-post.js"],"names":["data","useStaticQuery","author","site","siteMetadata","social","className","S","layout","formats","src","width","height","quality","alt","name","summary","href","twitter","Link","to","location","post","markdownRemark","siteTitle","title","previous","next","frontmatter","description","excerpt","itemScope","itemType","itemProp","date","dangerouslySetInnerHTML","__html","html","style","display","flexWrap","justifyContent","listStyle","padding","fields","slug","rel"],"mappings":"o6BAkEA,IAvDY,WAAO,IAAD,IACVA,GAAOC,oBAAe,cAiBtBC,EAAM,UAAGF,EAAKG,KAAKC,oBAAb,aAAG,EAAwBF,OACjCG,EAAM,UAAGL,EAAKG,KAAKC,oBAAb,aAAG,EAAwBC,OAEvC,OACE,2BACA,uBAAKC,UAAU,OACb,gBAAC,EAAAC,EAAD,CACED,UAAU,aACVE,OAAO,QACPC,QAAS,CAAC,OAAQ,OAAQ,QAC1BC,IAAI,4BACJC,MAAO,GACPC,OAAQ,GACRC,QAAS,GACTC,IAAI,kBARN,uBAUCZ,aAAA,EAAAA,EAAQa,OACP,uCACa,8BAASb,EAAOa,MAD7B,KAC6Cb,aAAA,EAAAA,EAAQc,UAAW,KADhE,IAGE,qBAAGC,KAAI,yBAAyBZ,aAAA,EAAAA,EAAQa,UAAR,KAAhC,0BAON,2BACE,6FACA,2EACA,wCAAe,gBAAC,EAAAC,KAAD,CAAMC,GAAG,aAAT,aACf,yBAAG,gBAAC,EAAAD,KAAD,CAAMC,GAAG,wCAAT,gB,+FCMT,UA3DyB,SAAC,GAAwB,IAAD,EAArBpB,EAAqB,EAArBA,KAAMqB,EAAe,EAAfA,SAC1BC,EAAOtB,EAAKuB,eACZC,GAAY,UAAAxB,EAAKG,KAAKC,oBAAV,eAAwBqB,QAAxB,QACVC,EAAmB1B,EAAnB0B,SAAUC,EAAS3B,EAAT2B,KAElB,OACE,gBAAC,IAAD,CAAQN,SAAUA,EAAUI,MAAOD,GACjC,gBAAC,IAAD,CACEC,MAAOH,EAAKM,YAAYH,MACxBI,YAAaP,EAAKM,YAAYC,aAAeP,EAAKQ,UAEpD,2BACExB,UAAU,YACVyB,WAAS,EACTC,SAAS,6BAET,8BACE,sBAAIC,SAAS,YAAYX,EAAKM,YAAYH,OAC1C,yBAAIH,EAAKM,YAAYM,OAEvB,2BACEC,wBAAyB,CAAEC,OAAQd,EAAKe,MACxCJ,SAAS,gBAEX,2BACA,8BACE,gBAAC,IAAD,QAGJ,uBAAK3B,UAAU,iBACb,sBACEgC,MAAO,CACLC,QAAQ,OACRC,SAAS,OACTC,eAAe,gBACfC,UAAU,OACVC,QAAS,IAGX,0BACGjB,GACC,gBAAC,EAAAP,KAAD,CAAMC,GAAIM,EAASkB,OAAOC,KAAMC,IAAI,QAApC,KACKpB,EAASE,YAAYH,QAI9B,0BACGE,GACC,gBAAC,EAAAR,KAAD,CAAMC,GAAIO,EAAKiB,OAAOC,KAAMC,IAAI,QAC7BnB,EAAKC,YAAYH,MADpB","file":"component---src-templates-blog-post-js-16a57855615d2289e2b5.js","sourcesContent":["/**\n * Bio component that queries for data\n * with Gatsby's useStaticQuery component\n *\n * See: https://www.gatsbyjs.com/docs/use-static-query/\n */\n\nimport * as React from \"react\"\nimport { useStaticQuery, graphql, Link } from \"gatsby\"\nimport { StaticImage } from \"gatsby-plugin-image\"\n\nconst Bio = () => {\n const data = useStaticQuery(graphql`\n query BioQuery {\n site {\n siteMetadata {\n author {\n name\n summary\n }\n social {\n twitter\n }\n }\n }\n }\n `)\n\n // Set these values by editing \"siteMetadata\" in gatsby-config.js\n const author = data.site.siteMetadata?.author\n const social = data.site.siteMetadata?.social\n\n return (\n <div>\n <div className=\"bio\">\n <StaticImage\n className=\"bio-avatar\"\n layout=\"fixed\"\n formats={[\"AUTO\", \"WEBP\", \"AVIF\"]}\n src=\"../images/profile-pic.png\"\n width={50}\n height={50}\n quality={95}\n alt=\"Profile picture\"\n />\n {author?.name && (\n <p>\n Written by <strong>{author.name}</strong> {author?.summary || null}\n {` `}\n <a href={`https://twitter.com/${social?.twitter || ``}`}>\n follow me on twitter\n </a>\n </p>\n )}\n \n </div>\n <div>\n <p>My tech stack is HTML, CSS,JavaScript, ReactJS, NodeJS, Solidity</p>\n <p>Am currently open to remote job oppurtunities.</p>\n <p>Checkout my <Link to=\"/projects\">projects</Link></p>\n <p><Link to=\"https://www.youtube.com/c/DavisBwake\">YouTube</Link></p>\n </div>\n </div>\n )\n}\n\nexport default Bio\n","import * as React from \"react\"\nimport { Link, graphql } from \"gatsby\"\n\nimport Bio from \"../components/bio\"\nimport Layout from \"../components/layout\"\nimport SEO from \"../components/seo\"\n\nconst BlogPostTemplate = ({ data, location }) => {\n const post = data.markdownRemark\n const siteTitle = data.site.siteMetadata?.title || `Title`\n const { previous, next } = data\n\n return (\n <Layout location={location} title={siteTitle}>\n <SEO\n title={post.frontmatter.title}\n description={post.frontmatter.description || post.excerpt}\n />\n <article\n className=\"blog-post\"\n itemScope\n itemType=\"http://schema.org/Article\"\n >\n <header>\n <h1 itemProp=\"headline\">{post.frontmatter.title}</h1>\n <p>{post.frontmatter.date}</p>\n </header>\n <section\n dangerouslySetInnerHTML={{ __html: post.html }}\n itemProp=\"articleBody\"\n />\n <hr />\n <footer>\n <Bio />\n </footer>\n </article>\n <nav className=\"blog-post-nav\">\n <ul\n style={{\n display: `flex`,\n flexWrap: `wrap`,\n justifyContent: `space-between`,\n listStyle: `none`,\n padding: 0,\n }}\n >\n <li>\n {previous && (\n <Link to={previous.fields.slug} rel=\"prev\">\n ← {previous.frontmatter.title}\n </Link>\n )}\n </li>\n <li>\n {next && (\n <Link to={next.fields.slug} rel=\"next\">\n {next.frontmatter.title} →\n </Link>\n )}\n </li>\n </ul>\n </nav>\n </Layout>\n )\n}\n\nexport default BlogPostTemplate\n\nexport const pageQuery = graphql`\n query BlogPostBySlug(\n $id: String!\n $previousPostId: String\n $nextPostId: String\n ) {\n site {\n siteMetadata {\n title\n }\n }\n markdownRemark(id: { eq: $id }) {\n id\n excerpt(pruneLength: 160)\n html\n frontmatter {\n title\n date(formatString: \"MMMM DD, YYYY\")\n description\n }\n }\n previous: markdownRemark(id: { eq: $previousPostId }) {\n fields {\n slug\n }\n frontmatter {\n title\n }\n }\n next: markdownRemark(id: { eq: $nextPostId }) {\n fields {\n slug\n }\n frontmatter {\n title\n }\n }\n }\n`\n"],"sourceRoot":""}