victor HF Staff commited on
Commit
b239782
·
1 Parent(s): 7520956

1 image instead of a random one (#2)

Browse files

- 1 image instead of a random one (97b79b0f7f5287a1d3d96a529c22e9ed3030cf66)

Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -98,7 +98,7 @@
98
  <div class="group-hover:brightness-90 h-full">
99
  <template x-if="model.images[0]">
100
  <img
101
- :src="()=> ASSETS_URL + model.images[model.images.length * Math.random() | 0]"
102
  :alt="model.id"
103
  alt=""
104
  class="w-full h-full object-cover group-hover:scale-[1.01] transition"
 
98
  <div class="group-hover:brightness-90 h-full">
99
  <template x-if="model.images[0]">
100
  <img
101
+ :src="()=> ASSETS_URL + model.images[0]"
102
  :alt="model.id"
103
  alt=""
104
  class="w-full h-full object-cover group-hover:scale-[1.01] transition"