import { BrowserRouter, Routes, Route } from 'react-router-dom';
import CounterLayout from './layouts/CounterLayout';
import FastEntryPage from './pages/FastEntryPage';
import CashRegisterPage from './pages/CashRegisterPage';

function App() {
  return (
    <BrowserRouter>
      <Routes>
        <Route element={<CounterLayout />}>
          <Route path="/" element={<FastEntryPage />} />
          <Route path="/cash-register" element={<CashRegisterPage />} />
        </Route>
      </Routes>
    </BrowserRouter>
  );
}

export default App;