-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-page-js-61c636514008214309e3.js.map
1 lines (1 loc) · 21.7 KB
/
component---src-templates-page-js-61c636514008214309e3.js.map
1
{"version":3,"sources":["webpack:///./src/components/Hero.js","webpack:///./node_modules/@babel/runtime/helpers/nonIterableSpread.js","webpack:///./node_modules/@babel/runtime/helpers/iterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","webpack:///./src/components/Translations.js","webpack:///./src/components/Time.js","webpack:///./src/components/ContentHeader.js","webpack:///./src/components/Content.js","webpack:///./node_modules/@babel/runtime/helpers/toConsumableArray.js","webpack:///./node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack:///./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack:///./node_modules/gatsby-plugin-mdx/mdx-renderer.js","webpack:///./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","webpack:///./src/components/TagList.js","webpack:///./node_modules/@babel/runtime/helpers/defineProperty.js","webpack:///./node_modules/@babel/runtime/helpers/construct.js","webpack:///./src/templates/page.js"],"names":["Container","styled","HeroImage","Trees","TitleContainer","Title","props","style","backgroundImage","module","exports","TypeError","iter","Symbol","iterator","Object","Array","from","arrayLikeToArray","arr","isArray","TranslationContainer","colors","InfoText","TranslationLink","render","translations","this","key","i","href","withPrefix","translation","React","Component","TimeContainer","date","dateObject","Date","yyyymmdd","year","month","day","friendlyDate","datetime","Header","tags","ContentBody","Content","content","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread","_setPrototypeOf","o","p","setPrototypeOf","__proto__","len","length","arr2","require","useMDXComponents","mdx","useMDXScope","scope","components","children","mdxComponents","mdxScope","End","fullScope","keys","values","fn","minLen","n","prototype","toString","call","slice","constructor","name","test","Reflect","construct","sham","Proxy","e","ListContainer","TagListItemLink","TagListItem","TagList","noLink","to","tag","obj","value","defineProperty","enumerable","configurable","writable","isNativeReflectConstruct","_construct","Parent","args","Class","a","push","apply","instance","Function","bind","arguments","page","trees","useSiteMetadata","treesImage","useSiteImages","location","title","description","path","cover","publicURL","heroImg","treesImg","pageQuery"],"mappings":"8FAAA,qCAGMA,EAAYC,IAAH,0EAAGA,CAAH,CAAf,2CAMMC,EAAYD,IAAH,0EAAGA,CAAH,CAAf,0LAcME,EAAQF,IAAH,sEAAGA,CAAH,CAAX,oKAYMG,EAAiBH,IAAH,+EAAGA,CAAH,CAApB,sHAWMI,EAAQJ,IAAH,qEAAGA,CAAH,CAAX,6GAqBA,IAba,SAAAK,GACX,OACE,yBACE,qBAAWC,MAAO,CAAEC,gBAAgB,QAAUF,EAAX,eACjC,yBACE,yBAAQA,EAHd,SAME,qBAAOC,MAAO,CAAEC,gBAAgB,QAASF,EAAV,oB,mBC1DrCG,EAAOC,QAJP,WACE,MAAM,IAAIC,UAAU,0I,mBCGtBF,EAAOC,QAJP,SAA0BE,GACxB,GAAsB,oBAAXC,QAA0BA,OAAOC,YAAYC,OAAOH,GAAO,OAAOI,MAAMC,KAAKL,K,qBCD1F,IAAIM,EAAmB,EAAQ,QAM/BT,EAAOC,QAJP,SAA4BS,GAC1B,GAAIH,MAAMI,QAAQD,GAAM,OAAOD,EAAiBC,K,uHCE5CE,EAAuBpB,IAAH,yFAAGA,CAAH,8FAIJqB,IAJI,YAKJA,IALtB,SAQMC,EAAWtB,IAAH,8EAAGA,CAAH,eACHqB,IADX,SAIME,EAAkBvB,IAAH,kFAAGA,CAAH,yCACVqB,IADX,SA0BA,E,kGApBEG,kBAAU,IACAC,EAAiBC,KADlB,mBAGP,OACE,yBACE,yBADF,iCAEGD,EAAA,KAAiB,cAChB,OACE,8BAAUE,IAAG,eAAiBC,GAC5B,qBAAiBC,KAAMC,qBAAWC,EAAD,OAC9BA,EAFL,UAIGH,EAAIH,SAAJG,OALL,S,GARiBI,IAAMC,WCMjC,EAxBa,SAAA5B,GACX,IAAM6B,EAAgBlC,IAAH,+EAAGA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EAAW,IADGC,SAASC,KAAKH,MAAML,EAAQG,IAG9C,OADID,GAAOlD,EAAesD,EAAUJ,EAAM7B,WACnCiC,GAIJP,EAAWM,MAAM,KAAMI,WAGhCzG,EAAOC,QAAU8F,G,kCCrBjB,8JAWe,mBAAAlG,GACb,IAAM6G,EAAO7G,OAAb,KAEQ8G,EAAUC,cAHI,MAIhBC,EAAaC,qBAAnB,IAEA,OACE,uBAAQC,SAAUlH,EAAMkH,UACtB,uBACEC,MAAON,cADT,SAEEO,YAAaP,cAFf,WAGEQ,KAAMR,cAHR,KAIES,MAAOT,qBAA0BA,oBAAuBU,YAG1D,uBACEC,QAASX,qBAA0BA,oBADrC,UAEEY,SAFF,EAGEN,MAAON,cAAiBM,QAG1B,2BACE,iCACE,uBAASxE,QAASkE,EAAlB,KAA6B/E,KAAM+E,cAAiB/E,WAOvD,IAAM4F,EAAN","file":"component---src-templates-page-js-61c636514008214309e3.js","sourcesContent":["import React from 'react'\nimport styled from 'styled-components'\n\nconst Container = styled.div`\n width: 100%;\n margin: 0 auto;\n height: 500px;\n`\n\nconst HeroImage = styled.div`\nposition: absolute; \n width: 100%;\n height: 500px;\n max-width: 1140px;\n left: 0;\n right: 0;\n margin: 0 auto;\n overflow: hidden;\n background-repeat: no-repeat;\n background-position: center;\n background-size: cover;\n`\n\nconst Trees = styled.div`\n position: absolute;\n max-width: 2070px;\n width: 100%;\n height: 500px;\n margin: 0 auto;\n background-repeat: repeat-x;\n background-position: center;\n background-size: cover;\n z-index: 1;\n`\n\nconst TitleContainer = styled.div`\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n text-align: center;\n width: 100%;\n vertical-align: bottom;\n padding-bottom: 32px;\n`\n\nconst Title = styled.h1`\n font-weight: 700;\n font-size: 32sp;\n margin: 10px 50px;\n color: white;\n text-shadow: 1px 1px 4px rgba(34, 34, 34, 0.85);\n`\n\nconst Hero = props => {\n return (\n <Container> \n <HeroImage style={{ backgroundImage: `url(\"${ props.heroImg}\")` }}>\n <TitleContainer>\n <Title>{props.title}</Title>\n </TitleContainer>\n </HeroImage>\n <Trees style={{ backgroundImage: `url(\"${props.treesImg}\")` }}/>\n </Container>\n )\n}\n\nexport default Hero\n","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray;","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles;","import React, { Fragment } from 'react'\nimport { withPrefix } from 'gatsby'\nimport styled from 'styled-components'\nimport { colors } from '../tokens'\n\nconst TranslationContainer = styled.div`\n border-radius: 5px;\n padding: 10px;\n margin-top: 10px;\n background-color: ${colors.lightYellow};\n border: 1px solid ${colors.grey700};\n`\n\nconst InfoText = styled.span`\n color: ${colors.grey900};\n`\n\nconst TranslationLink = styled.a`\n color: ${colors.grey900};\n text-decoration: underline;\n`\n\nclass Translations extends React.Component {\n render() {\n const { translations } = this.props\n\n return (\n <TranslationContainer>\n <InfoText>This article also exists in: </InfoText>\n {translations.map((translation, i) => {\n return (\n <Fragment key={`translation-${i}`}>\n <TranslationLink href={withPrefix(translation.link)}>\n {translation.language}\n </TranslationLink>\n {i < translations.length - 1 ? ', ' : ''}\n </Fragment>\n )\n })}\n </TranslationContainer>\n )\n }\n}\nexport default Translations\n","import React from 'react'\nimport styled from 'styled-components'\nimport { colors } from '../tokens'\n\nconst Time = props => {\n const TimeContainer = styled.time`\n color: ${colors.postMetadata};\n `\n const { date } = props\n\n const dateObject = new Date(date)\n const yyyymmdd = dateObject\n .toLocaleDateString('en-GB', {\n year: 'numeric',\n month: '2-digit',\n day: 'numeric',\n })\n .split('/')\n .reverse()\n .join('-')\n const friendlyDate = dateObject.toLocaleDateString('en-GB', {\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n })\n\n return <TimeContainer datetime={yyyymmdd}>{friendlyDate}</TimeContainer>\n}\nexport default Time\n","import React, { Fragment } from 'react'\nimport styled from 'styled-components'\nimport TagList from './TagList'\nimport Translations from './Translations'\nimport Time from './Time'\nimport { colors } from '../tokens'\nimport { Bull } from './Commons'\n\nconst Header = styled.header`\n margin-bottom: 2rem;\n color: ${colors.textLight};\n font-size: 0.9em;\n`\n\nclass ContentIntro extends React.Component {\n render() {\n const { date, tags, translations } = this.props\n\n return (\n <Header>\n {date && <Time date={date} />}\n {date && Array.isArray(tags) && tags.length > 0 && <Bull />}\n {Array.isArray(tags) && tags.length > 0 && (\n <Fragment>\n <TagList tags={tags} />\n </Fragment>\n )}\n\n {translations && <Translations translations={translations} />}\n </Header>\n )\n }\n}\n\nexport default ContentIntro\n","import React from 'react'\nimport styled from 'styled-components'\nimport ContentHeader from './ContentHeader'\nimport { colors } from '../tokens'\nimport MDXRenderer from 'gatsby-plugin-mdx/mdx-renderer'\n\nconst ContentBody = styled.div`\n line-height: 1.6;\n text-align: justify;\n\n & > h2 {\n padding-top: 3rem;\n margin-top: 3rem;\n border-top: 1px solid #ececec;\n }\n\n & > h3 {\n padding-top: 3rem;\n }\n\n & > p {\n margin: 1em 0 0 0;\n }\n\n & a {\n box-shadow: 0 2px 0 0 ${colors.links};\n\n &:hover {\n filter: brightness(150%);\n box-shadow: none;\n }\n\n &.anchor,\n &.gatsby-resp-image-link {\n box-shadow: none;\n }\n }\n\n h1 .anchor svg,\n h2 .anchor svg,\n h3 .anchor svg,\n h4 .anchor svg,\n h5 .anchor svg,\n h6 .anchor svg {\n visibility: hidden;\n margin-left: -16px;\n }\n\n h1:hover .anchor svg,\n h2:hover .anchor svg,\n h3:hover .anchor svg,\n h4:hover .anchor svg,\n h5:hover .anchor svg,\n h6:hover .anchor svg,\n h1 .anchor:focus svg,\n h2 .anchor:focus svg,\n h3 .anchor:focus svg,\n h4 .anchor:focus svg,\n h5 .anchor:focus svg,\n h6 .anchor:focus svg {\n visibility: visible;\n }\n\n & > blockquote {\n box-sizing: border-box;\n background-color: #f7f7f7;\n border-left: 5px solid rgb(244, 213, 36);\n margin: 30px 0px;\n padding: 5px 20px;\n border-radius: 0 8px 8px 0;\n }\n\n & > blockquote p {\n margin: 0.8em 0;\n font-style: italic;\n }\n\n & .gatsby-highlight {\n border-radius: 5px;\n font-size: 15px;\n line-height: 1.7;\n border-radius: 10px;\n overflow: auto;\n tab-size: 1.5em;\n margin: 1.5em -1.5em;\n\n @media (max-width: 500px) {\n border-radius: 0;\n margin-left: -25px;\n margin-right: -25px;\n }\n }\n\n & .gatsby-highlight > pre {\n border: 0;\n margin: 0;\n padding: 1;\n }\n\n & .gatsby-highlight pre[class*='language-'] {\n float: left;\n min-width: 100%;\n }\n\n & .gatsby-highlight-code-line {\n background-color: ${colors.highlight_code_linebg};\n display: block;\n margin-right: -1em;\n margin-left: -1em;\n padding-right: 1em;\n padding-left: 0.75em;\n border-left: 0.25em solid ${colors.highlight_code_bg};\n }\n\n & h1 > code.language-text,\n & h2 > code.language-text,\n & h3 > code.language-text,\n & h4 > code.language-text,\n & h5 > code.language-text,\n & h6 > code.language-text,\n & a > code.language-text,\n & p > code.language-text,\n & li > code.language-text,\n & em > code.language-text,\n & strong > code.language-text {\n background: ${colors.highlight_code_oneline};\n color: #222222cc;\n padding: 0 3px;\n font-size: 0.94em;\n border-radius: 0.3rem;\n word-wrap: break-word;\n }\n\n & code {\n word-wrap: break-word;\n }\n\n & table {\n margin-top: 1em;\n border-collapse: collapse;\n border-radius: 0.5em;\n overflow: hidden;\n\n & th,\n & td {\n padding: 0.5em;\n background: #f7f7f7;\n border-bottom: 2px solid ${colors.white};\n }\n }\n`\n\nclass Content extends React.Component {\n render() {\n const { content, date, tags, translations } = this.props\n\n return (\n <section>\n {(tags || date || translations) && (\n <ContentHeader date={date} tags={tags} translations={translations} />\n )}\n\n <ContentBody>\n <MDXRenderer>{content}</MDXRenderer>\n </ContentBody>\n </section>\n )\n }\n}\n\nexport default Content\n","var arrayWithoutHoles = require(\"./arrayWithoutHoles\");\n\nvar iterableToArray = require(\"./iterableToArray\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;","const React = require(`react`)\nconst { useMDXComponents, mdx } = require(`@mdx-js/react`)\nconst { useMDXScope } = require(`./context`)\n\nmodule.exports = function MDXRenderer({\n scope,\n components,\n children,\n ...props\n}) {\n const mdxComponents = useMDXComponents(components)\n const mdxScope = useMDXScope(scope)\n\n // Memoize the compiled component\n const End = React.useMemo(() => {\n if (!children) {\n return null\n }\n\n const fullScope = {\n // React is here just in case the user doesn't pass them in\n // in a manual usage of the renderer\n React,\n mdx,\n ...mdxScope,\n }\n\n const keys = Object.keys(fullScope)\n const values = keys.map(key => fullScope[key])\n const fn = new Function(`_fn`, ...keys, `${children}`)\n\n return fn({}, ...values)\n }, [children, scope])\n\n return React.createElement(End, { components: mdxComponents, ...props })\n}\n","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;","function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nmodule.exports = _isNativeReflectConstruct;","import React, { Fragment } from 'react'\nimport { Link } from 'gatsby'\nimport styled from 'styled-components'\nimport { colors } from '../tokens'\n\nconst ListContainer = styled.div`\n display: inline;\n color: ${colors.postMetadata};\n`\n\nconst TagListItemLink = styled(Link)`\n text-transform: uppercase;\n color: ${colors.postMetadata};\n\n &:not(:first-child) {\n margin-left: 0.3rem;\n }\n\n &:hover {\n border-bottom: 1px dotted ${colors.textLight};\n }\n &:before {\n content: '#';\n }\n`\n\nconst TagListItem = styled.span`\n text-transform: uppercase;\n color: ${colors.postMetadata};\n &:not(:first-child) {\n margin-left: 0.3rem;\n }\n &:before {\n content: '#';\n }\n`\n\nclass TagList extends React.Component {\n render() {\n const { tags, noLink } = this.props\n\n return (\n <ListContainer>\n {tags.map((tag, i) => {\n return (\n <Fragment key={`tag-list-${i}`}>\n {!noLink && (\n <TagListItemLink to={`/tags/${tag}`}>{tag}</TagListItemLink>\n )}\n {noLink && <TagListItem to={`/tags/${tag}`}>{tag}</TagListItem>}\n {i < tags.length - 1 ? ', ' : ''}\n </Fragment>\n )\n })}\n </ListContainer>\n )\n }\n}\n\nexport default TagList\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;","var setPrototypeOf = require(\"./setPrototypeOf\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct\");\n\nfunction _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n module.exports = _construct = Reflect.construct;\n } else {\n module.exports = _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\n\nmodule.exports = _construct;","import React from 'react'\nimport { graphql } from 'gatsby'\n\nimport Layout from '../components/layout'\nimport Content from '../components/Content'\nimport Wrapper from '../components/Wrapper'\nimport Hero from '../components/Hero'\nimport SEO from '../components/SEO'\nimport useSiteImages from '../hooks/use-site-images'\nimport useSiteMetadata from \"../hooks/use-site-config\"\n\nexport default props => {\n const page = props.data.page\n\n const { trees } = useSiteMetadata()\n const treesImage = useSiteImages(trees).fluid.src\n\n return (\n <Layout location={props.location}>\n <SEO\n title={page.frontmatter.seoTitle}\n description={page.frontmatter.seoContent}\n path={page.frontmatter.slug}\n cover={page.frontmatter.cover && page.frontmatter.cover.publicURL}\n />\n\n <Hero\n heroImg={page.frontmatter.cover && page.frontmatter.cover.publicURL}\n treesImg={treesImage}\n title={page.frontmatter.title}\n />\n\n <Wrapper>\n <article>\n <Content content={page.body} date={page.frontmatter.date} />\n </article>\n </Wrapper>\n </Layout>\n )\n}\n\nexport const pageQuery = graphql`\n query($slug: String!) {\n page: mdx(frontmatter: { slug: { eq: $slug } }) {\n body\n excerpt\n frontmatter {\n title\n seoTitle\n seoContent\n date(formatString: \"MMMM DD, YYYY\")\n slug\n disqus\n cover {\n publicURL\n }\n }\n }\n }\n`\n"],"sourceRoot":""}