<gh_stars>0
{"ast":null,"code":"var _this = this,\n    _jsxFileName = \"/mnt/d/code/react/basic-next-app/pages/index.js\";\n\nvar __jsx = React.createElement;\nimport React, { Component } from 'react';\nimport Link from 'next/link';\nimport Router from 'next/router';\n\nvar indexPage = function indexPage() {\n  return __jsx(\"div\", {\n    __self: _this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 6,\n      columnNumber: 5\n    }\n  }, __jsx(\"h1\", {\n    __self: _this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 7,\n      columnNumber: 9\n    }\n  }, \"The Main Page\"), __jsx(\"p\", {\n    __self: _this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 8,\n      columnNumber: 9\n    }\n  }, \"Go to \", __jsx(Link, {\n    href: \"/auth\",\n    __self: _this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 8,\n      columnNumber: 18\n    }\n  }, __jsx(\"a\", {\n    __self: _this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 8,\n      columnNumber: 37\n    }\n  }, \"Auth\")), \" \"), __jsx(\"button\", {\n    onClick: function onClick() {\n      return Router.push(\"/auth\");\n    },\n    __self: _this,\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 9,\n      columnNumber: 9\n    }\n  }, \"Go to Auth\"));\n};\n\nexport default indexPage;","map":{"version":3,"sources":["/mnt/d/code/react/basic-next-app/pages/index.js"],"names":["React","Component","Link","Router","indexPage","push"],"mappings":";;;;AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,OAAOC,MAAP,MAAmB,aAAnB;;AAEA,IAAMC,SAAS,GAAG,SAAZA,SAAY;AAAA,SACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBADJ,EAEI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAAS,MAAC,IAAD;AAAM,IAAA,IAAI,EAAC,OAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAnB,CAAT,MAFJ,EAGI;AAAQ,IAAA,OAAO,EAAE;AAAA,aAAMD,MAAM,CAACE,IAAP,CAAY,OAAZ,CAAN;AAAA,KAAjB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAHJ,CADc;AAAA,CAAlB;;AAQA,eAAeD,SAAf","sourcesContent":["import React, { Component } from 'react';\r\nimport Link from 'next/link';\r\nimport Router from 'next/router';\r\n\r\nconst indexPage = () => (\r\n    <div>\r\n        <h1>The Main Page</h1>\r\n        <p>Go to <Link href=\"/auth\"><a>Auth</a></Link> </p>\r\n        <button onClick={() => Router.push(\"/auth\")} >Go to Auth</button>\r\n    </div>\r\n);\r\n\r\nexport default indexPage;"]},"metadata":{},"sourceType":"module"}