style tweaks

This commit is contained in:
bronku 2026-11-08 10:59:42 +01:00
parent 5aaf41d8c6
commit 2134b9a05f
2 changed files with 30 additions and 0 deletions

View file

@ -2,6 +2,19 @@ package html
import "piekarnikgosipl/types"
// templ card-swieta(product types.Product) {
// <div class="card">
// <div>
// @AvifImage("wyroby/"+product.Image+".avif", product.Name, true)
// </div>
// <div>
// <h3>{ product.Name }</h3>
// <span>{ product.Price }zł</span>
// <p>{ product.Description }</p>
// </div>
// </div>
// }
templ Swieta(products []types.Product) {
@layout("swieta") {
<main tabindex="-1" id="swieta">