This commit is contained in:
bronkuu 2026-05-27 15:28:52 +02:00
parent ef48719cf5
commit c489aa7f3d
6 changed files with 16 additions and 6 deletions

View file

@ -18,10 +18,10 @@ templ card(product types.Product) {
</div>
}
templ WyrobyCiasta(products []types.Product) {
templ Wyroby(products []types.Product, page string) {
@layout("wyroby") {
<main>
@wyrobyHeader("wyroby")
@wyrobyHeader(page)
<div id="wyroby">
for _, product:= range products {
@card(product)