import { Routes, Route, Navigate } from "react-router-dom";
import Fejlec from "./components/Fejlec";
import Menusav from "./components/Menusav";
import Fooldal from "./components/Fooldal";
import Eloadok from "./components/Eloadok";
import NewArtist from "./components/NewArtist";

function App() {
  return (
    <div>
      <Fejlec />
      <Menusav />
      <Routes>
        <Route path="/" element={<Eloadok />} />
        <Route path="/uj-eloado" element={<NewArtist />} />
        <Route path="*" element={<Navigate to="/" />} />
      </Routes>
    </div>
  );
}

export default App;
