-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-projects-js-f643de750c9ec9b3fa24.js.map
1 lines (1 loc) · 16.1 KB
/
component---src-pages-projects-js-f643de750c9ec9b3fa24.js.map
1
{"version":3,"sources":["webpack:///./src/pages/projects.js","webpack:///./.cache/gatsby-browser-entry.js","webpack:///./.cache/public-page-renderer.js","webpack:///./src/components/ProjectTag.js","webpack:///./src/utils/typography.js","webpack:///./.cache/public-page-renderer-prod.js","webpack:///./src/components/layout.js","webpack:///./src/assets/doge-icon.png","webpack:///./src/components/Projects.js","webpack:///./node_modules/core-js/modules/es6.string.link.js","webpack:///./node_modules/core-js/modules/_string-html.js"],"names":["__webpack_require__","r","__webpack_exports__","d","pageQuery","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","styled_components__WEBPACK_IMPORTED_MODULE_1__","react_helmet__WEBPACK_IMPORTED_MODULE_2__","react_helmet__WEBPACK_IMPORTED_MODULE_2___default","_components_Projects__WEBPACK_IMPORTED_MODULE_3__","_components_layout__WEBPACK_IMPORTED_MODULE_4__","Container","styled","section","withConfig","displayName","componentId","props","projects","data","allMarkdownRemark","edges","a","createElement","title","graphql","StaticQueryContext","StaticQuery","prop_types__WEBPACK_IMPORTED_MODULE_1__","prop_types__WEBPACK_IMPORTED_MODULE_1___default","gatsby_link__WEBPACK_IMPORTED_MODULE_2__","gatsby_link__WEBPACK_IMPORTED_MODULE_2___default","_public_page_renderer__WEBPACK_IMPORTED_MODULE_3__","_public_page_renderer__WEBPACK_IMPORTED_MODULE_3___default","_parse_path__WEBPACK_IMPORTED_MODULE_4__","React","createContext","Consumer","staticQueryData","query","render","children","Error","propTypes","PropTypes","object","string","isRequired","func","m","module","exports","require","default","ProjectTag","span","rhythm","typography__WEBPACK_IMPORTED_MODULE_0__","typography__WEBPACK_IMPORTED_MODULE_0___default","typography_theme_lincoln__WEBPACK_IMPORTED_MODULE_1__","typography_theme_lincoln__WEBPACK_IMPORTED_MODULE_1___default","Lincoln","overrideThemeStyles","body","color","backgroundColor","h1, h2, h3, h4, h5, h6, h7","textShadow","textDecoration","backgroundImage","typography","Typography","scale","ProdPageRenderer","_ref","location","pageResources","loader","getResourcesForPathnameSync","pathname","InternalPageRenderer","Object","assign","json","shape","Layout","react__WEBPACK_IMPORTED_MODULE_1___default","style","display","flexDirection","height","name","content","dogeIcon","lang","type","this","Component","p","Projects","react__WEBPACK_IMPORTED_MODULE_2___default","gatsby__WEBPACK_IMPORTED_MODULE_4__","to","map","_ref2","node","get","fields","slug","key","marginBottom","boxShadow","href","frontmatter","link","tags","tag","i","_components_ProjectTag__WEBPACK_IMPORTED_MODULE_5__","description","dangerouslySetInnerHTML","__html","html","createHTML","url","$export","fails","defined","quot","attribute","value","S","String","p1","replace","NAME","exec","O","P","F","test","toLowerCase","split","length"],"mappings":"0FAAAA,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,8BAAAE,IAAA,IAAAC,EAAAL,EAAA,GAAAM,EAAAN,EAAAO,EAAAF,GAAAG,EAAAR,EAAA,KAAAS,EAAAT,EAAA,KAAAU,EAAAV,EAAAO,EAAAE,GAAAE,EAAAX,EAAA,KAAAY,EAAAZ,EAAA,KAQMa,EAAYC,IAAOC,QAAVC,WAAA,CAAAC,YAAA,sBAAAC,YAAA,gBAAGJ,CAAH,oIAwBfZ,EAAA,QAZqB,SAAAiB,GACnB,IAAMC,EAAWD,EAAME,KAAKC,kBAAkBC,MAC9C,OACEjB,EAAAkB,EAAAC,cAACb,EAAA,EAAD,KACEN,EAAAkB,EAAAC,cAACf,EAAAc,EAAD,CAAQE,MAAO,iCACfpB,EAAAkB,EAAAC,cAACZ,EAAD,KACEP,EAAAkB,EAAAC,cAACd,EAAA,EAAD,CAAUS,SAAUA,OAQrB,IAAMhB,EAAS,+CClCtBJ,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,4BAAAyB,IAAA3B,EAAAG,EAAAD,EAAA,uCAAA0B,IAAA5B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AGzBhB,EAAA9E,EAAAC,cAAA,SAAIkF,EAAKQ,YAAYM,aACrBnB,EAAA9E,EAAAC,cAAA,OAAKiG,wBAAyB,CAAEC,OAAQhB,EAAKiB,+CC9BvD5H,EAAQ,IAARA,CAAwB,gBAAA6H,GACxB,gBAAAC,GACA,OAAAD,EAAA3B,KAAA,WAAA4B,2BCJA,IAAAC,EAAc/H,EAAQ,GACtBgI,EAAYhI,EAAQ,IACpBiI,EAAcjI,EAAQ,IACtBkI,EAAA,KAEAL,EAAA,SAAA7E,EAAAsE,EAAAa,EAAAC,GACA,IAAAC,EAAAC,OAAAL,EAAAjF,IACAuF,EAAA,IAAAjB,EAEA,MADA,KAAAa,IAAAI,GAAA,IAAAJ,EAAA,KAAAG,OAAAF,GAAAI,QAAAN,EAAA,UAA0F,KAC1FK,EAAA,IAAAF,EAAA,KAAAf,EAAA,KAEAlE,EAAAC,QAAA,SAAAoF,EAAAC,GACA,IAAAC,EAAA,GACAA,EAAAF,GAAAC,EAAAb,GACAE,IAAAa,EAAAb,EAAAc,EAAAb,EAAA,WACA,IAAAc,EAAA,GAAAL,GAAA,KACA,OAAAK,MAAAC,eAAAD,EAAAE,MAAA,KAAAC,OAAA,IACG,SAAAN","file":"component---src-pages-projects-js-f643de750c9ec9b3fa24.js","sourcesContent":["import React from 'react'\r\nimport { graphql } from 'gatsby'\r\nimport styled from 'styled-components'\r\nimport Helmet from 'react-helmet'\r\n\r\nimport Projects from '../components/Projects'\r\nimport Layout from '../components/layout'\r\n\r\nconst Container = styled.section`\r\n margin-left: auto;\r\n margin-right: auto;\r\n @media (max-width: 900px) {\r\n width: 100%;\r\n padding: 0px 8px;\r\n }\r\n @media (min-width: 901px) {\r\n width: 900px;\r\n }\r\n`\r\n\r\nconst ProjectsPage = props => {\r\n const projects = props.data.allMarkdownRemark.edges\r\n return (\r\n <Layout>\r\n <Helmet title={'Alberto Nicoletti | Projects'} />\r\n <Container>\r\n <Projects projects={projects} />\r\n </Container>\r\n </Layout>\r\n )\r\n}\r\n\r\nexport default ProjectsPage\r\n\r\nexport const pageQuery = graphql`\r\n query {\r\n allMarkdownRemark(\r\n sort: { fields: [frontmatter___date], order: DESC }\r\n filter: { frontmatter: { type: { eq: \"project\" } } }\r\n ) {\r\n edges {\r\n node {\r\n excerpt\r\n html\r\n fields {\r\n slug\r\n }\r\n frontmatter {\r\n date(formatString: \"DD MMMM, YYYY\")\r\n title\r\n description\r\n link\r\n tags\r\n type\r\n path\r\n }\r\n }\r\n }\r\n }\r\n }\r\n`\r\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Link, {\n withPrefix,\n navigate,\n push,\n replace,\n navigateTo,\n} from \"gatsby-link\"\nimport PageRenderer from \"./public-page-renderer\"\nimport parsePath from \"./parse-path\"\n\nconst StaticQueryContext = React.createContext({})\n\nconst StaticQuery = props => (\n <StaticQueryContext.Consumer>\n {staticQueryData => {\n if (\n props.data ||\n (staticQueryData[props.query] && staticQueryData[props.query].data)\n ) {\n return (props.render || props.children)(\n props.data ? props.data.data : staticQueryData[props.query].data\n )\n } else {\n return <div>Loading (StaticQuery)</div>\n }\n }}\n </StaticQueryContext.Consumer>\n)\n\nStaticQuery.propTypes = {\n data: PropTypes.object,\n query: PropTypes.string.isRequired,\n render: PropTypes.func,\n children: PropTypes.func,\n}\n\nfunction graphql() {\n throw new Error(\n `It appears like Gatsby is misconfigured. Gatsby related \\`graphql\\` calls ` +\n `are supposed to only be evaluated at compile time, and then compiled away,. ` +\n `Unfortunately, something went wrong and the query was left in the compiled code.\\n\\n.` +\n `Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.`\n )\n}\n\nexport {\n Link,\n withPrefix,\n graphql,\n parsePath,\n navigate,\n push, // TODO replace for v3\n replace, // TODO remove replace for v3\n navigateTo, // TODO: remove navigateTo for v3\n StaticQueryContext,\n StaticQuery,\n PageRenderer,\n}\n","const preferDefault = m => (m && m.default) || m\n\nif (process.env.BUILD_STAGE === `develop`) {\n module.exports = preferDefault(require(`./public-page-renderer-dev`))\n} else if (process.env.BUILD_STAGE === `build-javascript`) {\n module.exports = preferDefault(require(`./public-page-renderer-prod`))\n} else {\n module.exports = () => null\n}\n","import React from 'react'\r\nimport styled from 'styled-components'\r\n\r\nconst ProjectTag = styled.span`\r\n border-bottom: 1px solid #f0ebdf;\r\n margin-right: 16px;\r\n font-size: 12px;\r\n color: #f0ebdf;\r\n`\r\n\r\nexport default ProjectTag\r\n","import Typography from 'typography'\r\n// import FairyGates from 'typography-theme-fairy-gates'\r\nimport Lincoln from 'typography-theme-lincoln'\r\n\r\n// FairyGates.overrideThemeStyles = () => ({\r\n// 'a.gatsby-resp-image-link': {\r\n// boxShadow: 'none',\r\n// },\r\n// })\r\n\r\n// delete FairyGates.googleFonts\r\n\r\nLincoln.overrideThemeStyles = () => ({\r\n body: {\r\n color: 'white',\r\n backgroundColor: '#000515',\r\n },\r\n 'h1, h2, h3, h4, h5, h6, h7': {\r\n color: '#EA8859',\r\n },\r\n a: {\r\n color: '#EA8859',\r\n textShadow: 'none',\r\n textDecoration: 'none',\r\n backgroundImage: 'none',\r\n },\r\n})\r\n\r\nconst typography = new Typography(Lincoln)\r\n\r\n// Hot reload typography in development.\r\nif (process.env.NODE_ENV !== 'production') {\r\n typography.injectStyles()\r\n}\r\n\r\nexport default typography\r\nexport const rhythm = typography.rhythm\r\nexport const scale = typography.scale\r\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nimport InternalPageRenderer from \"./page-renderer\"\nimport loader from \"./loader\"\n\nconst ProdPageRenderer = ({ location }) => {\n const pageResources = loader.getResourcesForPathnameSync(location.pathname)\n return React.createElement(InternalPageRenderer, {\n location,\n pageResources,\n ...pageResources.json,\n })\n}\n\nProdPageRenderer.propTypes = {\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired,\n }).isRequired,\n}\n\nexport default ProdPageRenderer\n","import React from 'react'\r\nimport Helmet from 'react-helmet'\r\n\r\nimport dogeIcon from '../assets/doge-icon.png'\r\n\r\nclass Layout extends React.Component {\r\n render() {\r\n return (\r\n <div\r\n style={{\r\n display: 'flex',\r\n flexDirection: 'row',\r\n height: '100%',\r\n }}\r\n >\r\n <Helmet>\r\n <meta name=\"description\" content={'My website'} />\r\n <meta name=\"author\" content=\"Alberto Nicoletti\" />\r\n <meta\r\n name=\"keywords\"\r\n content=\"alberto, nicoletti, illbe, illbexyz, albyx, albyxyz, web, programmer, bologna, italy, javascript, typescript, reason, reasonml, computer science\"\r\n />\r\n <meta name=\"twitter:site\" content=\"https://illbe.xyz\" />\r\n <meta name=\"twitter:creator\" content=\"@illbexyz\" />\r\n <meta name=\"twitter:card\" content=\"summary\" />\r\n <meta name=\"twitter:title\" content=\"Alberto Nicoletti\" />\r\n <meta name=\"twitter:description\" content=\"My website\" />\r\n <meta name=\"twitter:image\" content={dogeIcon} />\r\n <meta name=\"og:type\" content=\"article\" />\r\n <meta name=\"og:title\" content=\"Alberto Nicoletti\" />\r\n <meta name=\"og:description\" content=\"My website\" />\r\n <html lang=\"en\" />\r\n <style type=\"text/css\">{`\r\n html, body, ___gatsby {\r\n height: 100%;\r\n }\r\n `}</style>\r\n </Helmet>\r\n {this.props.children}\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default Layout\r\n","module.exports = __webpack_public_path__ + \"static/doge-icon-fddb37135a8e0d8d2ff97e447080bafc.png\";","import React from 'react'\r\nimport get from 'lodash/get'\r\nimport { Link } from 'gatsby'\r\n\r\nimport ProjectTag from '../components/ProjectTag'\r\n\r\nimport { rhythm } from '../utils/typography'\r\n\r\nconst Projects = ({ projects }) => (\r\n <div>\r\n <Link to=\"/projects\">\r\n <h1>Projects</h1>\r\n </Link>\r\n {projects.map(({ node }) => {\r\n const title = get(node, 'frontmatter.title') || node.fields.slug\r\n return (\r\n <div key={node.fields.slug}>\r\n <h3\r\n style={{\r\n marginBottom: rhythm(1 / 4),\r\n }}\r\n >\r\n <a style={{ boxShadow: 'none' }} href={node.frontmatter.link}>\r\n {title}\r\n </a>\r\n </h3>\r\n <p>\r\n {node.frontmatter.tags.map((tag, i) => (\r\n <ProjectTag key={i}>{tag}</ProjectTag>\r\n ))}\r\n </p>\r\n <p>{node.frontmatter.description}</p>\r\n <div dangerouslySetInnerHTML={{ __html: node.html }} />\r\n </div>\r\n )\r\n })}\r\n </div>\r\n)\r\n\r\nexport default Projects\r\n","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n"],"sourceRoot":""}