Add basic frontend: sidebar, views and inventory table
CI / basic-check (push) Has been cancelled

This commit is contained in:
Perplexity Bot
2026-08-03 22:06:00 +00:00
parent 00ecb1862d
commit 871f4d0547
11 changed files with 373 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
import { Sidebar } from './Sidebar';
import type { ViewKey } from '../types';
interface Props {
current: ViewKey;
onNavigate: (v: ViewKey) => void;
children: React.ReactNode;
}
export function AppLayout({ current, onNavigate, children }: Props) {
return (
<div className="app">
<Sidebar current={current} onChange={onNavigate} />
<main className="main">
{children}
</main>
</div>
);
}