diff --git a/assets/src/App.js b/assets/src/App.js index 16aa8b05..d59f31a1 100644 --- a/assets/src/App.js +++ b/assets/src/App.js @@ -1,98 +1,98 @@ /* This is the Open Access Check Tool (OACT). The publication of scientific articles as Open Access (OA), usually in the variants "Green OA" and "Gold OA", allows free access to scientific research results and their largely unhindered dissemination. Often, however, the multitude of available publication conditions makes the decision in favor of a particular journal difficult: requirements of the funding agencies and publication guidelines of the universities and colleges must be carefully compared with the offers of the publishing houses, and separately concluded publication agreements can also offer additional benefits. The "OA Compliance Check Tool" provides a comprehensive overview of the possible publication conditions for a large number of journals, especially for the Swiss university landscape, and thus supports the decision-making process. © All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, Scientific Information and Libraries, 2022 See LICENSE.TXT for more details. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ import React from "react"; import "./App.css" import SearchFilterFields from './pages/SearchFilterFields' import Footer from './components/layout/Footer' import About from "./pages/About" import Help from "./pages/Help" import Noresult from "./pages/Noresult" -import {Switch, Route } from "react-router-dom" +import {Routes, Route } from "react-router-dom" import Box from '@material-ui/core/Box' import MenuAppBar from "./components/layout/MenuAppBar" import { makeStyles } from '@material-ui/core/styles'; const useStyles = makeStyles((theme) => ({ root: { flexGrow: 1, }, })); function App () { const classes = useStyles(); return(
- + { window.location.href = '/api/'; return null; }}/> { window.location.href = '/api/openapi'; return null; }}/> { window.location.href = '/admin/'; return null; }}/> { window.location.href = '/styleguide/index.html'; return null; }}/> { window.location.href = '/sphinx/index.html'; return null; }}/> - +
) } export default App \ No newline at end of file