Refactor project structure

This commit is contained in:
2025-07-26 11:37:28 +02:00
parent 1fb6b7c212
commit f337a3efe2
48 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
import { Button } from "@/components/ui/button";
import { HelpCircle } from "lucide-react";
interface HeaderProps {
onCreateInstance: () => void;
onShowSystemInfo: () => void;
}
function Header({ onCreateInstance, onShowSystemInfo }: HeaderProps) {
return (
<header className="bg-white border-b border-gray-200">
<div className="container mx-auto max-w-4xl px-4 py-4">
<div className="flex items-center justify-between">
<h1 className="text-2xl font-bold text-gray-900">
LlamaCtl Dashboard
</h1>
<div className="flex items-center gap-2">
<Button onClick={onCreateInstance}>Create Instance</Button>
<Button
variant="outline"
size="icon"
onClick={onShowSystemInfo}
title="System Info"
>
<HelpCircle className="h-4 w-4" />
</Button>
</div>
</div>
</div>
</header>
);
}
export default Header;