image placement and sizes

This commit is contained in:
bronku 2026-06-08 16:30:50 +02:00
parent 0b3a99f097
commit be0867d3fa
3 changed files with 30 additions and 9 deletions

View file

@ -25,5 +25,5 @@ func ProcessImage(fileName string) string {
}
templ AvifImage(srcPath, alt string) {
<img src={ ProcessImage(srcPath) } alt={ alt }/>
<img class="wide" src={ ProcessImage(srcPath) } alt={ alt }/>
}