add edit issue button and modal

This commit is contained in:
Robin Olsen
2026-02-25 11:53:56 +01:00
parent f28ab4be78
commit 87d4cdae3f
14 changed files with 233 additions and 135 deletions

View File

@@ -17,6 +17,7 @@ templ Layout(props LayoutProps) {
<main class="flex-1 p-1 overflow-auto">
{ children... }
</main>
@props.Modal
</div>
</body>
</html>
@@ -28,6 +29,7 @@ type LayoutProps struct {
Head HeadProps
Header HeaderProps
Routes []NavRoutes
Modal templ.Component
}
type NavRoutes struct {
Name string