wu981526092 commited on
Commit
be62bc1
·
1 Parent(s): 9c55af2

✨ UPDATE LAYOUT AND ASSETS: Refactor layout component and refresh asset references

Browse files

✅ Changes made:
- Refactored the Layout component for improved code consistency and readability.
- Updated script reference in index.html to the latest version for enhanced functionality.
- Added new JavaScript and source map files to support updated features.

🛠️ These updates contribute to a more robust and visually appealing user interface across the application!

frontend/src/components/Layout.tsx CHANGED
@@ -1,5 +1,5 @@
1
- import { Outlet } from 'react-router-dom'
2
- import { Sidebar } from './Sidebar'
3
 
4
  export function Layout() {
5
  return (
@@ -8,11 +8,11 @@ export function Layout() {
8
  <div className="w-64 border-r">
9
  <Sidebar />
10
  </div>
11
-
12
  {/* Main content */}
13
- <div className="flex-1 overflow-hidden">
14
  <Outlet />
15
  </div>
16
  </div>
17
- )
18
  }
 
1
+ import { Outlet } from "react-router-dom";
2
+ import { Sidebar } from "./Sidebar";
3
 
4
  export function Layout() {
5
  return (
 
8
  <div className="w-64 border-r">
9
  <Sidebar />
10
  </div>
11
+
12
  {/* Main content */}
13
+ <div className="flex-1">
14
  <Outlet />
15
  </div>
16
  </div>
17
+ );
18
  }
static/assets/index-99602292.js ADDED
The diff for this file is too large to render. See raw diff
 
static/assets/index-99602292.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-5a0c6e64.js"></script>
9
  <link rel="stylesheet" href="/assets/index-851c8378.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-99602292.js"></script>
9
  <link rel="stylesheet" href="/assets/index-851c8378.css">
10
  </head>
11
  <body>