add old frontend code back

This commit is contained in:
2025-05-28 14:49:09 +02:00
parent 59fb65d377
commit 96574efcdc
33 changed files with 4618 additions and 11082 deletions

View File

@@ -0,0 +1,14 @@
// layout/MainLayout.jsx
import Sidebar from '../components/Sidebar'
import { Outlet } from 'react-router-dom';
const MainLayout = () => (
<div className="flex">
<Sidebar />
<div className="flex-1 p-4">
<Outlet /> {/* This renders the nested route content */}
</div>
</div>
);
export default MainLayout;