1 line
6.3 KiB
JSON
1 line
6.3 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/Routing.js\";\nimport React, { Component } from 'react';\nimport { NavLink, Switch, BrowserRouter as Router, Route } from 'react-router-dom';\nimport App from './components/App';\nimport Manager from './components/Manager';\nimport Navigationbar from './components/Navigationbar';\nimport { CookiesProvider } from 'react-cookie';\nimport TaskList from './components/TaskList';\nimport Simulator from './components/Simulator'; //import Final_login from './components/Final_login';\n\nvar Routing = /*#__PURE__*/function (_Component) {\n _inherits(Routing, _Component);\n\n function Routing() {\n _classCallCheck(this, Routing);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(Routing).apply(this, arguments));\n }\n\n _createClass(Routing, [{\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(CookiesProvider, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 7\n }\n }, /*#__PURE__*/React.createElement(Router, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 17\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 18\n }\n }, /*#__PURE__*/React.createElement(\"switch\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 23\n }\n }, /*#__PURE__*/React.createElement(Route, {\n path: \"/progress\",\n component: Manager,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 23\n }\n }), /*#__PURE__*/React.createElement(Route, {\n path: \"/tasks\",\n component: TaskList,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 23\n }\n }), /*#__PURE__*/React.createElement(Route, {\n path: \"/simulator\",\n component: Simulator,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 23\n }\n }), /*#__PURE__*/React.createElement(Route, {\n path: \"/\",\n exact: true,\n component: App,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 23\n }\n })))));\n }\n }]);\n\n return Routing;\n}(Component);\n\nexport default Routing;","map":{"version":3,"sources":["/home/riddhi/simulation/Gazebo_simulation-Frontend/src/Routing.js"],"names":["React","Component","NavLink","Switch","BrowserRouter","Router","Route","App","Manager","Navigationbar","CookiesProvider","TaskList","Simulator","Routing"],"mappings":";;;;;;AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,SAASC,OAAT,EAAmBC,MAAnB,EAA2
|