Route boards to circuit-first editor

This commit is contained in:
Julian Appel 2026-07-22 19:23:30 +02:00
parent 7580ad0ade
commit 689cfd3c65
3 changed files with 82 additions and 18 deletions

View file

@ -11,18 +11,21 @@ export default function CircuitTreeEditPage() {
<main className="container py-4">
<div className="d-flex justify-content-between align-items-center mb-3">
<div>
<h1 className="h4 mb-1">Circuit Tree Editor</h1>
<p className="text-secondary mb-0">Basic editing for the circuit-first model.</p>
<h1 className="h4 mb-1">Stromkreisliste</h1>
<p className="text-secondary mb-0">Stromkreise und zugeordnete Geräte bearbeiten.</p>
</div>
<div className="d-flex gap-2">
<Link
href={`/projects/${params.projectId}/circuit-lists/${params.circuitListId}/tree`}
className="btn btn-outline-secondary btn-sm"
>
Read-only tree
Strukturvorschau
</Link>
<Link href={`/projects/${params.projectId}`} className="btn btn-outline-secondary btn-sm">
Zum Projekt
</Link>
<Link href={`/projects/${params.projectId}/circuit-lists`} className="btn btn-outline-secondary btn-sm">
Legacy editor
Legacy-Editor
</Link>
</div>
</div>