import React from 'react';
import { Auth0Provider } from '@auth0/auth0-react';
import { BrowserRouter, Routes, Route } from 'react-router-dom';
import Navigation from './components/Navigation';
import Deployments from './components/Deployments';
import Profile from './components/Profile';
import './App.css';

function App() {
  return (
    <Auth0Provider
      domain="dev-a3o2jif0.us.auth0.com"
      clientId="H1FcujzHs76LB99W7KcKQOEO9ThtlyLh"
      authorizationParams={{
        redirect_uri: window.location.origin
      }}
    >
      <BrowserRouter>
        <div className="app">
          <Navigation />
          <Routes>
            <Route path="/" element={<Deployments />} />
            <Route path="/profile" element={<Profile />} />
          </Routes>
        </div>
      </BrowserRouter>
    </Auth0Provider>
  );
}

export default App; 