-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-home-index-js-1f2ea151a0e2e2dfb5cb.js.map
1 lines (1 loc) · 13.7 KB
/
component---src-pages-home-index-js-1f2ea151a0e2e2dfb5cb.js.map
1
{"version":3,"sources":["webpack:///./.cache/gatsby-browser-entry.js","webpack:///./src/components/gLink/index.js","webpack:///./src/pages/home/index.js","webpack:///./src/utils/device.js","webpack:///./src/components/container/index.js","webpack:///./src/components/innerContainer/index.js","webpack:///./src/components/heading/index.js","webpack:///./src/components/aLink/index.js","webpack:///./src/components/logo/index.js","webpack:///./.cache/public-page-renderer.js","webpack:///./static/cover.png","webpack:///./.cache/public-page-renderer-prod.js"],"names":["React","createContext","PropTypes","object","string","isRequired","func","GLink","styled","Link","withConfig","displayName","componentId","color","space","TextContainer","div","BottomLinksContainer","device","mobileS","mobileL","__webpack_exports__","react_default","a","createElement","container","background","cover","full","bg","innerContainer","logo","heading","title","aLink","mr","href","target","gLink","to","__webpack_require__","d","size","mobileM","tablet","laptop","laptopL","desktop","desktopL","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","styled_components__WEBPACK_IMPORTED_MODULE_1__","styled_system__WEBPACK_IMPORTED_MODULE_2__","Container","props","_ref","children","id","_utils_device__WEBPACK_IMPORTED_MODULE_2__","InnerContainer","Heading","h1","fontSize","HeadingsContainer","mb","styled_components__WEBPACK_IMPORTED_MODULE_0__","styled_system__WEBPACK_IMPORTED_MODULE_1__","ALink","Logo","svg","black","width","height","viewBox","xmlns","m","module","exports","require","default","p","ProdPageRenderer","location","pageResources","loader","getResourcesForPathnameSync","pathname","InternalPageRenderer","Object","assign","json","propTypes","shape"],"mappings":"qOAY2BA,IAAMC,cAAc,IA0CvCC,IAAUC,OACTD,IAAUE,OAAOC,WAChBH,IAAUI,KACRJ,IAAUI,KCrDtB,IAgBeC,EAhBDC,YAAOC,KAAVC,WAAA,CAAAC,YAAA,eAAAC,YAAA,YAAGJ,CAAH,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IAAAiC,EAAA1B,EAAA,KAAA2B,EAAA3B,EAAA,KAGM4B,EAAQ5D,IAAOe,EAAVb,WAAA,CAAAC,YAAA,eAAAC,YAAA,eAAGJ,CAAH,6MAKcK,IACrBA,IACAC,KASWsD,wCCnBf,IAAAnB,EAAAT,EAAA,GAAAU,EAAAV,EAAAW,EAAAF,GAGMoB,EAHN7B,EAAA,KAGahC,EAAO8D,IAAV5D,WAAA,CAAAC,YAAA,aAAAC,YAAA,gBAAGJ,CAAH,kEAKA,SAAA+C,GAAK,OAAKA,EAAMgB,MAAQ,mBAAqB,UAGxClD,EAAA,WAACkC,EAAOgB,GAAR,OACbrB,EAAA3B,EAAAC,cAAC6C,EAAD,CACEG,MAAM,KACNC,OAAO,KACPC,QAAQ,YACRH,MAAOhB,EAAMgB,MACbI,MAAM,8BAENzB,EAAA3B,EAAAC,cAAA,QAAMiB,EAAE,kNACRS,EAAA3B,EAAAC,cAAA,QAAMiB,EAAE,2UCpBZ,IAAsBmC,EAKpBC,EAAOC,SALaF,EAKWG,EAAQ,OALRH,EAAEI,SAAYJ,uBCA/CC,EAAAC,QAAiBtC,EAAAyC,EAAuB,sJCMlCC,EAAmB,SAAA1B,GAAkB,IAAf2B,EAAe3B,EAAf2B,SACpBC,EAAgBC,UAAOC,4BAA4BH,EAASI,UAClE,OAAOvF,IAAMwB,cAAcgE,IAApBC,OAAAC,OAAA,CACLP,WACAC,iBACGA,EAAcO,QAIrBT,EAAiBU,UAAY,CAC3BT,SAAUjF,IAAU2F,MAAM,CACxBN,SAAUrF,IAAUE,OAAOC,aAC1BA,YAGU6E","file":"component---src-pages-home-index-js-1f2ea151a0e2e2dfb5cb.js","sourcesContent":["import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Link, {\n withPrefix,\n navigate,\n push,\n replace,\n navigateTo,\n parsePath,\n} from \"gatsby-link\"\nimport PageRenderer from \"./public-page-renderer\"\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\nconst useStaticQuery = query => {\n if (\n typeof React.useContext !== `function` &&\n process.env.NODE_ENV === `development`\n ) {\n throw new Error(\n `You're likely using a version of React that doesn't support Hooks\\n` +\n `Please update React and ReactDOM to 16.8.0 or later to use the useStaticQuery hook.`\n )\n }\n const context = React.useContext(StaticQueryContext)\n if (context[query] && context[query].data) {\n return context[query].data\n } else {\n throw new Error(\n `The result of this StaticQuery could not be fetched.\\n\\n` +\n `This is likely a bug in Gatsby and if refreshing the page does not fix it, ` +\n `please open an issue in https://github.com/gatsbyjs/gatsby/issues`\n )\n }\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 useStaticQuery,\n}\n","import styled from \"styled-components\";\nimport { color, space } from \"styled-system\";\nimport { Link } from \"gatsby\";\n\nconst GLink = styled(Link)`\n text-decoration: none;\n border-bottom: 1px;\n padding-bottom: 3px;\n border-bottom-style: solid;\n border-bottom-color: ${color};\n ${color}\n ${space}\n transition: 500ms ease-out;\n &:hover {\n opacity: 0.6;\n border-bottom: 1px;\n padding-bottom: 1px;\n }\n`;\n\nexport default GLink;\n","import React from \"react\";\nimport Container from \"../../components/container\";\nimport InnerContainer from \"../../components/innerContainer\";\nimport Logo from \"../../components/logo\";\nimport styled from \"styled-components\";\nimport cover from \"../../../static/cover.png\";\nimport ALink from \"../../components/aLink\";\nimport GLink from \"../../components/gLink\";\nimport Heading from \"../../components/heading\";\nimport { device } from \"../../utils/device\";\n\nconst TextContainer = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: space-between;\n`;\nconst HeadingsContainer = styled.div`\n @media ${device.mobileS} {\n width: 100%;\n }\n\n @media ${device.mobileL} {\n width: 90%;\n }\n`;\n\nconst BottomLinksContainer = styled.div`\n height: 20px;\n`;\n\nexport default () => (\n <Container background={cover} full bg='black'>\n <InnerContainer>\n <Logo />\n <TextContainer>\n <Heading color=\"white\" title='Clarity is making communication a common good through open source and decentralisation.' />\n <BottomLinksContainer>\n <ALink\n mr={3}\n color='white'\n href='https://spectrum.chat/embrace-clarity/general/how-to-contribute-design-code-ideas~d1a95605-b63a-497e-9cf7-416323953e77'\n target='_blank'\n >\n Contribute\n </ALink>\n <GLink mr={3} color='white' to='/#more'>\n Explore the project\n </GLink>\n </BottomLinksContainer>\n </TextContainer>\n </InnerContainer>\n </Container>\n);\n","const size = {\n mobileS: \"320px\",\n mobileM: \"375px\",\n mobileL: \"425px\",\n tablet: \"768px\",\n laptop: \"1024px\",\n laptopL: \"1440px\",\n desktop: \"2560px\",\n}\n\nexport const device = {\n mobileS: `(min-width: ${size.mobileS})`,\n mobileM: `(min-width: ${size.mobileM})`,\n mobileL: `(min-width: ${size.mobileL})`,\n tablet: `(min-width: ${size.tablet})`,\n laptop: `(min-width: ${size.laptop})`,\n laptopL: `(min-width: ${size.laptopL})`,\n desktop: `(min-width: ${size.desktop})`,\n desktopL: `(min-width: ${size.desktop})`,\n}\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { color } from \"styled-system\";\n\nconst Container = styled.div`\n height: ${props => (props.full ? \"100vh\" : \"none\")};\n display: flex;\n flex-direction: column;\n background-image: url(${props => props.background});\n background-size: cover;\n background-position: center;\n ${color}\n`;\n\nexport default ({ children, background, bg, id, full }) => (\n <Container bg={bg} background={background} id={id} full={full}>\n {children}\n </Container>\n);\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { device } from \"../../utils/device\";\n\nconst InnerContainer = styled.div`\n flex-direction: column;\n align-items: flex-start;\n max-width: 1024px;\n flex: 1;\n display: flex;\n\n @media ${device.mobileS} {\n padding: 1.5em;\n }\n\n @media ${device.laptop} {\n padding: 4em;\n }\n`;\n\nexport default ({ children, full }) => (\n <InnerContainer full={full}>{children}</InnerContainer>\n);\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { color, space, fontSize } from \"styled-system\";\n\nconst Heading = styled.h1`\n ${fontSize}\n ${color}\n ${space}\n`;\n\nconst HeadingsContainer = styled.div`\n max-width: 700px;\n`;\n\nexport default ({ title, color }) => (\n <HeadingsContainer>\n <Heading color={color} mb={6} fontSize={[2, 3]}>\n {title}\n </Heading>\n </HeadingsContainer>\n);\n","import styled from \"styled-components\";\nimport { color, space } from \"styled-system\";\n\nconst ALink = styled.a`\n text-decoration: none;\n border-bottom: 1px;\n padding-bottom: 3px;\n border-bottom-style: solid;\n border-bottom-color: ${color};\n ${color}\n ${space}\n transition: 500ms ease-out;\n &:hover {\n opacity: 0.6;\n border-bottom: 1px;\n padding-bottom: 1px;\n }\n`;\n\nexport default ALink;\n","import React from \"react\"\nimport styled from \"styled-components\"\n\nconst Logo = styled.svg`\n flex: none;\n width: 48px;\n height: 48px;\n margin-bottom: 48px;\n fill: ${props => (props.black ? \"rgba(0,0,0, 0.2)\" : \"white\")};\n`\n\nexport default (props, black) => (\n <Logo\n width=\"48\"\n height=\"75\"\n viewBox=\"0 0 48 75\"\n black={props.black}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M10.9565 24H0.173889C0.173889 10.8412 10.8412 0.173889 24 0.173889C37.1588 0.173889 47.8261 10.8412 47.8261 24H37.0435C37.0435 16.7963 31.2037 10.9565 24 10.9565C16.7963 10.9565 10.9565 16.7963 10.9565 24Z\" />\n <path d=\"M24 26.7826V37.5652C16.7963 37.5652 10.9565 43.405 10.9565 50.6087C10.9565 57.8124 16.7963 63.6521 24 63.6521C31.2037 63.6521 37.0435 57.8124 37.0435 50.6087H47.8261C47.8261 63.7674 37.1588 74.4347 24 74.4347C10.8412 74.4347 0.173889 63.7674 0.173889 50.6087C0.173889 37.4499 10.8412 26.7826 24 26.7826Z\" />\n </Logo>\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","module.exports = __webpack_public_path__ + \"static/cover-b200313b19ecdba7680aa74e4aadbaa0.png\";","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"],"sourceRoot":""}