removed angular app and switched to react

This commit is contained in:
Boki 2025-06-15 20:17:02 -04:00
parent 56e3938561
commit 3a9d45c543
101 changed files with 2697 additions and 4075 deletions

View file

@ -0,0 +1,23 @@
import { useState, ReactNode } from 'react';
import { Sidebar } from './Sidebar';
import { Header } from './Header';
interface LayoutProps {
children: ReactNode;
title?: string;
}
export function Layout({ children, title }: LayoutProps) {
const [sidebarOpen, setSidebarOpen] = useState(false);
return (
<div className="h-full">
<Sidebar sidebarOpen={sidebarOpen} setSidebarOpen={setSidebarOpen} />
<Header setSidebarOpen={setSidebarOpen} title={title} />
<main className="py-4 lg:pl-60 w-full">
<div className="px-4">{children}</div>
</main>
</div>
);
}