-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
43 lines (41 loc) · 1.66 KB
/
App.tsx
File metadata and controls
43 lines (41 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import { AuthProvider } from "./context/AuthContext";
import { UserPlanProvider } from "./context/UserPlanContext";
import LandingPage from "./pages/LandingPage";
import CortexRuntime from "./pages/CortexRuntime";
import Login from "./pages/Login";
import SignUp from "./pages/SignUp";
import MyLibrary from "./pages/MyLibrary";
import ExploreAgents from "./pages/ExploreAgents";
import BillingSettings from "./pages/BillingSettings";
import ErrorBoundary from "./ErrorBoundary";
import Terms from "./pages/Terms";
import Privacy from "./pages/Privacy";
import Contact from "./pages/Contact";
function App() {
return (
<div className="bg-charcoal min-h-screen text-offwhite font-inter">
<ErrorBoundary>
<Router>
<AuthProvider>
<UserPlanProvider>
<Routes>
<Route path="/" element={<LandingPage />} />
<Route path="/runtime" element={<CortexRuntime />} />
<Route path="/login" element={<Login />} />
<Route path="/signup" element={<SignUp />} />
<Route path="/library" element={<MyLibrary />} />
<Route path="/explore" element={<ExploreAgents />} />
<Route path="/billing" element={<BillingSettings />} />
<Route path="/contact" element={<Contact />} />
<Route path="/terms" element={<Terms />} />
<Route path="/privacy" element={<Privacy />} />
</Routes>
</UserPlanProvider>
</AuthProvider>
</Router>
</ErrorBoundary>
</div>
);
}
export default App;