-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-js-f89823b3184a939f1c2a.js.map
1 lines (1 loc) · 5.96 KB
/
component---src-pages-index-js-f89823b3184a939f1c2a.js.map
1
{"version":3,"sources":["webpack://gatsby-starter-blog/./src/components/bio.js","webpack://gatsby-starter-blog/./src/pages/index.js"],"names":["data","useStaticQuery","author","site","siteMetadata","social","className","S","layout","formats","src","width","height","quality","alt","name","summary","href","twitter","Link","to","location","siteTitle","title","posts","allMarkdownRemark","nodes","length","style","listStyle","map","post","frontmatter","fields","slug","key","itemScope","itemType","itemProp","date","dangerouslySetInnerHTML","__html","description","excerpt"],"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,+FCKT,UA1DkB,SAAC,GAAwB,IAAD,EAArBpB,EAAqB,EAArBA,KAAMqB,EAAe,EAAfA,SACnBC,GAAY,UAAAtB,EAAKG,KAAKC,oBAAV,eAAwBmB,QAAxB,QACZC,EAAQxB,EAAKyB,kBAAkBC,MAErC,OAAqB,IAAjBF,EAAMG,OAEN,gBAAC,IAAD,CAAQN,SAAUA,EAAUE,MAAOD,GACjC,gBAAC,IAAD,CAAKC,MAAM,cACX,gBAAC,IAAD,MACA,uLAUJ,gBAAC,IAAD,CAAQF,SAAUA,EAAUE,MAAOD,GACjC,gBAAC,IAAD,CAAKC,MAAM,cACX,gBAAC,IAAD,MACA,sBAAIK,MAAO,CAAEC,UAAU,SACpBL,EAAMM,KAAI,SAAAC,GACT,IAAMR,EAAQQ,EAAKC,YAAYT,OAASQ,EAAKE,OAAOC,KAEpD,OACE,sBAAIC,IAAKJ,EAAKE,OAAOC,MACnB,2BACE5B,UAAU,iBACV8B,WAAS,EACTC,SAAS,6BAET,8BACE,0BACE,gBAAC,EAAAlB,KAAD,CAAMC,GAAIW,EAAKE,OAAOC,KAAMI,SAAS,OACnC,wBAAMA,SAAS,YAAYf,KAG/B,6BAAQQ,EAAKC,YAAYO,OAE3B,+BACE,qBACEC,wBAAyB,CACvBC,OAAQV,EAAKC,YAAYU,aAAeX,EAAKY,SAE/CL,SAAS","file":"component---src-pages-index-js-f89823b3184a939f1c2a.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 BlogIndex = ({ data, location }) => {\n const siteTitle = data.site.siteMetadata?.title || `Title`\n const posts = data.allMarkdownRemark.nodes\n\n if (posts.length === 0) {\n return (\n <Layout location={location} title={siteTitle}>\n <SEO title=\"All posts\" />\n <Bio />\n <p>\n No blog posts found. Add markdown posts to \"content/blog\" (or the\n directory you specified for the \"gatsby-source-filesystem\" plugin in\n gatsby-config.js).\n </p>\n </Layout>\n )\n }\n\n return (\n <Layout location={location} title={siteTitle}>\n <SEO title=\"All posts\" />\n <Bio />\n <ol style={{ listStyle: `none` }}>\n {posts.map(post => {\n const title = post.frontmatter.title || post.fields.slug\n\n return (\n <li key={post.fields.slug}>\n <article\n className=\"post-list-item\"\n itemScope\n itemType=\"http://schema.org/Article\"\n >\n <header>\n <h2>\n <Link to={post.fields.slug} itemProp=\"url\">\n <span itemProp=\"headline\">{title}</span>\n </Link>\n </h2>\n <small>{post.frontmatter.date}</small>\n </header>\n <section>\n <p\n dangerouslySetInnerHTML={{\n __html: post.frontmatter.description || post.excerpt,\n }}\n itemProp=\"description\"\n />\n </section>\n </article>\n </li>\n )\n })}\n </ol>\n </Layout>\n )\n}\n\nexport default BlogIndex\n\nexport const pageQuery = graphql`\n query {\n site {\n siteMetadata {\n title\n }\n }\n allMarkdownRemark(sort: { fields: [frontmatter___date], order: DESC }) {\n nodes {\n excerpt\n fields {\n slug\n }\n frontmatter {\n date(formatString: \"MMMM DD, YYYY\")\n title\n description\n }\n }\n }\n }\n`\n"],"sourceRoot":""}