import { Routes, Route } from "react-router-dom";
import Home from "./pages/Home";
import Programm from "./pages/Programm";
import ProgrammDetail from "./pages/ProgrammDetail";
import Speaker from "./pages/Speaker";
import SpeakerDetail from "./pages/SpeakerDetail";
import Tickets from "./pages/Tickets";

function App() {
  return (
    <Routes>
      <Route path="/" element={<Home />} />
      <Route path="/programm" element={<Programm />} />
      <Route path="/programm/:id" element={<ProgrammDetail />} />
      <Route path="/speaker" element={<Speaker />} />
      <Route path="/speaker/:slug" element={<SpeakerDetail />} />
      <Route path="/tickets" element={<Tickets />} />
    </Routes>
  );
}

export default App;
