Commit
·
d76b163
1
Parent(s):
613b7f2
� CRITICAL FIX: Add missing Technology route in App.tsx
Browse files- Import Technology component in App.tsx
- Add /technology route configuration
- Technology page was rendering blank due to missing route
- Now Technology page displays correctly when navigated to
✅ Fixes blank page issue when clicking Technology in navigation
- frontend/src/App.tsx +4 -0
- static/assets/index-4c23bd8f.js +0 -0
- static/assets/index-4c23bd8f.js.map +0 -0
- static/index.html +1 -1
frontend/src/App.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'
|
| 2 |
import { Layout } from './components/Layout'
|
| 3 |
import { Landing } from './pages/Landing'
|
|
|
|
| 4 |
import { Templates } from './pages/Templates'
|
| 5 |
import { Playground } from './pages/Playground'
|
| 6 |
import { Models } from './pages/Models'
|
|
@@ -13,6 +14,9 @@ function App() {
|
|
| 13 |
{/* Landing page without sidebar */}
|
| 14 |
<Route path="/" element={<Landing />} />
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
{/* App pages with sidebar layout */}
|
| 17 |
<Route path="/" element={<Layout />}>
|
| 18 |
<Route path="templates" element={<Templates />} />
|
|
|
|
| 1 |
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'
|
| 2 |
import { Layout } from './components/Layout'
|
| 3 |
import { Landing } from './pages/Landing'
|
| 4 |
+
import { Technology } from './pages/Technology'
|
| 5 |
import { Templates } from './pages/Templates'
|
| 6 |
import { Playground } from './pages/Playground'
|
| 7 |
import { Models } from './pages/Models'
|
|
|
|
| 14 |
{/* Landing page without sidebar */}
|
| 15 |
<Route path="/" element={<Landing />} />
|
| 16 |
|
| 17 |
+
{/* Technology page without sidebar */}
|
| 18 |
+
<Route path="/technology" element={<Technology />} />
|
| 19 |
+
|
| 20 |
{/* App pages with sidebar layout */}
|
| 21 |
<Route path="/" element={<Layout />}>
|
| 22 |
<Route path="templates" element={<Templates />} />
|
static/assets/index-4c23bd8f.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
static/assets/index-4c23bd8f.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
static/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>Edge LLM</title>
|
| 8 |
-
<script type="module" crossorigin src="/assets/index-
|
| 9 |
<link rel="stylesheet" href="/assets/index-fe9a1abd.css">
|
| 10 |
</head>
|
| 11 |
<body>
|
|
|
|
| 5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>Edge LLM</title>
|
| 8 |
+
<script type="module" crossorigin src="/assets/index-4c23bd8f.js"></script>
|
| 9 |
<link rel="stylesheet" href="/assets/index-fe9a1abd.css">
|
| 10 |
</head>
|
| 11 |
<body>
|