Files
LazyPM/pkg/web/routes/index.templ
2026-02-02 14:16:08 +01:00

20 lines
401 B
Plaintext

package routes
import (
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/pkg/web/components"
)
type IndexProps struct {
Issues []*models.Issue
IssueList components.IssueListProps
}
templ Index(props IndexProps) {
@BaseLayout() {
<h1>Welcome to the Beads Test Application</h1>
<p>Here are current issues:</p>
@components.IssueList(props.IssueList)
}
}