import { Routes, Route } from 'react-router-dom';
import AuthGate from './components/AuthGate';
import LoginPage from './pages/LoginPage';
import PartnerAppRoutes from './PartnerAppRoutes';

export default function App() {
  return (
    <AuthGate>
      <Routes>
        <Route path="/login" element={<LoginPage />} />
        <Route path="/*" element={<PartnerAppRoutes />} />
      </Routes>
    </AuthGate>
  );
}
