Skip to content

Commit 5139195

Browse files
committed
Refactor code structure for improved readability and maintainability
1 parent d4a2417 commit 5139195

2 files changed

Lines changed: 1305 additions & 0 deletions

File tree

frontend/src/App.jsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { setAuthTokenGetter } from './utils/api';
66
import Navbar from './components/Navbar';
77
import Footer from './components/Footer';
88
import HomePage from './pages/HomePage';
9+
import DocsPage from './pages/DocsPage';
910
import DashboardLayout from './pages/DashboardLayout';
1011
import DashboardOverview from './pages/DashboardOverview';
1112
import ApiKeysPage from './pages/ApiKeysPage';
@@ -87,6 +88,18 @@ function App() {
8788
}
8889
/>
8990

91+
{/* Docs Route - Public */}
92+
<Route
93+
path="/docs"
94+
element={
95+
<>
96+
<Navbar />
97+
<DocsPage />
98+
<Footer />
99+
</>
100+
}
101+
/>
102+
90103
{/* Auth Routes */}
91104
<Route
92105
path="/sign-in/*"

0 commit comments

Comments
 (0)