import React from "react";
import "./App.css";
import Navbar from './components/Navbar';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import Home from './pages/Home';
import Flights from './pages/Flights';
import Seasons from './pages/Seasons';



export default function App() 
{
  return(
    <div className='layout'>
      <Router>
        <Navbar />
        <Routes>
          <Route path='/'  element={<Home/>} />
          <Route path='/flights' element={<Flights/>} />
          <Route path='/seasons' element={<Seasons/>} />
        </Routes>
      </Router>
    </div>
  );
}
