-
Notifications
You must be signed in to change notification settings - Fork 1
/
component---src-pages-404-js-1bc0da737d210ee11f2e.js.map
1 lines (1 loc) · 2.57 KB
/
component---src-pages-404-js-1bc0da737d210ee11f2e.js.map
1
{"version":3,"sources":["webpack:///./src/pages/404.js"],"names":["NotFound","onStart","_this","secuenceElement","exit","render","_this2","this","classes","props","react__WEBPACK_IMPORTED_MODULE_1___default","a","createElement","className","root","main","_components_Secuence__WEBPACK_IMPORTED_MODULE_7__","ref","_components_Text__WEBPACK_IMPORTED_MODULE_4__","_components_Link__WEBPACK_IMPORTED_MODULE_6__","href","_components_Button__WEBPACK_IMPORTED_MODULE_5__","onClick","React","PureComponent","propTypes","PropTypes","object","isRequired","withStyles","theme","flex","display","padding","margin","textAlign"],"mappings":"6LAqBMA,sJACJC,QAAU,WACRC,EAAKC,gBAAgBC,sCAGvBC,OAAA,WAAU,IAAAC,EAAAC,KACAC,EAAYD,KAAKE,MAAjBD,QAER,OACEE,EAAAC,EAAAC,cAAA,OAAKC,UAAWL,EAAQM,MACtBJ,EAAAC,EAAAC,cAAA,QAAMC,UAAWL,EAAQO,MACvBL,EAAAC,EAAAC,cAACI,EAAA,EAAD,CAAUC,IAAK,SAAAA,GAAG,OAAKX,EAAKH,gBAAkBc,IAC5CP,EAAAC,EAAAC,cAAA,UAAIF,EAAAC,EAAAC,cAACM,EAAA,EAAD,mBACJR,EAAAC,EAAAC,cAAA,SAAGF,EAAAC,EAAAC,cAACM,EAAA,EAAD,uEACHR,EAAAC,EAAAC,cAACO,EAAA,EAAD,CAAMC,KAAK,KACTV,EAAAC,EAAAC,cAACS,EAAA,EAAD,CAAQC,QAASf,KAAKN,SAAtB,uBAfSsB,IAAMC,eAwB7BxB,EAASyB,UAAY,CACnBjB,QAASkB,IAAUC,OAAOC,YAGbC,sBAxCA,SAAAC,GAAK,MAAK,CACvBhB,KAAM,CACJiB,KAAM,EACNC,QAAS,OACTC,QAAS,IAEXlB,KAAM,CACJmB,OAAQ,OACRC,UAAW,YAgCAN,CAAmB7B","file":"component---src-pages-404-js-1bc0da737d210ee11f2e.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { withStyles } from '../tools/withStyles';\nimport { Text } from '../components/Text';\nimport { Button } from '../components/Button';\nimport { Link } from '../components/Link';\nimport { Secuence } from '../components/Secuence';\n\nconst styles = theme => ({\n root: {\n flex: 1,\n display: 'flex',\n padding: 20\n },\n main: {\n margin: 'auto',\n textAlign: 'center'\n }\n});\n\nclass NotFound extends React.PureComponent {\n onStart = () => {\n this.secuenceElement.exit();\n }\n\n render () {\n const { classes } = this.props;\n\n return (\n <div className={classes.root}>\n <main className={classes.main}>\n <Secuence ref={ref => (this.secuenceElement = ref)}>\n <h1><Text>Not found</Text></h1>\n <p><Text>The location you are looking for was not found in the system.</Text></p>\n <Link href='/'>\n <Button onClick={this.onStart}>Go to Start</Button>\n </Link>\n </Secuence>\n </main>\n </div>\n );\n }\n}\n\nNotFound.propTypes = {\n classes: PropTypes.object.isRequired\n};\n\nexport default withStyles(styles)(NotFound);\n"],"sourceRoot":""}