import { BrowserRouter, Routes, Route } from 'react-router-dom';
import Daily from './pages/Daily';
import AddEntry from './pages/AddEntry';
import EntryDetail from './pages/EntryDetail';

export default function App() {
  return (
    <BrowserRouter>
      <Routes>
        <Route path="/" element={<Daily />} />
        <Route path="/add" element={<AddEntry />} />
        <Route path="/entry/:id" element={<EntryDetail />} />
      </Routes>
    </BrowserRouter>
  );
}
