import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
import Admin from './pages/Admin';
import Screen from './pages/Screen';
import './styles/tokens.css';

export default function App() {
  return (
    <BrowserRouter>
      <Routes>
        <Route path="/admin" element={<Admin />} />
        <Route path="/screen" element={<Screen />} />
        <Route path="*" element={<Navigate to="/screen" replace />} />
      </Routes>
    </BrowserRouter>
  );
}
