images for products

This commit is contained in:
Fabian Torsten Ecke
2023-08-10 23:09:24 +02:00
parent 829704b1a0
commit 380e8e243e
8 changed files with 11 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
<img src="{{ . }}">
{{ end }}
{{ with .video }}
<video class="slide-video" src="{{ . }}" controls autoplay loop></video>
<video class="slide-video" src="{{ . }}" autoplay loop></video>
<style>
.slide-video {
height: calc(100vh - 120px);
@@ -23,4 +23,4 @@
</div>
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>
</div>

View File

@@ -3,6 +3,7 @@
<h2 class="text-3xl">
{{ .Title }}
</h2>
<img src="{{ . }}" alt="-product-image-">
<p>{{ .Description }}</p>
</div>
</a>
</a>