import { Routes, Route, Link } from 'react-router-dom'
import './App.css'
import Dashboard from './pages/Dashboard'

export default function App() {
  return (
    <div>
      <nav style={{ padding: 12, borderBottom: '1px solid rgba(0,0,0,0.06)' }}>
        <Link to="/">Tableau de bord</Link>
      </nav>

      <main style={{ padding: 12 }}>
        <Routes>
          <Route path="/" element={<Dashboard />} />
        </Routes>
      </main>
    </div>
  )
}
