mirror of
https://ghproxy.net/https://github.com/abhijitb/helix.git
synced 2025-08-28 06:26:00 +08:00
18 lines
489 B
React
18 lines
489 B
React
|
import React from 'react';
|
||
|
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
||
|
import Dashboard from './pages/Dashboard';
|
||
|
import Settings from './pages/Settings';
|
||
|
import TwoFA from './pages/TwoFA';
|
||
|
|
||
|
export default function App() {
|
||
|
return (
|
||
|
<Router>
|
||
|
<Routes>
|
||
|
<Route path="/" element={<Dashboard />} />
|
||
|
<Route path="/settings" element={<Settings />} />
|
||
|
<Route path="/2fa" element={<TwoFA />} />
|
||
|
</Routes>
|
||
|
</Router>
|
||
|
);
|
||
|
}
|