mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
1 line
9.4 KiB
JSON
1 line
9.4 KiB
JSON
|
{"ast":null,"code":"var _jsxFileName = \"/app/src/App.js\";\nimport { Route, Switch, withRouter } from 'react-router-dom';\nimport Home from './Pages/Home';\nimport About from './Pages/About';\nimport Profile from './Pages/Profile';\nimport Artist from './Pages/Artist';\nimport Album from './Pages/Album';\nimport AlbumEdit from './Pages/AlbumEdit';\nimport ArtistEdit from './Pages/ArtistEdit';\nimport Track from './Pages/Track';\nimport Recent from './Pages/Recent';\nimport User from './Pages/User';\nimport Admin from './Pages/Admin';\nimport Login from './Pages/Login';\nimport Register from './Pages/Register';\nimport Reset from './Pages/Reset';\nimport Navigation from './Components/Navigation';\nimport 'bootstrap/dist/css/bootstrap.min.css';\nimport './App.css';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst App = () => {\n let boolTrue = true; // Remove loading spinner on load\n\n const el = document.querySelector(\".loader-container\");\n\n if (el) {\n el.remove();\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [/*#__PURE__*/_jsxDEV(Navigation, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Switch, {\n children: [/*#__PURE__*/_jsxDEV(Route, {\n exact: boolTrue,\n path: [\"/\", \"/home\"],\n component: Home\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/about\",\n component: About\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/recent\",\n component: Recent\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/user\",\n component: User\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/u/:uuid\",\n component: Profile\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/artist/:uuid/edit\",\n component: ArtistEdit\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 41,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/artist/:uuid\",\n component: Artist\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 42,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/album/:uuid/edit\",\n component: AlbumEdit\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/album/:uuid\",\n component: Album\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 44,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/track/:uuid\",\n component: Track\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 45,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/admin\",\n component: Admin\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/login\",\n component: Login\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 49,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/register\",\n component: Register\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 50,\n columnNumber: 11\
|