Add atribute on click in the image on Projects

This commit is contained in:
Osmandi 2020-09-06 14:05:00 -05:00
parent 8614d33c22
commit 9caf7456d5
1 changed files with 4 additions and 2 deletions

View File

@ -96,11 +96,13 @@
>
{{ range $data.project.list }}
<div class="w-full rounded overflow-hidden shadow-lg">
<a href="{{ .url }}" target="_blank">
<img
class="w-full h-48"
src="{{ .image }}"
alt="Sunset in the mountains"
/>
</a>
<div class="px-6 py-4">
<div class="font-bold text-xl mb-2">{{ .title }}</div>
<p class="text-gray-700 text-base">