fix(gallery): config
This commit is contained in:
@@ -11,7 +11,8 @@ templ GallerySet(g gallery.Set) {
|
||||
>
|
||||
for _,img := range g.SM.Images {
|
||||
<img
|
||||
src={ "/images/" + img.UID }
|
||||
src={ "/images/" + img.UID + "?w=600" }
|
||||
loading="lazy"
|
||||
class="w-full"
|
||||
alt="Gallery item"
|
||||
/>
|
||||
@@ -39,7 +40,8 @@ templ Gallery(g gallery.Gallery) {
|
||||
class="overflow-hidden shadow-sm"
|
||||
>
|
||||
<img
|
||||
src={ "/images/" + img.UID }
|
||||
src={ "/images/" + img.UID + "?w=800" }
|
||||
loading="lazy"
|
||||
class="w-full h-full object-cover"
|
||||
alt="Gallery item"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user