Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/dc5ce533c2fd1f818637a9eb78a...

1 line
10 KiB
JSON

{"ast":null,"code":"import _classCallCheck from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport _possibleConstructorReturn from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf\";\nimport _inherits from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits\";\nvar _jsxFileName = \"/home/riddhi/simulation/Gazebo_simulation-Frontend/src/components/Navigationbar.js\";\nimport React, { Component } from 'react';\nimport { Nav, Navbar, Form, FormControl } from 'react-bootstrap';\nimport { NavLink, Link } from 'react-router-dom';\nimport styled from 'styled-components';\nimport './App.css';\nimport header from '../images/spiri_logo.jpg'; // Tell Webpack this JS file uses this image\n\nvar Navigationbar = /*#__PURE__*/function (_Component) {\n _inherits(Navigationbar, _Component);\n\n function Navigationbar() {\n _classCallCheck(this, Navigationbar);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(Navigationbar).apply(this, arguments));\n }\n\n _createClass(Navigationbar, [{\n key: \"render\",\n value: function render() {\n var isLoggedIn = this.props.isLoggedIn;\n console.log(\"Riddhi\", isLoggedIn);\n return /*#__PURE__*/React.createElement(\"div\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 7\n }\n }, /*#__PURE__*/React.createElement(Nav, {\n className: \"ml-auto\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 19\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n class: \"SpiriHeader\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 21\n }\n }, /*#__PURE__*/React.createElement(\"a\", {\n class: \"Brand\",\n href: \"/\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 35\n }\n }, /*#__PURE__*/React.createElement(\"img\", {\n align: \"left\",\n src: header,\n width: '70cm',\n height: '70cm',\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 37\n }\n }))), /*#__PURE__*/React.createElement(\"div\", {\n id: \"navbar\",\n class: \"navbar-collapse\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 33\n }\n }, /*#__PURE__*/React.createElement(\"ul\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 41\n }\n }, /*#__PURE__*/React.createElement(\"li\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 45\n }\n }, /*#__PURE__*/React.createElement(Link, {\n style: {\n textDecoration: 'none'\n },\n class: \"progress\",\n to: \"/progress\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 49\n }\n }, \"Progress\")), /*#__PURE__*/React.createElement(\"li\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 45\n }\n }, /*#__PURE__*/React.createElement(Link, {\n style: {\n textDecoration: 'none'\n },\n class: \"tasks\",\n to: \"/tasks\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 49\n }\n }, \"Tasks\")), /*#__PURE__*/React.createElement(\"li\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 45\n }\n }, /*#__PURE__*/React.createElement(Link, {\n style: {\n textDecoration: 'none'\n },\n class: \"tasks\",\n to: \"/\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 49\n }\n }, \"Simulator\")), /*#__PURE__*/React.createElement(\"li\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 45\n }\n }, /*#__PURE__*/React.createElement(NavLink, {\n style: {\n textDecoration: 'none'\n },\n onClick: this.props.submit,\n class: \"logout\",\n to: \"/\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 41,\n columnNumber: 47\n }\n }, \"Logout\"))))));\n }\n }]);\n\n return Navigationbar;\n}(Component);\n\nexport default Navigationbar;","map":{"version":3,"sources":["/home/riddhi/simulation/Gazebo_simulation-Frontend/src/components/Navigationbar.js"],"names":["React","Component","Nav","Navbar","Form","FormControl","NavLink","Link","styled","header","Navigationbar","isLoggedIn","props","console","log","textDecoration","submit"],"mappings":";;;;;;AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,SAASC,GAAT,EAAcC,MAAd,EAAsBC,IAAtB,EAA4BC,WAA5B,QAA+C,iBAA/C;AACA,SAASC,OAAT,EAAiBC,IAAjB,QAA6B,kBAA7B;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAO,WAAP;AACA,OAAOC,MAAP,MAAmB,0BAAnB,C,CAA+C;;IAEzCC,a;;;;;;;;;;;6BACI;AACN,UAAMC,UAAU,GAAG,KAAKC,KAAL,CAAWD,UAA9B;AACAE,MAAAA,OAAO,CAACC,GAAR,CAAY,QAAZ,EAAqBH,UAArB;AAEA,0BACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACY,oBAAC,GAAD;AAAK,QAAA,SAAS,EAAC,SAAf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACE;AAAK,QAAA,KAAK,EAAC,aAAX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACc;AA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AAAA;AAAA;AAAA;AAAA;AAAA,sBACE,oBAAC,OAAD;AAAS,QAAA,KAAK,EAAE;AAAEA,UAAAA,cAAc,EAAE;AAAlB,SAAhB;AAA4C,QAAA,OAAO,EAAE,KAAKH,KAAL,CAAWI,MAAhE;AAAwE,QAAA,KAAK,EAAC,QAA9E;AAAuF,QAAA,EAAE,EAAC,GAA1F;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBADF,CAlBJ,CADR,CANd,CADZ,CADF;AAsCH;;;;EA3C2Bf,S;;AA6C5B,eAAeS,aAAf","sourcesContent":["import React, { Component } from 'react';\nimport { Nav, Navbar, Form, FormControl } from 'react-bootstrap';\nimport { NavLink,Link } from 'react-router-dom';\nimport styled from 'styled-components';\nimport './App.css';\nimport header from '../images/spiri_logo.jpg'; // Tell Webpack this JS file uses this image\n \nclass Navigationbar extends Component { \n render(){\n const isLoggedIn = this.props.isLoggedIn;\n console.log(\"Riddhi\",isLoggedIn);\n \n return (\n <div> \n <Nav className=\"ml-auto\">\n <div class=\"SpiriHeader\">\n <a class=\"Brand\" href=\"/\">\n <img align=\"left\" src={header} width={'70cm'} height={'70cm'} /> \n </a> \n </div>\n <div id=\"navbar\" class=\"navbar-collapse\"> \n <ul>\n \n <li>\n <Link style={{ textDecoration: 'none' }} class=\"progress\" to=\"/progress\">\n Progress\n </Link>\n </li>\n \n <li>\n <Link style={{ textDecoration: 'none' }} class=\"tasks\" to=\"/tasks\">\n Tasks\n </Link>\n </li>\n <li>\n <Link style={{ textDecoration: 'none' }} class=\"tasks\" to=\"/\">\n Simulator\n </Link>\n </li>\n <li>\n <NavLink style={{ textDecoration: 'none' }} onClick={this.props.submit} class=\"logout\" to=\"/\">\n Logout\n </NavLink>\n </li> \n </ul> \n </div> \n </Nav>\n \n </div> \n); \n};\n}\nexport default Navigationbar;"]},"metadata":{},"sourceType":"module"}