-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-contact-js-cb2d561e1827b327021d.js.map
1 lines (1 loc) · 12.1 KB
/
component---src-pages-contact-js-cb2d561e1827b327021d.js.map
1
{"version":3,"sources":["webpack:///./src/components/header.module.css","webpack:///./src/components/patchwork.module.css","webpack:///./src/pages/contact.js","webpack:///./src/components/navigator.module.css","webpack:///./src/components/block.js","webpack:///./src/components/navigator.js","webpack:///./src/components/header.js","webpack:///./src/components/content-layout.js","webpack:///./src/components/content.js","webpack:///./src/components/colors.js","webpack:///./src/components/content.module.css","webpack:///./src/components/content-header.js","webpack:///./src/components/block.module.css"],"names":["module","exports","Contact","render","page","color","COLORS","c2","React","Component","SmallBlock","props","handleScroll","bind","componentDidMount","window","addEventListener","this","scrollAction","componentWillUnmount","removeEventListener","textDecoration","localeCompare","children","undefined","to","className","style","blockLink","backgroundColor","paddingTop","Navigator","collapseWithScroll","state","rootFontSize","parseFloat","getComputedStyle","document","body","getPropertyValue","topDistance","pageYOffset","documentElement","scrollTop","setState","toString","navigator","main","c1","c3","Header","header","navigatorWrapper","ContentLayout","title","patchwork","siteTitle","patchworkFlex","patchworkTopSpacerTitle","contentSeparator","Children","map","child","cloneElement","Content","content","white","accent","ContentHeader","contentHeader","outline"],"mappings":"gFACAA,EAAOC,QAAU,CAAC,OAAS,+BAA+B,iBAAmB,4C,uBCA7ED,EAAOC,QAAU,CAAC,cAAgB,0CAA0C,wBAA0B,sDAAsD,sBAAwB,mDAAmD,KAAO,gCAAgC,iBAAmB,+C,wHCM3RC,E,gLACJC,OAAA,WACE,OACE,kBAAC,IAAD,CAAeC,KAAK,UAAUC,MAAOC,IAAOC,IAC1C,kBAAC,IAAD,6BACA,kBAAC,IAAD,KACE,4CACA,gD,GAPYC,IAAMC,WAcbP,a,qBCpBfF,EAAOC,QAAU,CAAC,UAAY,uC,wJCqCfS,E,oBAhCb,WAAYC,GAAQ,IAAD,SACjB,cAAMA,IAAN,MACKC,aAAe,E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CACE,yBAAKuB,UAAWC,IAAMgC,iBAAkBhC,MAAO,CAACE,gBAAiBZ,KAAKN,MAAMN,SAC5E,yBAAKqB,UAAWC,IAAMsC,SACnBhD,KAAKN,MAAMY,Y,GANef,IAAMC,Y,kCCK5BH,IATA,CACXyC,KAAM,UACNC,GAAI,UACJzC,GAAI,UACJ0C,GAAI,UACJiB,MAAO,UACPC,OAAQ,Y,qBCLZnE,EAAOC,QAAU,CAAC,QAAU,iCAAiC,cAAgB,wCAAwC,iBAAmB,6C,wHCGnHmE,E,gLACnBjE,OAAA,WACE,OACE,yBAAKuB,UAAWC,IAAM0C,cAAe1C,MAAO,CAAC2C,QAAYrD,KAAKN,MAAMN,MAAhB,eAClD,4BACGY,KAAKN,MAAMY,Y,GALqBf,IAAMC,Y,qBCHjDT,EAAOC,QAAU,CAAC,UAAY,kCAAkC,UAAY","file":"component---src-pages-contact-js-cb2d561e1827b327021d.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"header\":\"header-module--header--2Q3RK\",\"navigatorWrapper\":\"header-module--navigator-wrapper--2prub\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"patchworkFlex\":\"patchwork-module--patchwork-flex--2xknC\",\"patchworkTopSpacerTitle\":\"patchwork-module--patchwork-top-spacer-title--x8VbN\",\"patchworkBottomSpacer\":\"patchwork-module--patchwork-bottom-spacer--2jLY0\",\"main\":\"patchwork-module--main--2Ck1I\",\"contentSeparator\":\"patchwork-module--content-separator--1rUEi\"};","import React from \"react\"\nimport COLORS from \"../components/colors\"\n\nimport ContentLayout from \"../components/content-layout\"\nimport Content from \"../components/content\"\nimport ContentHeader from \"../components/content-header\"\n\nclass Contact extends React.Component {\n render() {\n return (\n <ContentLayout page='contact' color={COLORS.c2}>\n <ContentHeader>you'll never find me</ContentHeader>\n <Content>\n <p>i'm on email!</p>\n <p>i'm on github!</p>\n </Content>\n </ContentLayout>\n )\n }\n}\n\nexport default Contact","// extracted by mini-css-extract-plugin\nmodule.exports = {\"navigator\":\"navigator-module--navigator--26f47\"};","import React from \"react\"\nimport { Link } from \"gatsby\"\n\nimport style from \"./block.module.css\"\n\nclass SmallBlock extends React.Component {\n constructor(props) {\n super(props)\n this.handleScroll = this.handleScroll.bind(this)\n }\n\n componentDidMount() {\n window.addEventListener('scroll', this.props.scrollAction)\n // console.log('listening mounted')\n }\n\n componentWillUnmount() {\n window.removeEventListener('scroll', this.props.scrollAction)\n // console.log('listening unmounted')\n }\n\n handleScroll() {\n this.props.scrollAction()\n }\n\n render() {\n const textDecoration = !this.props.page.localeCompare(this.props.children) ? 'underline' : undefined;\n\n return (\n <Link to={this.props.to} className={style.blockLink} style={{backgroundColor: this.props.color, paddingTop: this.props.paddingTop, textDecoration: textDecoration}}>\n {/* <div className={style.blockText}> */}\n {this.props.children}\n {/* </div> */}\n </Link>\n )\n }\n}\n\nexport default SmallBlock","import React from \"react\"\nimport Block from \"./block\"\nimport COLORS from \"./colors\"\n\nimport style from \"./navigator.module.css\"\n\nclass Navigator extends React.Component {\n constructor(props) {\n super(props)\n this.collapseWithScroll = this.collapseWithScroll.bind(this)\n this.state = {paddingTop: \"6rem\"}\n }\n\n collapseWithScroll() {\n let rootFontSize = parseFloat(window.getComputedStyle(document.body).getPropertyValue('font-size'));\n let topDistance = (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0) / rootFontSize\n\n // console.log('currentPadding: ' + currentPadding.toString())\n // console.log('rootFontSize: ' + rootFontSize.toString())\n // console.log('topDistance: ' + topDistance.toString())\n if (topDistance <= 5.5) {\n this.setState({paddingTop: (6 - topDistance).toString() + \"rem\"})\n // console.log(this.state.paddingTop)\n }\n\n else if (topDistance > 5.5 && this.state.paddingTop.localeCompare(\".5rem\")) {\n this.setState({paddingTop: \".5rem\"})\n // console.log(this.state.paddingTop)\n }\n }\n\n render() {\n const paddingTop = this.state.paddingTop;\n\n return (\n <nav className={style.navigator}>\n <ul>\n {this.props.page !== undefined && !this.props.page.localeCompare('home') ? undefined : <li><Block page={this.props.page} color={COLORS.main} to=\"/\" scrollAction={this.collapseWithScroll} paddingTop={paddingTop}>home</Block></li>}\n <li><Block page={this.props.page} color={COLORS.c1} to=\"/about/\" scrollAction={this.collapseWithScroll} paddingTop={paddingTop}>about</Block></li>\n <li><Block page={this.props.page} color={COLORS.c2} to=\"/contact/\" scrollAction={this.collapseWithScroll} paddingTop={paddingTop}>contact</Block></li>\n <li><Block page={this.props.page} color={COLORS.c3} to=\"/blog/\" scrollAction={this.collapseWithScroll} paddingTop={paddingTop}>blog</Block></li>\n </ul>\n </nav>\n )\n }\n}\n\nexport default Navigator","import React from \"react\"\nimport Navigator from \"./navigator\"\n\n// const Header = ({ siteTitle }) => (\n// <header\n// style={{\n// background: `rebeccapurple`,\n// marginBottom: `1.45rem`,\n// }}\n// >\n// <div\n// style={{\n// margin: `0 auto`,\n// maxWidth: 960,\n// padding: `1.45rem 1.0875rem`,\n// }}\n// >\n// <h1 style={{ margin: 0 }}>\n// <Link\n// to=\"/\"\n// style={{\n// color: `white`,\n// textDecoration: `none`,\n// }}\n// >\n// {siteTitle}\n// </Link>\n// </h1>\n// </div>\n// </header>\n// )\n\n// Header.propTypes = {\n// siteTitle: PropTypes.string,\n// }\n\n// Header.defaultProps = {\n// siteTitle: ``,\n// }\n\nimport style from \"./header.module.css\"\n\nexport default class Header extends React.Component {\n render() {\n return(\n <header className={style.header}>\n <div className={style.navigatorWrapper}>\n <Navigator page={this.props.page}/>\n </div>\n </header>\n )\n }\n}\n// export default Header\n","import React from \"react\"\n\nimport Header from \"./header\"\n\nimport style from \"./patchwork.module.css\"\n\n// layout\nexport default class ContentLayout extends React.Component {\n render() {\n document.title = `${this.props.page} - patchwork`\n return(\n <div className={style.patchwork}>\n <Header siteTitle=\"patchwork\" page={this.props.page}></Header>\n <div className={style.patchworkFlex}>\n <div className={style.patchworkTopSpacerTitle}>\n {this.props.page}\n </div>\n <div className={style.contentSeparator} style={{backgroundColor: this.props.color}} />\n <main className={style.main}>\n {\n React.Children.map(this.props.children, child => {\n return React.cloneElement(child, {color: this.props.color})\n })\n }\n </main>\n </div>\n </div>\n )\n }\n}","import React from \"react\"\n\nimport style from \"./content.module.css\"\n\nexport default class Content extends React.Component {\n render() {\n return (\n <>\n <div className={style.contentSeparator} style={{backgroundColor: this.props.color}} />\n <div className={style.content}>\n {this.props.children}\n </div>\n </>\n )\n }\n}","const COLORS = {\n main: \"#FAF0E6\",\n c1: \"#B2E0F3\",\n c2: \"#FFC1C1\",\n c3: \"#B4D09F\",\n white: \"#ECE5E0\",\n accent: \"#FF9C6B\"\n}\n\nexport default COLORS","// extracted by mini-css-extract-plugin\nmodule.exports = {\"content\":\"content-module--content--3sEbK\",\"contentHeader\":\"content-module--content-header--1UhRL\",\"contentSeparator\":\"content-module--content-separator--hD67T\"};","import React from 'react'\n\nimport style from \"./content.module.css\"\n\nexport default class ContentHeader extends React.Component {\n render() {\n return (\n <div className={style.contentHeader} style={{outline: `${this.props.color} 4px solid`}}>\n <h1>\n {this.props.children}\n </h1>\n </div>\n )\n }\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"blockLink\":\"block-module--block-link--1V1Ua\",\"blockText\":\"block-module--block-text--31lIo\"};"],"sourceRoot":""}