MOVED frontend out of Vaadin/Spring

This commit is contained in:
2025-05-28 12:17:45 +02:00
parent c11346ec3b
commit 59fb65d377
18 changed files with 194 additions and 216 deletions

View File

@@ -0,0 +1,14 @@
// layout/MainLayout.jsx
import Sidebar from 'Frontend/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;