victor HF staff commited on
Commit
97b79b0
1 Parent(s): 7520956

1 image instead of a random one

Browse files
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"